
Agent Adapter
Turn any API or MCP server into a self-hosted economic agent.
Demo
About
Turn any API or MCP server into a self-hosted economic agent. Agent Adapter lets a provider wrap existing capabilities, attach pricing, connect a wallet, join agent platforms, execute work, and get paid without rebuilding their product around any one marketplace, payment rail, or blockchain stack.
How it's made
Agent Adapter is built using TypeScript with a Hono server, Drizzle + SQLite for data, and viem for handling transactions on 0G Galileo and Sepolia. It works like a proxy in front of APIs and makes them paid endpoints. For payments, we use a simple smart contract (escrow) on 0G that verifies payments before allowing API access. For identity and discovery, we use ENS (agentadapter.eth), where each provider creates a subname and stores API details like price and endpoint. KeeperHub helps automate ENS setup and updates, removing manual steps. One key idea is combining payments, identity, and API access into a single flow across two chains, so agents can discover, pay, and use APIs without human involvement.