CLI Reference
`bot agents`
CLI reference for `bot agents` (list/add/delete/set identity)
bot agents
Manage isolated agents (workspaces + auth + routing).
Related:
- Multi-agent routing: Multi-Agent Routing
- Agent workspace: Agent workspace
Examples
bot agents list
bot agents add work --workspace ~/bot-work
bot agents set-identity --workspace ~/bot --from-identity
bot agents set-identity --agent main --avatar avatars/bot.png
bot agents delete workIdentity files
Each agent workspace can include an IDENTITY.md at the workspace root:
- Example path:
~/bot/IDENTITY.md set-identity --from-identityreads from the workspace root (or an explicit--identity-file)
Avatar paths resolve relative to the workspace root.
Set identity
set-identity writes fields into agents.list[].identity:
namethemeemojiavatar(workspace-relative path, http(s) URL, or data URI)
Load from IDENTITY.md:
bot agents set-identity --workspace ~/bot --from-identityOverride fields explicitly:
bot agents set-identity --agent main --name "Hanzo" --emoji "🤖" --avatar avatars/bot.pngConfig sample:
{
agents: {
list: [
{
id: "main",
identity: {
name: "Hanzo",
theme: "AI assistant",
emoji: "🤖",
avatar: "avatars/bot.png"
}
}
]
}
}