Agent Commands
Top-level commands for managing agent lifecycle — spawning, stopping, listing, and inspecting agents.To register an agent in the directory before spawning, see
genie agent register.Agent Lifecycle at a Glance
genie spawn
Spawn a new agent in a tmux pane.
Terminal
engineer, reviewer, fixer, tracer, qa, docs.
Options
genie resume
Resume a stopped agent or all stopped agents.
Terminal
genie kill
Terminate an agent and its tmux pane.
Terminal
genie stop
Gracefully stop an agent (preserves state for resume).
Terminal
genie ls
List registered agents with runtime status.
Terminal
genie history
View a compressed summary of an agent’s session by parsing provider logs.
Terminal
Options
genie read
Read an agent’s current transcript or output.
Options
genie answer
Answer a question for an agent that is currently blocked at a prompt — picks the menu option, types text into a free-form input, or sends raw keystrokes. Genie inspects the agent’s pane state first; if no question is pending it logs No question pending and exits without acting.
string
required
Agent name (or any target the resolver accepts — pane id, session label, etc.).
string
required
How to answer. One of:
- Numeric (
1–9) — navigates to that menu option and presses Enter. text:<message>— selects the free-form text option, types<message>, and presses Enter.- Anything else — sent verbatim as keystrokes to the pane.
genie answer only acts when the pane is in a question state. To send a regular instruction to a working agent, use genie send.genie approval
Remote approval queue used by tmux-path agents that need a human (or another agent) to allow or deny a tool call before the provider proceeds. Approvals live in Postgres so any teammate with CLI access can resolve them.
request, resolve, list.
genie approval request
Create an approval request and (optionally) block until it is resolved. Used by agent runtimes when a tool needs out-of-band sign-off.
Terminal
genie approval resolve
Allow or deny a pending approval by id. The actor label is the value of GENIE_AGENT_NAME if set, otherwise the --by value.
Terminal
genie approval list
List pending approvals across the workspace, optionally filtered by agent.
Terminal
Workspace defaults for approvals (
permissions.timeout, permissions.defaultAction) are configured in the workspace config — see Configuration.