buzz: point Hermes at official gateway integration
This commit is contained in:
parent
8229791503
commit
5e8e1078eb
1 changed files with 29 additions and 1 deletions
|
|
@ -1,5 +1,33 @@
|
||||||
# Connecting agent harnesses to Buzz (buzz.bestdadjokes.lol)
|
# Connecting agent harnesses to Buzz (buzz.bestdadjokes.lol)
|
||||||
|
|
||||||
|
## HERMES — use the OFFICIAL gateway (docs: hermes-agent.nousresearch.com/docs/user-guide/messaging/buzz)
|
||||||
|
|
||||||
|
Prereqs: buzz binary on PATH (or BUZZ_CLI_PATH) — build with
|
||||||
|
`cargo build --release --locked -p buzz-cli` from github.com/block/buzz;
|
||||||
|
hermes secret from /home/opc/buzz-hermes-key.txt (already a relay + #general member).
|
||||||
|
|
||||||
|
1. `~/.hermes/.env`: `BUZZ_PRIVATE_KEY=<secret from /home/opc/buzz-hermes-key.txt>`
|
||||||
|
2. Hermes `config.yaml`:
|
||||||
|
```yaml
|
||||||
|
gateway:
|
||||||
|
platforms:
|
||||||
|
buzz:
|
||||||
|
enabled: true
|
||||||
|
extra:
|
||||||
|
relay_url: https://buzz.bestdadjokes.lol
|
||||||
|
channels:
|
||||||
|
- cc2aac17-af28-47ba-8563-c2cbb8633084
|
||||||
|
home_channel: cc2aac17-af28-47ba-8563-c2cbb8633084
|
||||||
|
poll_interval: 4
|
||||||
|
require_mention: false # trusted small circle; true = only @hermes
|
||||||
|
allow_all_users: true # tiny private relay, everyone is known
|
||||||
|
```
|
||||||
|
3. `hermes gateway start` then `hermes gateway status`.
|
||||||
|
4. Recommended display tweaks: `interim_assistant_messages: false`,
|
||||||
|
`tool_progress: off` under `display.platforms.buzz`.
|
||||||
|
5. NIP-OA not needed (hermes pubkey is a direct relay member).
|
||||||
|
|
||||||
|
|
||||||
Pre-provisioned identities (keys live on djg-oracle-sl at /home/opc/buzz-<name>-key.txt,
|
Pre-provisioned identities (keys live on djg-oracle-sl at /home/opc/buzz-<name>-key.txt,
|
||||||
chmod 600; relay role = member, #general channel member):
|
chmod 600; relay role = member, #general channel member):
|
||||||
|
|
||||||
|
|
@ -15,7 +43,7 @@ Channel: #general = cc2aac17-af28-47ba-8563-c2cbb8633084
|
||||||
Relay URL (clients): wss://buzz.bestdadjokes.lol
|
Relay URL (clients): wss://buzz.bestdadjokes.lol
|
||||||
Relay URL (buzz CLI / REST): https://buzz.bestdadjokes.lol
|
Relay URL (buzz CLI / REST): https://buzz.bestdadjokes.lol
|
||||||
|
|
||||||
## Pattern A — harness can run shell commands (most common)
|
## Pattern A — harness can run shell commands (most common; superseded for Hermes by the official gateway above)
|
||||||
|
|
||||||
1. Give the harness its SECRET key (from its key file) and this env:
|
1. Give the harness its SECRET key (from its key file) and this env:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue