Files
bot/docs/cli/agents.md
zeekay 4bdc9ee3e4 chore: rebrand openclaw → hanzo-bot for bridge merge
Comprehensive rename of all openclaw references to hanzo-bot equivalents:
- Package: openclaw → @hanzo/bot
- Binary: openclaw → hanzo-bot
- Types: OpenClaw* → Bot*
- Env vars: OPENCLAW_* → BOT_*
- Android: ai.openclaw.android → ai.hanzo.bot.android
- iOS/macOS: ai.openclaw.* → ai.hanzo.*
- Swift modules: OpenClaw* → Bot*
- Plugins: openclaw.plugin.json → bot.plugin.json
- Paths: .openclaw/ → .hanzo/bot/
- URLs: github.com/openclaw → github.com/hanzoai
2026-02-26 22:36:01 -08:00

1.7 KiB

summary, read_when, title
summary read_when title
CLI reference for `hanzo-bot agents` (list/add/delete/set identity)
You want multiple isolated agents (workspaces + routing + auth)
agents

hanzo-bot agents

Manage isolated agents (workspaces + auth + routing).

Related:

Examples

hanzo-bot agents list
hanzo-bot agents add work --workspace ~/.hanzo/bot/workspace-work
hanzo-bot agents set-identity --workspace ~/.hanzo/bot/workspace --from-identity
hanzo-bot agents set-identity --agent main --avatar avatars/bot.png
hanzo-bot agents delete work

Identity files

Each agent workspace can include an IDENTITY.md at the workspace root:

  • Example path: ~/.hanzo/bot/workspace/IDENTITY.md
  • set-identity --from-identity reads 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:

  • name
  • theme
  • emoji
  • avatar (workspace-relative path, http(s) URL, or data URI)

Load from IDENTITY.md:

hanzo-bot agents set-identity --workspace ~/.hanzo/bot/workspace --from-identity

Override fields explicitly:

hanzo-bot agents set-identity --agent main --name "Hanzo Bot" --emoji "🤖" --avatar avatars/bot.png

Config sample:

{
  agents: {
    list: [
      {
        id: "main",
        identity: {
          name: "Hanzo Bot",
          theme: "AI assistant",
          emoji: "🤖",
          avatar: "avatars/bot.png",
        },
      },
    ],
  },
}