website/docs/user-guide/bot-mode.md
Bot Mode turns your Hermes profiles into a roster of named Bots. Each Bot has its own role, model, memory, skills, and avatar; Bots run recurring routines, deliberate together in group chats, and message each other directly. Build a specialist Bot once and it is there forever, one click away.
Bot Mode ships built into the desktop app and is on by default — no install needed. It appears as a Bots tab next to Sessions in the left sidebar, with a Routines tile docked beside the conversation while the Bots tab is active.
:::tip A Bot is a profile
There is no new primitive to learn: a Bot is a Hermes profile — isolated config, memory, skills, credentials, and chat history under ~/.hermes/profiles/<name>/. Bot Mode is a UI over that primitive, so everything you do in it is visible from the CLI too: hermes -p <bot> chat opens the same agent, and Bot routines appear in hermes cron list. No core patches, no background daemons, no extra storage.
:::
The roster shows one row per agent profile: avatar, latest-message preview, and timestamp.
:::note The canonical Bot Chat is a forever-chat
Typing /new (or /reset) inside a Bot's canonical chat would fork the relationship into a scratch session — the one thing Bot Mode promises never happens. The composer reroutes it to /compact instead: fresh working context, same conversation. Regular sessions on the same profile keep full /new freedom.
:::
Hit New Agent in the roster. The quick path is three fields — Name, Title, Description — and the Bot exists in seconds, introducing itself as the first message of its new Bot Chat.
An Advanced disclosure opens the full capabilities surface:
With more than one connection registered in Settings → Connections, the New Agent dialog grows a Create on picker. Pick a device and the profile is created on that machine's backend — your window never switches gateways. The new Bot then appears in the roster as a Connections Bot (with an @name-device handle when the name exists on several machines), and chatting with it routes to its own machine.
With a single connection (the common case) the picker is hidden and the Bot is created on the machine you're connected to — exactly the old behavior.
Remote-creation notes:
default) — a remote box doesn't have your local profiles to clone.Edit Profile (right-click a Bot) reopens the same surface on the live profile any time: avatar, title, description, model pin, skills, toolsets, MCP servers, and the full SOUL.md.
Duplicate (right-click) makes a full clone of a Bot — config, skills, SOUL.md, memory, and its look. Delete Profile permanently removes one, behind the same destructive confirmation the desktop's profile menu uses; the default profile cannot be deleted.
Every Bot gets a face:
image.generate RPC and works over both local and remote gateways).hermes pets in a terminal to explore the gallery.A Bot's look, title, and description are stored in the profile's metadata on the backend, so the same Bot appears the same way on every desktop connected to that backend.
The Routines pane attaches recurring tasks to the Bot that does them — "summarize my inbox every morning" lives next to the Bot responsible for it. The pane docks beside the chat only while the Bots tab is active and steps aside when you switch back to Sessions (older desktop builds keep it always visible). A structured schedule picker builds the schedule (frequency first, then only the detail that matters), with an Advanced field exposing the raw Hermes schedule string.
Routines are plain Hermes cron jobs namespaced [bot:<name>] <routine> — they also show up in hermes cron list and the core Cron page. Runs land in the Bot's own chat history, so the result is right where you would talk to that Bot anyway.
Right-click a local Bot → Manage groups to add or remove it from any number of group chats. Pick existing groups independently or create one inline. Local membership is stored in the Bot's backend-synced profile metadata, so it follows that profile across desktops; older profiles with one legacy group continue to work. Connections Bots join through the New Group Chat picker and remain source-qualified in that room's local Desktop state.
Groups are standalone rows in the same activity-ordered roster as Bot DMs. A Bot keeps one DM row even when it belongs to several groups, while every group gets its own room row with member count, latest-message preview, timestamp, and needs-you state.
Open chat on any group row (2–6 Bots) opens a shared room where the whole group coordinates:
@name, and escalate real judgment calls to you with @user — the group row shows a needs you badge when that happens.Group: <name> session, so room context survives like any other conversation.Group: <name> session there. Cross-machine members carry a device badge (dixie · Mac Mini) in the room and in other members' transcripts, and the disambiguated @name-device handle works in room mentions — so same-named agents on two machines never blur together.Bots message each other with attribution, and you can hand work off from any chat:
@researcher have a look at this in any chat and the active Bot hands the message off, waits for the reply, and reports back. Mention names are validated against the live roster, so an email address or an unknown @ passes through untouched.@name-device handle when names collide) delivers over the Connections registry in the background: the active Bot stays on this device, the desktop routes the message to the recipient's machine, and the reply is relayed back attributed to that agent. Your window's gateway never switches.hermes -p <bot> chat --in ~ -c "Bot Chat" --create-if-missing -Q -q "Message from 🤖 <sender> (@<sender>): ...". The receiving Bot sees the message the next time it runs and knows how to reply, because the messaging protocol is part of its Bot Chat system prompt.The backend teaches each Bot's canonical Bot Chat session the messaging protocol automatically at prompt-build time — including when a teammate opens it headlessly from the CLI. Only the canonical Bot Chat gets the protocol section; your regular sessions and your SOUL.md stay untouched. This is controlled by agent.bot_mode_protocol in config.yaml (default: on):
agent:
bot_mode_protocol: true # inject the bot-to-bot messaging protocol into canonical Bot Chats
:::note Bot-to-bot delivery is per-invocation: the receiving Bot picks the message up when it next runs. Live interrupt of a Bot mid-conversation is future work. :::
hermes peer)Bots on one machine can message Bots on another machine's gateway without any desktop in the loop. Register the other gateway as a peer (its API server URL + API_SERVER_KEY):
hermes peer add spark --url http://spark.lan:8377 --key <API_SERVER_KEY>
hermes peer list
hermes peer dm spark "Message from 🤖 dixie (@dixie): disk status?"
hermes peer dm spark/researcher "..." # named profile on a multiplexed peer
hermes peer dm delivers into the remote agent's canonical Bot Chat over the peer's existing API server, runs one agent turn there, and prints the reply on stdout — the exact cross-machine twin of the local hermes -p <bot> chat command.
Once a peer is registered, the messaging protocol taught to every Bot Chat (agent.bot_mode_protocol) automatically includes the peer roster and the hermes peer dm pattern — so your bots learn on their own that teammates exist on other machines and how to reach them. Registering or removing a peer refreshes each Bot Chat's protocol on its next message (capability epoch).
Requirements: the peer machine runs the api_server gateway platform with a strong API_SERVER_KEY; reachability is your network's business (LAN, Tailscale, VPN). The key is a credential and lives in ~/.hermes/.env as HERMES_PEER_<NAME>_KEY; peer names/URLs live in config.yaml under bot_peers.
When you register several backends in Settings → Connections — the local runtime, remote gateways, SSH hosts, Hermes Cloud instances — the roster shows the Bots from every connected source, persistently: SSH sources are inventoried without spawning anything on the remote box, and machines that are momentarily unreachable keep their last-known rows instead of vanishing. When the same profile name exists on several sources, handles disambiguate as @name-device (for example @research-homelab). A Bot's chats, sessions, memory, and routines live on the machine that owns the profile.
Clicking a Connections Bot does not hop your window onto that machine — stay in your chat and @mention it, seat it in a group chat, or create new agents on it directly with the Create on picker. Cloud and local agents share one roster this way: register your Hermes Cloud instance and your desktop (say, over Tailscale or SSH) and their Bots can message each other and sit in the same rooms, with each agent's work running on its own machine.
See Connecting Desktop to Many Hermes Instances for the full multi-connection guide.
Bot Mode is a bundled desktop plugin. Flip it off in Settings → Plugins → Bots — the roster, the Routines pane, and the composer middleware unregister live, no restart needed. Your profiles, sessions, and cron jobs are untouched either way; Bot Mode never owns your data, it only renders it.
There is also a preference to hide the canonical Bot Chats from the regular sidebar session list, so they only appear inside the Bots pane. (This uses the core hidden-session flag; on older gateways the chats simply stay visible.)
Because Bots are profiles, everything has a terminal equivalent:
| In Bot Mode | From a shell |
|---|---|
| Chat with a Bot | hermes -p <bot> chat |
| A Bot's files, skills, memory | ~/.hermes/profiles/<bot>/ |
| Routines | hermes cron list (jobs named [bot:<name>] …) |
| Create / inspect profiles | hermes profile create, hermes profile list |
See Profiles for the underlying primitive and Profile Commands for the full CLI reference.