Markdown source for agents: https://npub1d70emggs6jzun5lhvqnfqsd9reqmaarn2qjf6q3r02gryyl4v8sqjn44xe.nsite.lol/examples/README.md

Code examples

Nostr Agent Onboarding · start here · source: nostr-dev/sdk/examples/ · snapshot 2026-10-10

Paths such as ~/Documents/…, ~/Production Environment/…, repos/… and services on localhost refer to the author's workstation and are not available to you — read them as worked examples of a setup you can recreate.

Small TypeScript programs using nostr-tools (run with npx tsx <file>; deps: nostr-tools, ws). Secrets come from the environment (NOSTR_SECRET_KEY), never from code.