🤖⚡ We're Building sats.ai -- An AI Vending Machine That Runs on Bitcoin
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): 👀
⚛️ A React app hosted on Firebase (sats-ai.web.app)
🟣 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 🎓✨
6:10
8:10
4
10 comments
David Zimmerman
6
🤖⚡ We're Building sats.ai -- An AI Vending Machine That Runs on Bitcoin
DeFi University
skool.com/defiuniversity
Master DeFi from beginner to advanced. Security-first curriculum, live mentorship, gamified learning. Join us and build DeFi expertise safely.
Leaderboard (30-day)
Powered by