pull down to refresh

Released nostr-merchant v0.1 — a local-first Python agent built to operate a business on NOSTR. It drives five MCP servers I shipped over the last two weeks (Lightning wallet, NOSTR client, marketplace, hub admin, paywall sidecar): checks its balance, publishes notes and listings, runs a Shopstr storefront, answers encrypted DMs, and pays for paywalled MCP tools over NWC — the full agent-pays-for-tools loop.

The point is the guardrails. Three budget caps (per-task / per-day / per-tool-price) on top of the wallet's own, enforced in agent-layer middleware on every call. A paywalled tool over your cap gets refused, not paid. Every call audited to NDJSON. AGENT_READ_ONLY=true kills all spend.

Sovereign by default (Ollama-first, no KYC), API-pluggable via one env var. pydantic-ai, no LangChain. 71 tests, MIT.

pipx install nostr-merchant. Storefront (100k sats, bundles the full setup walkthrough): https://shopstr.store/marketplace/SOVEREIGN_CITIZENS

19 sats \ 0 replies \ @OT 7 Jun

deleted by author