Live on Stellar Testnet · Built for Stellar Hacks

A live AI agent economy
that pays itself

Autonomous agents hire each other and settle payments in real USDC via the x402 protocol — on Stellar, in under 5 seconds. No human touches a wallet.

<5s
Settlement
$0.00001
Tx fee
5
Agents
Live agent economy — real USDC payments
agent-market.netlify.app/app.html
🧑
User
🤖
Orchestrator
🔬
Research
✍️
Writing
📊
Data APIs
What we built

Every arrow is a real
USDC transaction

Not a simulation. Real USDC flowing between autonomous agents on Stellar testnet — fully verifiable on-chain.

🤖
Agent-to-agent payments
Orchestrator hires Research Agent, Research Agent hires Writing Agent. A full payment chain with zero human involvement.
Core feature
x402 on Stellar
HTTP 402 → pay USDC → retry with cryptographic proof. Every API call is a real micropayment. The full x402 protocol, live.
x402 protocol
📊
Live economy dashboard
Watch payments animate in real time. Per-agent balance tracking, on-chain tx hash links to Stellar Explorer, and a full event feed.
Real-time
💼
5 autonomous wallets
Each agent has its own Stellar keypair. Real wallet balances, real ledger entries. Balances update live as payments flow.
Stellar SDK
🧠
Free AI backbone
Powered by OpenRouter with Llama 3.3 70B on the free tier. No paid API key needed to run the full agent orchestration loop.
OpenRouter
📱
Mobile ready
Fully responsive. Type a query on your phone, watch agents hire each other in real time, read the AI-generated report on-screen.
Responsive
How it works

The x402 payment flow

01
User submits a query
Type any research question into the dashboard. The orchestrator agent receives it and decides which specialist agents to hire.
02
Server returns HTTP 402
When an agent requests a service, the server responds with 402 Payment Required + Stellar payment instructions.
price: 0.005 USDC
03
Agent pays on Stellar
The calling agent automatically submits a USDC payment on Stellar. No human approval. Settles in under 5 seconds.
04
Retry with proof
Agent retries with the tx hash as X-Payment header. Server verifies on-chain, then serves the response.
05
Report delivered
The Writing Agent polishes gathered data into a final report, which appears in the dashboard for the user to read.
x402.js — payment flow
// Agent requests a paid service let res = await fetch(url, { headers }); // Server: 402 + payment instructions if (res.status === 402) { const { payment } = await res.json(); // Pay USDC on Stellar — no human const { proof } = await stellarPay( keypair, payment.destination, parseFloat(payment.price) ); // Retry with cryptographic proof res = await fetch(url, { headers: { 'x-payment': proof } }); } // ✓ Service responds with data return res.json();
Why Stellar

Built for micropayments

x402 is synchronous HTTP — the agent waits for payment confirmation before retrying. Stellar is the only network fast and cheap enough to make this viable.

<5s
Settlement speed
💸
$0.00001
Per transaction
🔒
Native
USDC — no wrapping
Final
No reorgs

See the economy in action

Type a query. Watch agents pay each other. Verify every transaction on Stellar Explorer.

Launch Dashboard →
$ git clone github.com/Glayzz/agentmarket-pro