Bloomberg Terminal of the AI Agent Economy — x402 micropayment routing, 31 AI providers, smart pricing oracle on Base
agora-oracle is an early-stage JavaScript project in the AI payments / x402 ecosystem, focused on ai-agent, ai-api, base-network, coinbase. It currently has 1 GitHub stars and 0 forks, and sits alongside related tools like x402-discovery-mcp, bookkeeper-finder-agent, Franklin, APIbase, APIMesh, x402-wiki.
Bloomberg Terminal of the AI Agent Economy
Real-time AI API pricing, smart routing, and cost optimization platform with x402 micropayment integration.
🔗 Production: agora-oracle.onrender.com 📦 x402 Bazaar: Auto-listed on discovery
AI agents waste millions daily on suboptimal API choices. AGORA is the first x402-powered pricing oracle that:
Think Bloomberg Terminal for the AI agent economy.
| Feature | Endpoint | Price | Description |
|---|---|---|---|
| Smart Router | POST /v1/smart-route |
$0.001 | AI provider routing with 50-80% cost savings |
| Analytics | GET /v1/analytics/* |
$0.0005 | Spending breakdown & savings reports |
| Agent Marketplace | GET /v1/agent-services/compare |
$0.0005 | Compare x402 Bazaar services (Kayak.com for AI) |
| Agent Details | GET /v1/agent-services/* |
$0.0003 | Service details + 30-day price history |
| Price Alerts | POST /v1/alerts |
$0.0002 | Real-time WebSocket notifications |
| Forecast | GET /v1/forecast/* |
$0.001 | 7-day ML-powered price predictions |
```bash npm install ```
```bash
cp .env.example .env
OPENAI_API_KEY=sk-... ANTHROPIC_API_KEY=sk-ant-... DEEPSEEK_API_KEY=sk-...
CDP_API_KEY=your-cdp-api-key CDP_API_SECRET=your-cdp-secret AGORA_WALLET_ADDRESS=0x... ```
```bash npm start ```
Server runs on http://localhost:3402
AGORA uses x402 protocol for micropayments. Here's how to use premium endpoints:
```javascript import { X402Client } from '@coinbase/x402';
const client = new X402Client({ walletPrivateKey: process.env.WALLET_PRIVATE_KEY, network: 'base' });
// Smart Router example ($0.001 USDC) const response = await client.post('https://agora-oracle.onrender.com/v1/smart-route', { prompt: "Explain quantum computing", budget: 0.01, // Max $0.01 options: { quality: 'highest', speed: 'balanced' } });
console.log(response.data); // { // provider: "deepseek", // model: "deepseek-chat", // estimated_cost: 0.0024, // savings: "76% vs GPT-4", // reasoning: "DeepSeek offers 10x lower cost with comparable quality" // } ```
```bash
curl -X POST https://agora-oracle.onrender.com/v1/smart-route \ -H "Content-Type: application/json"
curl -X POST https://agora-oracle.onrender.com/v1/smart-route \ -H "Content-Type: application/json" \ -H "X-Payment-Proof: " \ -d '{"prompt": "...", "budget": 0.01}' ```
```javascript import WebSocket from 'ws';
const ws = new WebSocket('wss://agora-oracle.onrender.com/ws/alerts');
// Authenticate with API key ws.on('open', () => { ws.send(JSON.stringify({ type: 'auth', agentId: '123', apiKey: 'your-api-key' })); });
// Receive real-time alerts ws.on('message', (data) => { const alert = JSON.parse(data); console.log(alert); // { // type: 'price_drop', // provider: 'anthropic', // model: 'claude-3-5-sonnet', // old_price: 0.003, // new_price: 0.0015, // drop_percent: 50, // timestamp: '2026-02-24T10:30:00Z' // } }); ```
Get all current AI API rates ```bash curl https://agora-oracle.onrender.com/v1/rates ```
Get rates by category (chat, embedding, vision) ```bash curl https://agora-oracle.onrender.com/v1/rates/chat ```
List all AI providers ```bash curl https://agora-oracle.onrender.com/v1/providers ```
Compare providers side-by-side ```bash curl https://agora-oracle.onrender.com/v1/compare?models=gpt-4,claude-3-5-sonnet ```
See x402 Integration Guide above for authentication.
```bash
npm install
npm run dev
npm test ```
CDP_API_KEYCDP_API_SECRETAGORA_WALLET_ADDRESSNODE_ENV=production```bash docker build -t agora-oracle . docker run -p 3402:3402 --env-file .env agora-oracle ```
PRs welcome! See CONTRIBUTING.md
MIT © 2026 AGORA Oracle
Built with ❤️ for the AI agent economy
MCP server for x402 Service Discovery — continuously growing catalog of services, real-time quality signals, facilitator-compat checks. For Claude, Cursor, Windsurf.
No description.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
Universal MCP gateway for AI agents — 1108 tools, 307 providers. One endpoint (https://apibase.pro/mcp), pay-per-call with x402 USDC on Base + MPP USDC on Tempo.
APIMesh — 23 pay-per-call web analysis APIs + 16-tool MCP server with autonomous API generation. Security audits, SEO, tech stack detection. x402 + Stripe MPP payments.
The x402 Service Encyclopedia — Every service ranked, reviewed, and documented. Community knowledge base for the AI agent economy.
A payments protocol for the internet. Built on HTTP.
Self-healing infrastructure for AI agent payments. 90.3% auto-recovery.
Daydreams is a set of tools for building agents for commerce
The best way to monetize AI applications & MCP, using x402, CDP Smart Wallets & Paymaster
URL shortener
AWS payment demo of x402 using Bedrock AgentCore, Strands SDK, and CloudFront.