{"uid":"cap_6OQkzbXjMKNOuvZjSBFst","slug":"agentdiet-context-window-distiller-10ea96b4","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/distill?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_dAOcfsVt7XVAMbNJDSe_-","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 a URL's content by up to 85-91% fewer tokens, stripping bloat so AI agents can process it efficiently within tight context windows.","exampleAgentPrompt":"Can you distill the content at https://example.com/long-article into a compressed version that fits in my context window — I need it in the smallest possible token footprint?","exampleUseCases":[{"title":"Long article summarized for agent pipeline","prompt":"This research paper at https://arxiv.org/abs/2301.00001 is way too long for my context window — can you distill it down so I can pass the key content to my agent without blowing the token budget?"},{"title":"Cost reduction on high-volume scraping","prompt":"I'm fetching dozens of product pages from https://shop.example.com/products/widget-X for my pricing agent — can you compress each one so I'm not wasting tokens on navigation menus and boilerplate?"},{"title":"Real-time news feed compression for AI digest","prompt":"Pull the content from https://news.example.com/latest and distill it down to the essential information — I want to feed it into my daily briefing agent without using up half my context limit."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled content, a 'status' field confirming success, and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%), allowing agents to verify how much token reduction was accomplished.","failureModes":["URL is unreachable or returns non-200 — distillation cannot proceed","URL points to non-text content (e.g. binary files, images) — no meaningful text to distill","Missing required 'input' or 'method' fields — returns validation error","Payment not settled in USDC on Base — x402 payment required before content is returned","Extremely short URLs with minimal content may yield low compression ratio"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to process web content but the raw page is too large for the available context window, or when you want to reduce LLM token costs by compressing fetched content before passing it downstream. It is especially valuable in high-volume agent pipelines where token efficiency directly impacts cost. Prefer it over raw web scraping when the downstream consumer is an LLM with context limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:18.828Z","isFirstParty":false,"canonicalSlug":"agentdiet-context-window-distiller-10ea96b4"}