Skip to main content

Directory Commands

Agent directory management — register, remove, list, and edit agent entries.

genie dir add

Register an agent in the directory.
Terminal

Options

genie dir rm

Remove an agent from the directory.
Terminal
genie dir rm only removes the registry entry — the agent folder on disk is untouched. If the agent has active sessions or team memberships, stop those first (genie stop <name>, genie team fire <name>) before removing the entry, otherwise dispatch commands will fail to resolve it.

genie dir ls

List all registered agents or show details for a specific agent.
Terminal

genie dir edit

Update fields on an existing agent entry.
Terminal

genie dir sync

Sync directory entries from filesystem agent folders into the PostgreSQL registry.

genie agent register

Register an agent locally and auto-register in Omni (if configured).
Terminal

genie init agent

Scaffold a new agent in the workspace. Creates the agent directory structure with default configuration files.
Three related commands, one clear split:
  • genie init agent <name> — scaffolds the files (SOUL.md, HEARTBEAT.md). Use this when starting from scratch.
  • genie dir add <name> --dir <path> — registers an existing folder in the directory. Use this when the agent already lives on disk.
  • genie agent register <name> — registers locally and in Omni for cross-channel messaging. Use this when the agent should reply on WhatsApp, Slack, etc.

Scope

Agent entries can be stored at two levels: Use --global to target the global directory.
Register reusable, role-style agents (engineer, reviewer, qa) in the global directory so every repo picks them up. Keep repo-specific personas (e.g., a project mascot or domain expert) in the project directory so they don’t leak into unrelated work.

See also

Agents (concept)

How agents, roles, and providers relate.

Spawn & Lifecycle

Spawn the agents you’ve registered here.

Item Registry

Share agent definitions across machines via the registry.

Messaging

Message a registered agent from the CLI.