{"uid":"cap_83CMDrzrrG019QkeMinaK","slug":"agentdiet-context-window-distiller-bd2575e1","name":"AgentDiet Context Window Distiller","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/context-diet?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":{"url":{"type":"string"},"mode":{"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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NSLwch4WiWqzUwIp-yw9f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses and distills AI agent context windows by fetching and de-bloating web content to reduce token usage by up to 85-91%","exampleAgentPrompt":"Fetch and compress the content at https://example.com/long-article using AgentDiet so it fits in my context window — I want the distilled version with as few tokens as possible.","exampleUseCases":[{"title":"Compress long documentation for agent","prompt":"I need you to fetch https://docs.example.com/reference and compress it down so it fits in my context window — strip out all the fluff and give me just the essential content."},{"title":"Reduce token cost for web research","prompt":"Pull the content from https://news.example.com/2024/big-story and distill it to the bare minimum tokens — I'm trying to keep my LLM costs down while still getting the key information."},{"title":"De-bloat a web page for multi-agent pipeline","prompt":"My agent pipeline is hitting context limits — can you use AgentDiet to fetch https://reports.example.com/q4 and shrink it to an 85% smaller token footprint before passing it downstream?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled/compressed content, a 'status' field confirming success, and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved — allowing callers to verify token savings.","failureModes":["URL is unreachable or returns a non-200 response — likely returns an error status","URL points to non-text content (PDF, image, binary) that cannot be distilled","Malformed or missing 'url' query parameter results in a bad request error","Rate limiting or payment failure via x402 if USDC balance is insufficient","Mode parameter specifies an unsupported compression mode"],"whenToPreferThis":"Choose AgentDiet when your AI agent or pipeline needs to fetch web content but is constrained by context window token limits or LLM inference costs. It is particularly valuable in multi-agent (A2A) or MCP pipelines where content must be passed between nodes efficiently. Prefer it over raw web fetching when token efficiency matters and a 25-node deterministic execution network with on-chain USDC payment settlement is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:26.313Z","isFirstParty":false,"canonicalSlug":"agentdiet-context-window-distiller-10ea96b4"}