agent command runs an agent turn via the Gateway, and the agents command manages isolated agents with their own workspaces, authentication, and routing.
agent
Run an agent turn via the Gateway (use--local for embedded execution).
Message body for the agent
Recipient number in E.164 format used to derive the session key
Use an explicit session id
Agent id (overrides routing bindings)
Thinking level:
off, minimal, low, medium, or highPersist agent verbose level for the session:
on or offDelivery channel (omit to use the main session channel)
Delivery target override (separate from session routing)
Delivery channel override (separate from routing)
Delivery account id override
Run the embedded agent locally (requires model provider API keys in your shell)
Send the agent’s reply back to the selected channel
Output result as JSON
Override agent command timeout in seconds (default: 600 or config value)
Examples
agents
Manage isolated agents (workspaces, auth, and routing).agents list
List configured agents.Output JSON instead of text
Include routing bindings
agents add
Add a new isolated agent.Agent name (optional positional argument)
Workspace directory for the new agent
Model id for this agent
Agent state directory for this agent
Route channel binding (repeatable):
channel[:accountId]Disable prompts; requires
--workspaceOutput JSON summary
agents set-identity
Update an agent identity (name, theme, emoji, avatar).Agent id to update
Workspace directory used to locate the agent and
IDENTITY.mdExplicit
IDENTITY.md path to readRead values from
IDENTITY.mdIdentity name
Identity theme
Identity emoji
Identity avatar (workspace path, http(s) URL, or data URI)
Output JSON summary
agents delete
Delete an agent and prune workspace/state.Agent id to delete
Skip confirmation
Output JSON summary