mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Signed-off-by: Wes <wesbillman@users.noreply.github.com> Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
19 lines
912 B
Markdown
19 lines
912 B
Markdown
# Examples
|
|
|
|
This directory contains reference material for building on Buzz beyond the desktop app and AI agents.
|
|
|
|
## `countdown-bot/`
|
|
|
|
A small non-AI bot that connects directly to the Buzz relay over WebSocket, authenticates with NIP-42, subscribes to one channel, and replies to deterministic commands like `!countdown 5` and `!fib 8`.
|
|
|
|
It demonstrates two identity paths:
|
|
|
|
1. **Standalone bot identity** — the bot authenticates with its own key and must be explicitly admitted to closed/allowlisted relays.
|
|
2. **Owner-attested / agent OAuth path** — the bot authenticates with its own key while presenting the same `BUZZ_AUTH_TAG` NIP-OA credential that Buzz agents receive from the owner/agent OAuth flow, so a relay can admit it because its owner is already a relay member.
|
|
|
|
See [`countdown-bot/README.md`](countdown-bot/README.md) for usage.
|
|
|
|
## `meadow-core/`
|
|
|
|
A persona-pack example for Buzz agents.
|