{"uid":"cap_wfs615miDXV3N_7JUWbSA","slug":"agentdiet-cs-lg-digest-context-window-distiller-335d4c63","name":"AgentDiet CS-LG Digest — 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/cs-lg-digest?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_BgtuPJ0ImX3GEfxS9s6dV","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":"Compresses and digests large agent context windows, reducing token count by up to 85-91% while preserving essential information.","exampleAgentPrompt":"Run my current conversation context through AgentDiet's CS-LG digest to strip out the bloat and compress it — I need an 85%+ token reduction before passing it to the next agent node.","exampleUseCases":[{"title":"Reduce LLM costs in production agent pipeline","prompt":"My agent pipeline is burning too many tokens on each call — run the accumulated context through AgentDiet's digest endpoint and give me back the compressed version with the compression ratio proof."},{"title":"Fit long conversation history into token limit","prompt":"This conversation history is way too long to fit in the next model's context window — can you distill it down using AgentDiet so I'm only passing the essential parts?"},{"title":"Pre-process context before A2A handoff","prompt":"Before handing off to the next agent node, compress this context window with AgentDiet's CS-LG digest so the downstream agent isn't overwhelmed with redundant information."}],"resultDescription":"Returns a JSON object with a 'data' field containing the compressed/distilled context, a 'status' field ('ok' on success), and an 'roi_proof' object containing a 'compression_ratio_pct' value (e.g. 91.4%) demonstrating how much token reduction was achieved.","failureModes":["Missing or malformed 'input' object returns validation error","Unsupported HTTP method (not GET or POST) rejected at schema level","Empty or absent query param may return minimal or empty digest","Payment failure (x402) if USDC balance insufficient on Base","Service unavailability reflected at status.agentdiet.dev"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to reduce context window size before an LLM call, when token costs are a concern in long-running agent pipelines, or when passing context between A2A nodes and you need deterministic compression with a verifiable compression ratio proof. Prefer over manual summarization when you need reproducible, measurable token reduction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:22.741Z","isFirstParty":false,"canonicalSlug":"agentdiet-cs-lg-digest-context-window-distiller-335d4c63"}