# AgentDiet Agent Router

> AgentDiet Agent Router is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Universal meta-router that discovers, proxies, and routes requests to 500+ MCP servers and A2A tools via a single connection with token compression and prompt-guard firewall.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/agent-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-agent-router-36198b44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z8_Ef0Pq_hLzBl8xnQWJl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentdiet-agent-router-36198b44
```

Example prompt: Search AgentDiet's meta-router for any available MCP tools or A2A agents that can handle web scraping tasks — I want to find everything indexed across its 500+ servers with a single query.

## When to prefer this

Choose this endpoint when an agent needs to discover or route to any of 500+ MCP servers or A2A tools without knowing the specific server address, or when you want a single-connection abstraction over a broad tool ecosystem with built-in token compression and safety filtering.

## Known failure modes

- Query returns no matching tools if the search term is too niche or not indexed
- Rate limiting or payment failure if USDC payment is not properly attached
- Prompt-Guard firewall may block queries that appear adversarial or unsafe
- Empty result set for very new or unlisted MCP servers not yet indexed
- Malformed query parameter may return 400 error

## How this service works

Single-connection meta-router indexing 500+ MCP servers & A2A tools with 85% token compression and Prompt-Guard firewall. (Live x402 v2, IETF MPP & MCP endpoint at https://agentdiet.dev/v1/agent-router)

## Output

Returns a list of matching MCP servers, A2A tool endpoints, or routing metadata relevant to the query, with token-compressed responses and safety filtering applied via the Prompt-Guard firewall.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-agent-router-36198b44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
