{"uid":"cap_GaClmAJvYJBqBv1HovOOp","slug":"agentdiet-context-window-distiller-621d2876","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/api/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_Gj_oNhD1k_mu_8Fdl7j9O","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 context windows to reduce token usage by up to 85-91% via a paid micro-transaction endpoint","exampleAgentPrompt":"Can you run this URL through AgentDiet to compress it and reduce the token footprint before I pass it into my agent pipeline? Use GET mode and give me the compression ratio it achieves.","exampleUseCases":[{"title":"Trim bloated web page for LLM","prompt":"This news article URL is way too long to fit in my context window — can you distill it down using AgentDiet so I only pass the essential content to my LLM?"},{"title":"Cut agent pipeline token costs","prompt":"I'm spending too much on tokens in my multi-agent workflow. Can you run my context through AgentDiet to compress it and show me the compression ratio I'm getting?"},{"title":"Fit document within context limit","prompt":"This document is too large to send to the model in one shot. Can you use AgentDiet to strip it down to just the key information so it fits within the context limit?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the compressed/distilled output, a 'status' field indicating success, and an 'roi_proof' object showing the achieved compression_ratio_pct (e.g. 91.4%), proving how much token reduction was accomplished.","failureModes":["Missing required 'input' object or 'type'/'method' fields returns a validation error","Invalid or unreachable URL in queryParams results in fetch failure","Unsupported HTTP method (not GET or POST) rejected by enum validation","Payment not settled in USDC on Base may result in 402 payment required response","Empty or already minimal content may yield low compression ratios"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to reduce context window size before passing content to an LLM, especially in multi-agent (A2A) or MCP pipelines where token costs and context limits are a bottleneck. It is particularly valuable when processing long web pages or documents that exceed model context limits, and when you need verifiable proof of compression ROI. Best for agent-native workflows that support x402 micropayment settling in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:43.972Z","isFirstParty":false,"canonicalSlug":"agentdiet-context-window-distiller-10ea96b4"}