{"uid":"cap_A93-63k2dIed1W0Uc3Q3I","slug":"agentdiet-a2a-context-window-router-c8088c0f","name":"AgentDiet A2A Context Window Router","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/a2a-router?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"query":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mp27d1eOLBlpoI59ppad6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes A2A/MCP requests through a context-distilling node that compresses AI agent context windows by up to 91% to reduce token costs","exampleAgentPrompt":"I need to compress my agent's context window before sending it downstream — run it through AgentDiet's A2A router with a GET request so I can see the compression ratio and get back the distilled output.","exampleUseCases":[{"title":"Slash token costs in agent pipeline","prompt":"My AI pipeline is burning through tokens because the context window keeps ballooning — can you send my current context through the AgentDiet A2A router to compress it and show me the compression ratio I'm getting?"},{"title":"MCP context distillation before LLM call","prompt":"Before I send this MCP payload to the LLM, run it through the AgentDiet context de-bloater via a GET query so I can cut the token count and see the ROI proof."},{"title":"Monitor compression performance on A2A traffic","prompt":"Route this agent-to-agent message through the AgentDiet distiller and tell me what compression ratio it achieved — I want to confirm it's hitting close to 85-90% reduction."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled/compressed output, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%).","failureModes":["Missing required 'input' object returns validation error","Invalid 'type' value (must be 'http') causes schema rejection","Unsupported HTTP method enum value returns error","Payment not settled in USDC on Base results in 402 Payment Required","Empty or malformed query string causes router to return empty data"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to reduce context window size before passing it to a downstream LLM or agent node, especially in cost-sensitive pipelines where token count directly maps to inference cost. Best suited for A2A, B2A, and MCP workflows using x402/L402 micropayment protocols on Base where a per-call flat fee of $0.01 USDC is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:07.082Z","isFirstParty":false,"canonicalSlug":"agentdiet-a2a-context-window-router-c8088c0f"}