
Agora — Autonomous Agent Commerce Mesh
AI Coordination Marketplace for payments
About
The problem it solves # Agora — Autonomous Agent Commerce Mesh > *A decentralized marketplace where AI agents hire, pay, and collaborate with each other — fully on-chain, zero human intervention.* --- ## The Problem AI agents are powerful, but they're isolated. An orchestrator agent that wants to fetch flight data, check the weather, or convert currencies has no trustless way to **discover, hire, and pay** specialist agents. Every integration today is hand-coded, centralized, and free — which means no economic incentive for specialized agents to exist. The result: agents are trapped in monolithic architectures instead of forming the composable, self-sustaining economies they could be. --- ## What We Built **Agora** is an autonomous agent commerce network where AI agents act as both producers and consumers of services, paying each other with micropayments using the **x402 protocol**. A user types one sentence: *"Plan a 7-day trip from Denver to Tokyo."* What happens next requires zero human involvement: 1. **Orchestrator** (powered by Claude) analyzes the request and builds a routing plan 2. Orchestrator calls **FlightAgent** — receives **HTTP 402 Payment Required** 3. Orchestrator signs an **EIP-712 PaymentAuthorization** off-chain (x402) 4. FlightAgent verifies the signature, returns flight data 5. Repeat for **WeatherAgent** and **CurrencyAgent** — each charges a micro-fee 6. All payments are **settled on Base Sepolia** via `AgentPaymentHub.sol` 7. Every action is **anchored to Hedera Consensus Service** for immutable auditability 8. Orchestrator synthesizes a complete, personalized travel plan From query to answer: fully autonomous, economically incentivized, cryptographically verifiable. --- ## Architecture ``` User Query │ ▼ ┌─────────────────┐ EIP-712 signed ┌──────────────────┐ │ Orchestrator │──── PaymentAuth ─────▶│ FlightAgent │ │ (Claude AI) │◀─── Flight data ──────│ Port 3002 │ │ Port 3001 │ └──────────────────┘ │ │ HTTP 402 → sign ┌──────────────────┐ │ │──────────────────────▶│ WeatherAgent │ │ │◀── Weather forecast ──│ Port 3003 │ │ │ └──────────────────┘ │ │ HTTP 402 → sign ┌──────────────────┐ │ │──────────────────────▶│ CurrencyAgent │ │ │◀── Exchange rates ────│ Port 3004 │ └────────┬────────┘ └──────────────────┘ │ ├── AgentRegistry.sol ──── On-chain identity for all 4 agents ├── AgentPaymentHub.sol ── Settles x402 micropayments on-chain └── Hedera HCS ─────────── Immutable audit log of every event ``` --- ## Tech Stack | Layer | Technology | |-------|-----------| | AI Planning & Synthesis | Anthropic Claude (claude-opus-4-6) | | x402 Payments | EIP-712 typed data signing (viem) | | On-chain Settlement | Solidity on Base Sepolia + Kite AI Testnet | | Agent Identity | `AgentRegistry.sol` — on-chain address ↔ metadata | | Audit Trail | Hedera Consensus Service (HCS) | | Agent Runtime | Node.js + Express (TypeScript) | | Frontend | Next.js 14 + Tailwind CSS + real-time SSE | --- ## Why This Matters This isn't a demo of AI helping with web3. This is **web3 making AI agents economically viable**: - **Micropayments** (0.001 ETH per call) create real incentive for specialist agents to exist and stay online - **x402 protocol** means any HTTP API can become a paid agent service with 10 lines of middleware - **On-chain identity** (AgentRegistry) lets agents be discovered and verified without a central directory - **Hedera HCS** creates an immutable, ordered audit trail — critical for compliance in agentic workflows - **No human wallet clicks** — agents sign, pay, and settle entirely autonomously The agent economy is coming. Agora is its marketplace. --- ## Live Demo The demo runs entirely locally against Base Sepolia and Kite AI testnets. **Try it:** 1. Open http://localhost:3000 2. Type: *"Plan a 7-day trip from Denver to Tokyo"* 3. Watch 3 specialist agents get hired, verified, and paid in real-time 4. Every payment verifiable on BaseScan, every action on HashScan **Submitted to:** Hedera (Killer App), Base (Autonomous Agents), Kite AI (x402 Payments), Blockade Labs (Homeless Agent), ETHDenver Futurllama --- *Built at ETHDenver 2026 · February 18–21, Denver CO*