Skip to content

The agent that grows with you

docs(honcho): document a2aSessions and bot dm attribution

Erosikadf1513b72831
diff --git a/plugins/memory/honcho/README.md b/plugins/memory/honcho/README.md
index e20ff3b0f21..ef8fada9889 100644
--- a/plugins/memory/honcho/README.md
+++ b/plugins/memory/honcho/README.md
@@ -253,6 +253,7 @@ Pick **[e]** at the prompt to set the three keys directly instead of going throu
|-----|------|---------|-------------|
| `sessionStrategy` | string | `"per-directory"` | `"per-directory"`, `"per-session"`, `"per-repo"` (git root), `"global"` |
| `sessionPeerPrefix` | bool | `false` | Prepend peer name to session keys |
+| `a2aSessions` | bool | `true` | Write DMs from other bots into their own session per sender bot. `false` skips bot-authored turns |
| `sessions` | object | `{}` | Manual directory-to-session-name mappings |
#### Session Name Resolution
@@ -273,6 +274,10 @@ Gateway platforms always resolve via priority 3 (per-chat isolation) regardless
If `sessionPeerPrefix` is `true`, the peer name is prepended: `alice-hermes-agent`.
+#### Bot DMs (`a2aSessions`)
+
+In bot mode another Hermes profile can DM this agent. The relay marks that turn with author `bot:<profile>`, and the turn never reaches the human's session. With `a2aSessions: true` (default) the turn is written into `<session>:a2a:<profile>`: the sender's message under the sender's peer, the reply under this agent's `aiPeer`. The sender's peer is the `userPeerAliases` entry for `bot:<profile>` if one exists, else the profile name, which is the sender's own default `aiPeer` in a shared workspace. `runtimePeerPrefix` is not applied to bot ids. `pinUserPeer: true` collapses bot authors onto `peerName` like every other author. With `a2aSessions: false` bot-authored turns are skipped. Recall still reads the human's session only.
+
#### What each strategy produces
- **`per-directory`** — basename of `$PWD`. Opening hermes in `~/code/myapp` and `~/code/other` gives two separate sessions. Same directory = same session across runs.