Files

19 lines
912 B
Markdown
Raw Permalink Normal View History

2026-05-08 15:39:40 -07:00
# Examples
2026-06-11 09:28:18 -07:00
This directory contains reference material for building on Buzz beyond the desktop app and AI agents.
2026-05-08 15:39:40 -07:00
## `countdown-bot/`
2026-06-11 09:28:18 -07:00
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`.
2026-05-08 15:39:40 -07:00
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.
2026-06-11 09:28:18 -07:00
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.
2026-05-08 15:39:40 -07:00
See [`countdown-bot/README.md`](countdown-bot/README.md) for usage.
## `meadow-core/`
2026-06-11 09:28:18 -07:00
A persona-pack example for Buzz agents.