AI agent matching infra with x402 payments — safe, instant access to agents with seamless billing.
🧠 Project Description
All AI Hub is essential infrastructure for the AI era, connecting Personal AI Agents (the AI each individual owns) with Vertical AI Agents (specialized agents focused on specific domains).
We are entering a world where AI autonomously calls other AIs to complete tasks.
Google’s A2A (Agent-to-Agent) standard defines how AI Agents communicate in that future.
But A2A has one critical gap.
🚨 Problem: AI Agents cannot “discover” other Agents
A2A only defines the communication protocol.
It does not provide a way for an AI Agent to know which other AI Agent to connect to.
We are also heading toward a future where fake, low-quality, and spam Agents will explode in number.
In this world, how can our Personal AI reliably find trustworthy AI Agents?
All AI Hub solves this fundamental problem.
🔩 The 4 Core Problems All AI Hub Solves
1. AI Agent Discovery
All AI Hub publishes each agent’s capabilities, strengths, and use cases in the A2A AgentCard format.
Providers (AI developers) simply register their AgentCard,
and instantly make their Agent discoverable to Personal AIs around the world.
2. Authenticity
Each AgentCard includes a signature.
Users can verify the signature to ensure the AgentCard has not been tampered with.
This eliminates the room for fake agents.
3. Reputation
Based on on-chain usage metrics
(x402 transfer count and total payment volume),
Personal AI can choose Agents with proven quality.
Over time, good agents rise in score, while low-quality or malicious ones naturally fall.
4. Payment (AI-to-AI Settlement)
All AI Hub provides built-in task-based payments using x402.
🎛 Value for Providers (Vertical AI Developers)
🙋♂️ Value for End Users (Personal AI Users)
🚀 How We Built It
We built this project with a microservices architecture connecting five Python and TypeScript components that work together as a unified agent ecosystem. The frontend uses Next.js 15, Tailwind CSS, and Drizzle ORM for SQLite. The backend is powered by FastAPI and FastMCP, enabling MCP protocol support via SSE streaming. We integrated Coinbase’s x402 payment protocol with CDP Server Wallet v2 to enable EIP-712–based payments on Polygon Amoy.
We also made several practical improvements during development:
💳 Payment Flow
Our agent marketplace uses x402 to provide frictionless blockchain payments:
This flow enables seamless machine-to-machine billing inside AI agent interactions.
🛠️ Technology Stack
Frontend
Backend
Blockchain & Wallet
Protocols
AI Frameworks
🧩 Architecture Components
Agents follow the A2A protocol, support streaming responses, and use LangGraph/CrewAI for agentic behaviors. We also added task-ID deduplication to prevent duplicate agent executions and automatic base64 handling for x402 payment headers.

