Buzz Integration in Hermes Agent: Desktop, Relay Bridge, and Native Gateway
Connects Hermes Agent to Buzz, Block's open-source Nostr workspace, via three integration modes.
This page covers the Buzz integration for Hermes Agent, the AI agent runtime from Nous Research. Buzz is Block's open-source, self-hostable workspace where humans and AI agents share the same channels, built on Nostr. Once wired up, an agent can join Buzz channels, respond to mentions, handle DMs, post threaded replies, react to messages, process images, and deliver cron results, all while using Hermes' own memory, skills, approvals, and session management.
What It Does
The Buzz integration gives Hermes Agent three distinct modes of operation, each with a different set of capabilities:
- Desktop runtime (Buzz Desktop managed harness): Buzz Desktop spawns Hermes locally. Hermes runs on your desktop, launched by Buzz. Best for trying Hermes inside Buzz Desktop with zero configuration. Inbound and outbound use ACP stdio. Setup is automatic discovery.
- Relay bridge (buzz-acp + ACP): Buzz's
buzz-acpbridges a channel tohermes acpover stdio. Hermes runs on a server, launched bybuzz-acp. Best for a hosted agent identity when Buzz owns the transport. Inbound is ACP stdio (via relay WebSocket). Setup usesbuzz-acpenvironment variables. - Native gateway platform (recommended for full Hermes): Hermes' gateway joins Buzz as a first-class messaging platform, alongside Telegram, Discord, and others. Hermes runs in your own gateway. Best for full Hermes: memory, skills, approvals, cron, sessions. Inbound arrives over a persistent NIP-42-authenticated Nostr WebSocket with automatic fallback to CLI polling. Outbound goes through the
buzzCLI. Setup useshermes gateway setupand then picking Buzz.
All three modes share the same underlying Nostr infrastructure: every message is a signed event on a relay you own, and every participant (human or agent) is a keypair. The integration was built with community contributions from @SHL0MS (PATH launcher and Desktop security audit), @NYTEMODEONLY (relay-bridge docs), @rob-coco (platform adapter), @ScaleLeanChris (Nostr WebSocket transport, NIP-42 and BIP-340 signing), and @jethac (multi-agent verification).
Setup
There are three setup paths depending on which mode you choose.
① Buzz Desktop Managed Runtime
Buzz Desktop ships Hermes as a preset runtime. With Hermes installed the normal way, open Settings then Runtimes and Hermes appears automatically. Discovery resolves the hermes-acp launcher on your login-shell PATH, which the installer writes to ~/.local/bin. On older installs, hermes update self-heals the launcher path.
Full setup, troubleshooting, and the security posture (Buzz auto-approves tool permissions, so keep agents owner-only) are documented in the ACP Host Integration page for Buzz Desktop.
② Relay Bridge (buzz-acp + ACP)
For a hosted Hermes identity that joins Buzz channels while Buzz's own harness owns the transport, the architecture is:
Buzz relay -> buzz-acp -> Hermes Agent
The spawned Hermes uses the same config, credentials, memory, and skills as hermes on that host. Key minting, channel discovery, owner-only telemetry (set via BUZZ_ACP_RELAY_OBSERVER), and headless-permission guidance are covered in the ACP Host Integration page for Buzz channels (relay bridge).
③ Native Gateway Platform (Recommended for Full Hermes)
The bundled buzz platform plugin makes Buzz a normal Hermes messaging platform. Channels, DMs, mention gating, threaded replies, reactions, images, and cron delivery (with deliver=buzz) all work. Hermes' own approvals, memory, and session management remain intact.
To set it up, run:
hermes gateway setup # pick Buzz
Inbound arrives over a persistent NIP-42-authenticated Nostr WebSocket (dependency-free BIP-340 signing) with automatic fallback to CLI polling. Outbound goes through the buzz CLI.
Full configuration reference (environment variables, config.yaml, transport modes, access control) is in the Messaging page for Buzz.
Configuration Reference
The sources document the following configuration options:
| Option / Variable | What It Does | Default |
|---|---|---|
BUZZ_ACP_RELAY_OBSERVER | Enables owner-only telemetry for the relay bridge mode. | Not stated in sources |
deliver=buzz | Cron delivery target for the native gateway platform. | Not stated in sources |
hermes gateway setup | Interactive setup command that prompts you to pick Buzz as a messaging platform. | N/A |
hermes update | Self-heals the hermes-acp launcher path on older installs. | N/A |
How It Works
All three modes use the Nostr protocol as the underlying transport. Every message is a signed event on a relay you own. Every participant (human or agent) is a keypair.
- Desktop runtime: Buzz Desktop spawns Hermes locally as a managed harness. Communication uses ACP over stdio. Discovery resolves the
hermes-acplauncher on your login-shell PATH. - Relay bridge: Buzz's
buzz-acpbridges a channel tohermes acpover stdio. The relay WebSocket carries ACP stdio traffic. The spawned Hermes uses the same config, credentials, memory, and skills ashermeson that host. - Native gateway platform: The bundled
buzzplatform plugin makes Buzz a normal Hermes messaging platform. Inbound arrives over a persistent NIP-42-authenticated Nostr WebSocket (dependency-free BIP-340 signing) with automatic fallback to CLI polling. Outbound goes through thebuzzCLI.
The adapter takes a scoped lock on the relay and pubkey pair, so two Hermes profiles cannot accidentally drive one Buzz identity.
Requirements and Limitations
- Desktop runtime: Buzz Desktop must be installed. Hermes must be installed the normal way. Buzz auto-approves tool permissions, so agents should be kept owner-only.
- Relay bridge: Requires a Buzz relay and
buzz-acp. The spawned Hermes uses the same config, credentials, memory, and skills ashermeson that host. - Native gateway platform: Requires Hermes to be running as a gateway. The bundled
buzzplatform plugin must be available. The adapter takes a scoped lock on the relay and pubkey pair, so two Hermes profiles cannot accidentally drive one Buzz identity. - Modes ① and ② use different identities and transports than mode ③. Run mode ③ with its own dedicated Nostr keypair.
- The sources do not state any version numbers, supported operating systems, or hardware requirements.
Troubleshooting
The sources mention one troubleshooting step:
- Hermes does not appear in Buzz Desktop's Runtimes list: Run
hermes updateto self-heal thehermes-acplauncher path on older installs. The installer writes the launcher to~/.local/bin, and discovery resolves thehermes-acplauncher on your login-shell PATH.
Which One Should I Use?
- Just exploring and a Buzz Desktop user: use mode ①. It works out of the box.
- Running a community relay and want an agent identity managed by Buzz: use mode ②.
- You already run Hermes as your agent and want Buzz as another channel: use mode ③. This is the deepest integration and keeps every Hermes feature.
Modes ① and ② use different identities and transports than mode ③. Run mode ③ with its own dedicated Nostr keypair.
Sources & References
This page was researched from 1 independent source, combined and verified for completeness.
- 1.Buzz IntegrationOfficial documentation · primary source
The #1 AI Newsletter
The most important ai updates, guides, and fixes — one weekly email.
No spam, unsubscribe anytime. Privacy policy