Imagine an arbitrage between LLM tokens (free labor) and sats (Bitcoin).
TL;DR: We're building an AI agent that sells its brainpower for sats. No accounts. No subscriptions. No credit cards. You ask it a question, you pay a Lightning invoice, you get your answer. Like a vending machine, but for AI -- and it runs on Bitcoin rails. ๐ฐ๐
๐จ The Problem With AI Today
Every AI service you use right now -- ChatGPT, Claude, Midjourney -- works the SAME way:
โ Hand over your email
โ Hand over your credit card
โ Hand over your identity
โ Pay a monthly subscription whether you use it or not
โ Your data sits on THEIR servers
โ They can cut you off at any time
You're renting access from a centralized gatekeeper.
What if AI worked more like Bitcoin itself?
โ
Permissionless
โ
Pay-per-use
โ
No accounts
โ
No middlemen
That's what we're building. ๐
๐ฃ What Is a Nostr DVM?
Think of it like a decentralized API marketplace.
Nostr is the protocol -- the same censorship-resistant network that apps like Damus and Primal run on. Instead of servers and databases, it uses relays (like nodes in a mesh network) and cryptographic keys for identity.
A DVM (Data Vending Machine) is a standard on Nostr (called NIP-90) that lets you create autonomous agents that sell compute services for Bitcoin. The concept is SIMPLE:
๐ฐ Money in -- You send sats over the Lightning Network
๐ค Data out -- The agent does the work and sends you the result
No API keys. No OAuth. No Stripe integration. Just cryptographic signatures and Lightning invoices. ๐โก
๐ง The Mental Model (For DeFi People)
If you understand DeFi, here's how DVMs map to what you already know:
Smart contract โ The DVM agent (autonomous code that executes when paid)
Wallet address โ Nostr public key (your identity)
Gas fees โ Sats paid via Lightning invoice
DEX (many-to-many marketplace) โ The Nostr relay network (multiple agents compete for jobs)
On-chain settlement โ Lightning Network (instant, final)
DVMs are basically smart contracts that run off-chain, get paid in Bitcoin, and settle instantly via Lightning. ๐ก
๐ป How sats.ai Works (The User Experience)
The frontend is dead simple. Imagine Google's homepage, but for AI + Bitcoin:
1. You visit sats.ai -- a clean search bar, nothing else ๐
2. You type your request -- "Translate this to Spanish" or "Generate a logo for my podcast" โ๏ธ
3. You pick a service -- Generate, Translate, Summarize, or Image ๐ฏ
4. A Lightning invoice pops up -- maybe 500 sats (~$0.15) ๐ฐ
5. You scan the QR code with your Strike, Wallet of Satoshi, or any Lightning wallet ๐ฑ
6. Sats settle instantly -- the AI processes your request โก
7. Your result appears -- right there in the browser โ
No sign-up. No email. No password. No subscription.
You paid, you got your result. Done. ๐
๐ง What's Under The Hood
For those who want the technical breakdown:
The Backend (the "vending machine brain"): ๐ง
๐ A Python agent running 24/7 on Google Cloud
๐ก Listens to Nostr relays for incoming job requests
๐ค Uses Google's Gemini 3 Pro for AI inference (text gen, translation, images, summarization)
โก Generates Lightning invoices via the LNURL-pay protocol
๐ฐ All payments settle directly to [email protected] -- no intermediary node, no custodian in the middle โ
Verifies payment cryptographically before doing any work
๐ฆ Returns encrypted results back through the Nostr relay network
The Frontend (what users see): ๐
๐ฃ Communicates with the backend entirely through the Nostr relay network -- the frontend and backend never talk directly
๐ Supports WebLN (one-click pay if you have a browser wallet like Alby) or QR code scanning for any Lightning wallet
๐ Generates a temporary cryptographic identity in your browser so you don't need to log in
The Payment Flow: ๐ธ
User submits a request โ Agent calculates the cost โ Agent fetches a real Lightning invoice from Strike โ Invoice gets shown to the user โ User pays โ Sats land in the Strike wallet at [email protected] โ Agent confirms payment via Strike API โ Agent does the work โ Result delivered Every sat paid for AI work goes to our Lightning address. No platform fees. No payment processors. No 30-day net terms. ๐ฏ
๐ Why This Matters for DeFi Operators
This isn't just a cool demo. This is the architecture pattern for building autonomous revenue-generating agents on Bitcoin rails:
1. Permissionless Revenue ๐
Anyone in the world can pay your agent. No KYC. No bank account required on the customer's side. Lightning is global by default.
2. Micropayments That Actually Work ๐ฐ
Charge 300 sats for a translation. 500 sats for a summary. 2,000 sats for an image. Try doing $0.05 charges on Stripe. (Spoiler: you can't.)
3. No Platform Risk ๐ก๏ธ
Your agent runs on your infrastructure, gets paid to your wallet, advertises on a decentralized network. Nobody can deplatform you.
4. Composable ๐
Other agents and apps on Nostr can discover your DVM and pipe work to it automatically. Machine-to-machine commerce with no human in the loop.
5. The "Work-for-Sats" Economy ๐คโก
Your code does the work, Bitcoin pays it instantly. This is what autonomous agents look like when they have their own money.
๐ฎ What's Next
The full codebase will be open source on GitHub. The project is structured as a monorepo:
๐ backend/ -- Python DVM agent (Nostr + Gemini + Lightning)
๐ frontend/ -- React app (the sats.ai interface)
We'll be walking through the build publicly. If you want to deploy your own DVM agent -- selling your own AI services for sats to your own Lightning address -- everything you need will be in the repo. ๐ ๏ธ
๐ญ Final Thoughts
This is just the beginning. We're not just building an AI service -- we're building the blueprint for autonomous, revenue-generating agents that anyone can deploy.
Imagine:
- AI agents that pay each other for compute tasks
- Content creators monetizing through AI-generated work
- Developers spinning up their own DVMs and earning sats 24/7
- A global marketplace of AI services with zero gatekeepers
The infrastructure is here. The protocol is open. The Lightning Network makes micropayments possible.
All we're doing is putting the pieces together. ๐งฉ
Stay tuned. โก
Questions? Thoughts? Drop them below! ๐
This is a community project -- if you want to contribute, have ideas for new DVM services, or want to run your own agent, let's talk. ๐ฌ
DeFi University | Building in Public | February 2026 ๐โจ