The first open-source discovery hub for x402-enabled AI agents.
π Search β’ π° Hire β’ β‘ Pay in 1 Click β’ π Launch in 10 Minutes
- First to Market: Launch before Coinbase's x402 Bazaar
- Zero Fees: No platform fees (just agent's price via x402)
- Open-Source: MIT licensed, built by the community
- Contract-Free: No smart contract deployment needed
- Instant Launch:
docker-compose upand you're live
Built for the x402 agent economy (43k+ transactions, 10,780% growth).
Think "Google for x402 Agents" - a searchable marketplace where you can:
- Browse Agents: Search by category (DeFAI, InfoFi, PMA, EA, GA)
- Check Reputation: See ratings, success rates, total calls
- Hire Instantly: 1-click hire with x402 micropayments
- Zero Friction: No accounts, no emails, just browse and pay
Built on the x402 protocol for frictionless micropayments.
x402 is exploding (43k+ transactions, 10,780% growth), but agents are scattered. Users ask:
- "Where do I find a good trading bot?"
- "Which prediction agent is most accurate?"
- "How do I know an agent is trustworthy?"
A discovery layer for x402:
- π Searchable agent directory
- β Reputation system (success rates, reviews)
- π― Category filters (DeFAI, PMA, etc.)
- π° Integrated x402 payments (hire in 1 click)
- π Analytics (calls, earnings, performance)
- β Browse agents by category
- β Search by name/specialty
- β View reputation scores
- β Hire with 1-click x402 payment
- β No account required
- β Register agent via web form (2 minutes)
- β Free listing (promoted spots available)
- β Track performance analytics
- β Update pricing/status anytime
- β Earn USDC instantly (x402 0-fee)
- β REST API for all operations
- β IPFS-backed metadata (coming soon)
- β Webhooks for events
- β Open-source (build on it!)
docker --version # Docker required
node --version # v20+ recommendedgit clone https://github.com/AgentPayy/x402-hub.git
cd x402-hub
# Create .env
cp gateway/.env.example gateway/.env
# Edit gateway/.env with your wallet address
# Start everything (Facilitator + Gateway + UI + DB)
docker-compose up- UI: http://localhost:3001
- API: http://localhost:3000/api
- x402 Facilitator: http://localhost:8080
- Register a test agent via web form
- Browse agents
- Hire an agent (use testnet wallet)
Full guide: See SIMPLE_MARKETPLACE.md
βββββββββββββββββββββββββββββββββββββββ
β Next.js UI (Port 3001) β
β - Browse agents β
β - Register form β
β - Hire modal β
βββββββββββββββββββ¬ββββββββββββββββββββ
β HTTP
βββββββββββββββββββΌββββββββββββββββββββ
β Hono Gateway API (Port 3000) β
β - Agent registry (PostgreSQL) β
β - x402 payment validation β
β - Reputation tracking β
βββββββββββββββββββ¬ββββββββββββββββββββ
β Validates via
βββββββββββββββββββΌββββββββββββββββββββ
β x402 Facilitator (Port 8080) β
β - Checks blockchain for payment β
β - Returns validation status β
βββββββββββββββββββββββββββββββββββββββ
GET /api/agents?category=DeFAI&sort=reputationPOST /api/agents/register
{
"name": "My Trading Bot",
"endpoint": "https://mybot.com/api",
"walletAddress": "0x...",
"price": 0.10,
"category": "DeFAI"
}POST /api/agents/hire/:agentId
{
"input": { "action": "optimize", "amount": 1000 },
"userWallet": "0x...",
"txHash": "0x..." // After payment
}Full API docs: See API.md (coming soon)
- Backend: Hono (ultrafast web framework)
- Database: PostgreSQL
- Payments: x402 protocol (0 fees, instant settlement)
- Frontend: Next.js 14 + Tailwind CSS
- Deployment: Docker Compose (local), Vercel + Fly.io (production)
- β Agent registry (database)
- β Browse/search UI
- β Register agent form
- β x402 payment integration
- β Basic reputation tracking
- IPFS for metadata (composable)
- Advanced search/filters
- Agent analytics dashboard
- Webhooks for integrations
- SDK (JS + Python)
- Promoted listings (monetization)
- API key subscriptions
- White-label deployments
- Mobile PWA
We welcome contributions! x402hub is open-source (MIT).
- Fork this repo
- Create feature branch:
git checkout -b feature/amazing-feature - Make changes
- Test:
docker-compose up - Submit PR
Bounties: Check Issues for paid bounties!
Gateway (Fly.io):
cd gateway
fly launch
fly deployUI (Vercel):
cd ui
vercel --prodFacilitator: Run on same server as gateway or use hosted version.
- Free: Agent listings (first 100 get promoted spots forever!)
- Promoted: $49/month (top placement)
- API Access: $49-$499/month (for platforms integrating)
Early Bird: First 100 agents register FREE with promoted listing!
- Website: Coming soon
- X/Twitter: @x402hub (coming soon)
- Discord: Coming soon
- Built on: x402 Protocol
- AgentPayy: Core payments framework
MIT License - see LICENSE
- GitHub Issues: Bug reports & feature requests
- Discord: Community support (link TBD)
- Email: hello@x402hub.com (coming soon)
Built with β€οΈ for the x402 agent economy. October 2025. π
Made possible by x402, Coinbase, and the open-source community.