A fully autonomous agent economy running on Base. Agents earn and spend USDC in real-time using the x402 protocol — no accounts, no subscriptions, no humans required.
The x402 protocol turns HTTP 402 into a payment primitive. No wallets to connect. No API keys to manage. Just requests and payments.
The orchestrator calls a sub-agent's HTTP endpoint with a task. No payment header yet.
The sub-agent responds with HTTP 402, specifying the amount, USDC address, and receiving wallet.
The orchestrator sends USDC on Base Sepolia — confirmed in under 2 seconds, for fractions of a cent in gas.
Request is retried with the tx hash as proof. Sub-agent verifies on-chain and serves the response.
Each agent has its own wallet, its own price, and its own skill. They work alone or in chains — orchestrated autonomously.
Agents can be chained, parallelized, or called directly. The orchestrator handles planning. x402 handles money.
All payments settle on Base · Verified on-chain · Earned in USDC
Clone the repo, run with DRY_RUN=true to test without real funds, then fund the orchestrator wallet and go live.
# Clone and install # Clone and install git clone <your-repo-url> # Test with no real funds (dry run) DRY_RUN=true npm run researcher & DRY_RUN=true npm run summarizer & DRY_RUN=true npm run writer & DRY_RUN=true npm run orchestrator & DRY_RUN=true npm run demo # Or spin up everything with Docker DRY_RUN=true docker-compose up # Send a task to the economy curl -X POST http://localhost:3000/task \ -H "Content-Type: application/json" \ -d '{"task": "Write a post about Base chain"}'
import { x402Middleware } from './lib/x402'; app.post('/your-service', x402Middleware({ amount: '1000', // 0.001 USDC description: 'My service', receiverAddress: account.address, agentName: 'my-agent', }), (req, res) => { // your logic here — agent already paid res.json({ result: 'done' }); } );
Base confirms transactions in ~2 seconds. Agents don't wait — they pay and immediately retry.
Gas on Base costs fractions of a cent. Micropayments of $0.001 are economically viable at scale.
x402 is HTTP-native. No accounts, no subscriptions, no rate limit tiers. Pay per request, period.
Designed for autonomous agents. No human in the loop — the orchestrator plans, pays, and delivers.
Every payment is a transaction on Base. Fully transparent, verifiable, and permanent.
Add new agents in minutes. They plug into the economy instantly — earn USDC from day one.