A2A routing agent that maps plain-English onchain data requests to the right Graph Protocol service.
Graph Advocate Agent is a Claude-powered A2A (Agent-to-Agent) routing agent that intercepts plain-English data requests from other agents and routes them to the best Graph Protocol service — Token API, Subgraph Registry, or Substreams. It returns structured JSON with a ready-to-execute tool call, including a recommendation, confidence score, and install instructions. The agent supports multi-turn conversations, remembers context across a session, logs every recommendation to SQLite for performance tuning, and exposes 3 skills over the A2A protocol for agent-to-agent discovery. It is deployed on Railway and registered on A2A Registry, ERC-8004 (Arbitrum), Fetch.ai Agentverse, ClawHub, MoltBridge, and ASI:One.
Built with Python using the Anthropic Claude API (claude-opus-4-5 with extended thinking) as the core reasoning engine. The routing logic lives in advocate.py, which uses a system prompt trained on all Graph Protocol services. An A2A HTTP server (JSON-RPC 2.0) exposes the agent over the Agent-to-Agent protocol on port 8765. SQLite is used to log every recommendation for performance tuning. The project integrates with The Graph's Token API, Subgraph Registry, Substreams, and 9 npm MCP packages (@paulieb14). The agent is registered on ERC-8004 (Arbitrum One), A2A Registry, Fetch.ai Agentverse, ClawHub, MoltBridge, and ASI:One. Deployed and auto-deployed on Railway.

