AgentDiet — A2A Context Window Distiller is a paid API for AI agents from mcp-security.agentdiet.dev, paid per call via x402 or MPP, $0.001/call, status unknown (last checked 2026-11-20).
Fetches a web URL and compresses its content into compact, agent-ready tokens using extraction modes (markdown, structured, skeleton, or budget) with BM25 focus queries and strict token ceilings
Distill a web URL into compact agent-ready tokens (Live x402 v2, IETF MPP & MCP endpoint at https://mcp-security.agentdiet.dev/v1/rag-diet)
Returns a JSON object with a 'data' field containing the distilled content in the requested format (markdown text, structured JSON tables/metadata, skeleton outline, or BM25-focused budget excerpt), plus an 'roi_proof' object showing raw vs distilled token counts, tokens saved, compression ratio percentage, ROI multiplier, and estimated LLM cost saved in USD. Also includes cache status (HIT/MISS), billing details, and execution status.
GEThttps://mcp-security.agentdiet.dev/v1/rag-diet?utm_source=zero.xyzChoose this endpoint when an AI agent needs to ground itself on live web content but must stay within a tight context window or token budget. It is especially valuable when passing documentation pages, articles, or web references into an LLM and you want to minimize token costs while preserving semantic fidelity. Prefer it over raw fetch when the target page is long or HTML-heavy. Use budget mode with a query when only a specific sub-topic within the page is relevant.
| Field | Type | Description |
|---|---|---|
| urlrequired | string | Target webpage URL to distill (or builtin://stripe-docs) |
| mode | string | Extraction mode: markdown, structured, skeleton, or budget |
| limit | integer | Maximum number of items to return per page (1-100) |
| query | string | BM25 focus query when mode=budget |
| cursor | string | Opaque pagination cursor for fetching the next page |
| max_tokens | integer | Strict token ceiling when mode=budget |
| Field | Type | Description |
|---|---|---|
| datarequired | object | Distilled Markdown, structured JSON tables/metadata, skeleton outline, or BM25 budget excerpt. |
| cache | object | |
| statusrequired | string | Execution status ('ok') |
| billing | object | |
| roi_proofrequired | object |
No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"