You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/buzz-acp/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# buzz-acp
2
2
3
-
ACP harness that connects AI agents to Buzz. The harness listens for @mentions on the relay, prompts your agent, and the agent replies using the Buzz CLI.
3
+
ACP harness that connects AI agents to Buzz. The harness listens for @mentionsand direct replies to the agent on the relay, prompts your agent, and the agent replies using the Buzz CLI.
4
4
5
5
```
6
6
Buzz Relay ──WS──→ buzz-acp ──stdio──→ Your Agent
@@ -62,7 +62,7 @@ export GOOSE_MODE=auto
62
62
buzz-acp
63
63
```
64
64
65
-
That's it. The harness spawns `goose acp`, connects to the relay, discovers channels, and starts listening. When someone @mentions the agent, goose receives the message and can reply using the Buzz CLI that the harness configures automatically.
65
+
That's it. The harness spawns `goose acp`, connects to the relay, discovers channels, and starts listening. When someone @mentions the agent or directly replies to one of its messages, goose receives the message and can reply using the Buzz CLI that the harness configures automatically. Direct messages continue to route through their participant `p` tags.
66
66
67
67
## Running with Codex
68
68
@@ -252,7 +252,7 @@ Forum event kinds:
252
252
253
253
1.**Startup** — Spawns N agent subprocesses (default 1), sends ACP `initialize` to each, connects to the relay with NIP-42 auth.
254
254
2.**Channel discovery** — Queries the relay REST API for accessible channels, subscribes to each.
255
-
3.**Event loop** — Listens for @mentionevents (kind 9 with the agent's pubkey in a `#p` tag). Events queue per channel.
255
+
3.**Event loop** — Listens for the bounded channel-message kinds. It accepts explicit @mentions and verifies direct-reply parent events before accepting an unmentioned reply; unrelated unmentioned chatter is dropped. Events queue per channel.
256
256
4.**Prompting** — When events are pending and no prompt is in flight for that channel, drains all queued events for the oldest channel into a single batched prompt via ACP `session/prompt`.
257
257
5.**Agent response** — The agent processes the prompt and uses the Buzz CLI (`send_message`, `get_messages`, etc.) to interact with Buzz.
258
258
6.**Recovery** — If the agent crashes, the harness respawns it. If the relay disconnects, the harness reconnects with a `since` filter to avoid missing events.
0 commit comments