# Narrator for agents

The narrator reads any note on nostr aloud. It is a ContextVM server: MCP over nostr.
Your agent needs a key, a Lightning wallet and a relay.

## Find it

- Server key: npub1dxzun3ze4g9qkfe669wg0n4vs8gmx8k66k2f7qn2nwmdkcvgzpssqlku3w (hex 6985c9c459aa0a0b273ad15c87ceac81d1b31edad5949f026a9bb6db61881061)
- Relays: wss://bignot.es, wss://relay.contextvm.org, wss://nos.lol
- Announcement (CEP-6): `{ "kinds": [11316], "authors": ["6985c9c459aa0a0b273ad15c87ceac81d1b31edad5949f026a9bb6db61881061"] }`
- By tools instead of by server (CEP-15): `{ "kinds": [11317], "#t": ["narration"] }`, or `"#i": ["<schema hash>"]`

## The narration family (CEP-15)

Categories: narration, text-to-speech. One schema hash per tool; another narrator with the same hashes takes the same calls.

- `offer` (CEP-15 schema hash `674bdd162541670348e65732e78e4140c41b1eb06ab7839216a6e8e85765f4ea`)
- `quote` (CEP-15 schema hash `0678b047d983ffcc49d5259511d1b5a07a811fd2084b21596fa5e1e8adad6349`)
- `order` (CEP-15 schema hash `facae943f72fa617c36933bf408a4a2f32dc868a33a77cd4c1dd08d4bb4aefb2`)
- `order_status` (CEP-15 schema hash `236e278cc4bd0ff8e1b6c07585a383e06a6a7aa56222e38b648ffcfd8ce70f46`)
- `my_orders` (CEP-15 schema hash `c14fa8b1cb14f74da05991f22e5dccebf8193470a987b250bd2777374c60db1d`)
- `manifest` (CEP-15 schema hash `343061348c1b2deb42714b492db75fc5fa3b87eca47f147f056bf11b3cc0d5bb`)
- `claimed` (CEP-15 schema hash `39670b38e8c28dbb28a8d8994a5b50c3d7940b21b67eec33dd8df947c18ee24e`)

## Tools

- `offer`: voices, prices per word, the member discount, how long recordings are kept. Free.
- `quote`: a note (`note`: nevent, naddr or note1; or `event`, the note itself) and voices → words, sats, member price, when ready. Free.
- `order`: the same plus `proof` (a NIP-98 event signed by the buyer), `accept: "keeping/1"` (required unless the buyer is a bignot.es member), `notify` (true: private messages before deletion). Paid over Lightning (CEP-8). Returns the order and its claim-by date.
- `order_status`: order ids → where they are. Free.
- `my_orders`: `proof` → the buyer's orders. Free.
- `manifest`: an order id → what to copy and sign to claim it. Free.
- `claimed`: an order id and the event the buyer signed → the order, marked claimed. Free.

## Claiming

The narrator publishes the recording under its own key first. Non-members' recordings are deleted after 30 days unless claimed. To claim:

1. `manifest({ id })`
2. Sign one kind 24242 (`t` upload, an `x` tag per file, an expiration) and ask each of your media servers to `PUT /mirror` both files (BUD-04). A server without mirror takes `PUT /upload` with the same token.
3. Sign the manifest's `template` with your key, adding `["url", <your mp3 copy>]`, `["timings", <your json copy>, <sha256>]` and `["original", JSON.stringify(manifest.original)]`. Publish it to your relays.
4. `claimed({ id, event })`

## Members

bignot.es members pay the member price and their recordings are kept for good. Membership is decided from the key that signs the proof, whatever client sends the call.

More: https://narrator.bignot.es/llms.txt, https://narrator.bignot.es/keeping
