๐Ÿค–โšก 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