An aggregator proxy and control plane for x402 facilitators
route-402 is an early-stage TypeScript project in the AI payments / x402 ecosystem. It currently has 1 GitHub stars and 0 forks.
Route402 is a multi-tenant router/proxy for x402 facilitator APIs. It exposes a facilitator-compatible facade for verify, settle, and supported requests while routing traffic based on tenant-configured rules.
POST /api/facilitator/verifyPOST /api/facilitator/settleGET /api/facilitator/supportedpaymentRequirements.verify() and return normalized result.settle() and return normalized result.unknown and enqueue reconciliation.supported() responses.bun install
bun run dev
bun run typecheck
bun run lint
bun test
Copy .env.example to .env and fill in required values.
DATABASE_URL for Neon Postgres (pooled, runtime)DRIZZLE_DATABASE_URL for migrations (non-pooled)BETTER_AUTH_SECRET and BETTER_AUTH_URL for Better AuthROUTE402_MASTER_KEY for credentials encryptionbun run db:generate
bun run db:migrate
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
A payments protocol for the internet. Built on HTTP.
A local-first AI agent with persistent memory, emotional intelligence, and a peer-to-peer skills economy.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Self-healing infrastructure for AI agent payments. 90.3% auto-recovery.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.