AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Claude-powered routing for The Graph Protocol. Paid calls run the query and return the rows across 15,500+ subgraphs, Token API and Substreams. Pay-per-query via x402 on Base.
Developer toolsPython · ShellGitHub @PaulieB14OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Graph Protocol routing agent — routes multi-agent data requests to Token API, Subgraph Registry, or Substreams
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Onchain Data Routing Agent for The Graph Protocol Ask a question about blockchain data. Get back the right subgraph, a ready-to-execute query, and an MCP install hint. For LLM tools (Cursor, Claude Code, etc.): point at https://graphadvocate.com/llms.txt for auto-discovery of routing services and capabilities. Ask in plain English. No key, no signup, no wallet: Chat gives you the query, not the answer: which subgraph or service to use, the GraphQL to run aga [README 설치·사용 부분 발췌] Quick start See Try it at the top — /chat for a person, A2A JSON-RPC for an agent.Read the full README ↗
Onchain Data Routing Agent for The Graph Protocol
Ask a question about blockchain data. Get back the right subgraph, a ready-to-execute query, and an MCP install hint.
📚 Docs · Live Dashboard · Chat · Agent Card · llms.txt · capabilities.json
Discoverable on: Agentic Market · CDP Bazaar · Ampersend · Agentverse · x402scan · ClawHub · 8004scan
For LLM tools (Cursor, Claude Code, etc.): point at
https://graphadvocate.com/llms.txtfor auto-discovery of routing services and capabilities.
Ask in plain English. No key, no signup, no wallet:
curl -sX POST https://graphadvocate.com/chat -H "Content-Type: application/json" \
-d '{"message":"best subgraph for uniswap v3 on ethereum"}'
Chat gives you the query, not the answer: which subgraph or service to use, the GraphQL to run against it, its schema, and how to get your own free Token API JWT. It never returns the data itself — you run the query with your key, or use the paid endpoints below, which run it for you.
For an agent speaking A2A, the same question over JSON-RPC — where metadata.name (or sender,
a wallet address) claims 3 free routed queries a day:
curl -sX POST https://graphadvocate.com -H "Content-Type: application/json" -d '{
"jsonrpc":"2.0","id":1,"method":"message/send",
"params":{"message":{"role":"user","messageId":"1",
"parts":[{"kind":"text","text":"Top Aave V3 markets by TVL"}],
"metadata":{"name":"my-agent"}}}}'
You get back the subgraph to use and a query that runs as-is:
{
"recommendation": "subgraph-registry",
"reason": "Aave V3 Ethereum (Messari standardized) indexes Market entities with totalValueLockedUSD and inputToken. This returns the largest reserves by TVL with token symbols.",
"query_ready": {
"tool": "execute_query_by_subgraph_id",
"args": {
"subgraph_id": "JCNWRypm7FYwV8fx5HhzZPSFaMxgkPuw4TnR3Gpi81zk",
"gql": "{ markets(first: 10, orderBy: totalValueLockedUSD, orderDirection: desc) { id name totalValueLockedUSD inputToken { symbol } } }"
}
}
}
Three access paths, on purpose.
/chat— open, no identity. Hands you the query and the Token API details; never the data. A2A withmetadata— 3 free routed queries a day, including aquery_readyyou can execute. Anonymous machine calls — $0.01 from the first request: an unidentified caller with no rate limit is indistinguishable from a scraper.The line is deliberate. Guidance is free; execution against metered infrastructure is not.
Routes plain-English data requests to the right Graph Protocol service — Token API, Subgraph Registry, Substreams, or one of 6 protocol-specific MCP packages (Aave, Uniswap, Polymarket, lending, Limitless, Predict.fun). Every response includes a working query you can execute immediately.
Searches 15,500+ indexed subgraphs in real-time. Powered by Claude.
Accepts autonomous agent payments on Base mainnet via x402. Verified and settled by the Coinbase CDP facilitator.
| Free tier | 3 queries/day per agent (POST /, POST /chat, POST /route) |
| Network | Base (eip155:8453) |
| Facilitator | Coinbase CDP |
| Verification | POST /admin/self-test-paid {"all": true} — exercises every paid handler |
| Endpoint | Price | Returns |
|---|---|---|
POST /route | $0.01 | Routed query + ready-to-run GraphQL |
POST /hyperliquid/score | $0.02 | Derived skill metrics for an HL trader |
POST /hyperliquid/pnl | $0.05 | Scores + open positions + recent activity |
POST /hyperliquid/screen | $0.05 | Top N traders of a coin with per-trader skill scores (N capped at 10) |
POST /hyperliquid/vault | $0.10 | Vault evaluator: leader skill + depositor concentration + redemption pressure |
POST /hyperliquid/risk | $0.02 | Counterparty risk: liquidation rate + funding burn + outflow flag |
POST /hyperliquid/fills | $0.02 | Recent fill stream for a coin with bid/ask flow summary (N capped at 10) |
POST /polymarket/pnl-quick | $0.01 | Skill score + classification for a wallet |
POST /polymarket/pnl | $0.05 | Full PnL: scores + per-position records |
POST /polymarket/screen | $0.02 | Top wagerers on a market with ghost-fill risk (N capped at 10) |
POST /polymarket/risk | $0.02 | Wallet-type detection + ghost-fill risk classification |
POST /kalshi/consensus-trend | $0.05 | Kalshi consensus-probability slope + acceleration (uses Kalshi-unique forecast_history) |
POST /kalshi-polymarket/spread | $0.05 | Cross-source arbitrage spread between Kalshi and Polymarket on a topic — JOIN passthrough APIs can't return |
POST /kalshi/sports-live-edge | $0.05 | Live sports mispricing: play-by-play momentum vs market reaction; flags latency-arb windows |
POST /predmarket/spread | $0.05 | Polymarket ↔ Limitless cross-venue spread on a topic — paired markets, per-pair yes-mid spread (bps), arbitrage direction. JOIN single-venue passthroughs can't return |
POST /narrative/divergence |
# Try it
npx agentcash try https://graphadvocate.com
| Protocol | Identity |
|---|---|
| A2A | POST / — JSON-RPC 2.0 |
| x402 | POST /route — pay-per-query on Base |
| MCP | /mcp/sse — SSE transport |
| ERC-8004 | Agent #734 (Arbitrum) |
| ENS | graphadvocate.eth |
Routes to: Token API (balances, swaps, NFTs), Subgraph Registry (15,500+ protocols), Substreams (raw blocks), Cambrian deep42 (social signal, JOINed with on-chain flow), graph-aave-mcp (40 tools), graph-polymarket-mcp (31 tools), graph-lending-mcp, graph-limitless-mcp, predictfun-mcp, 8004scan (agent discovery).
Flat module layout, grouped here by role. Web entrypoint is a2a_server.py (python a2a_server.py).
Server & routing
a2a_server.py — A2A/x402 HTTP server: JSON-RPC 2.0, payments, dashboard, paid-endpoint wiringadvocate.py — Core routing: keyword auto-search, Claude call, response parsing, SQLite loggingmcp_server.py — MCP server (SSE transport)Paid intelligence endpoints — derived signals, the x402 revenue surface
hyperliquid_intel.py — Hyperliquid trader skill / risk / vault metricspolymarket_intel.py — Polymarket trader skill + ghost-fill riskkalshi.py — Kalshi consensus-trend, sports-live-edge, Kalshi↔Polymarket spreadlimitless_intel.py — Polymarket↔Limitless cross-venue spreaduniswap_intel.py — Uniswap pre-trade / DeFi-spot intelligenceagent_score.py — 0–100 agent reputation score (ERC-8004 + on-chain + feedback)b20.py — B20 native token-standard helpers (Base)Outreach — inbound conversion vs outbound paying (two different jobs)
outreach.py — Daily inbound conversion: find x402/A2A agents on 8004scan and ask them to CALL and PAY Graph Advocate. Does not spend. Persistence on the Railway volume (/data). Win = on-chain settlement to payTo, not HTTP 200.x402_outreach.py — Outbound x402 client (GA pays other agents). Unchanged. Gated by GA_BASE_WALLET_PK + /admin/outreach-pay.Dashboards & monitoring
dashboard.py — Terminal dashboard (recommendation-log stats)generate_dashboard.py — Renders dashboard.html from the SQLite logx402_dashboard.py — x402 ecosystem dashboard data pipelineExamples & tests
a2a_client_example.py · example_usage.py — Sample agents calling GA over A2Atest_advocate_routing.py — Routing test suite (python3 test_advocate_routing.py, 90 tests)Directories — docs/ Mintlify docs site · static/ assets · dune/ Dune analysis exports & queries
See Try it at the top — /chat for a person, A2A JSON-RPC for an agent.
The command that used to live here omitted metadata, so it returned a payment challenge rather
than an answer: correct behaviour, but a poor first impression from a README.
git clone [email protected]:PaulieB14/graph-advocate.git && cd graph-advocate
pip install -r requirements.txt
cp .env.example .env # add ANTHROPIC_API_KEY
python3 a2a_server.py
Railway (auto-deploy on push). Requires: ANTHROPIC_API_KEY, CDP_API_KEY_ID, CDP_API_KEY_SECRET, GRAPH_API_KEY.
Live: https://graphadvocate.com
MIT
| $0.05 |
| Social momentum vs on-chain flow — Cambrian deep42 JOINed with Uniswap flow acceleration. Finds tokens loud on social but quiet on-chain, and real flow nobody is tweeting about |
POST /uniswap/pretrade | $0.02 | Pre-trade check: real liquidity, deepest venue, honeypot flow, volume trend |
POST /uniswap/basis | $0.05 | Uniswap spot vs Hyperliquid perp basis — cross-venue JOIN |
POST /uniswap/traders | $0.02 | Per-wallet Uniswap flow: accumulators vs distributors |
POST /polymarket/leaders | $0.02 | Polymarket leaderboard with derived skill metrics |
POST /onchain-x402/address | $0.01 | On-chain x402 activity for an address (Base settlements) |
POST /ask | $0.05 | Natural-language Q&A over 132M+ x402 settlements on Base |
POST /agent/score | $0.02 | 0–100 agent reputation (ERC-8004 + USDC settlements + feedback registry) |