{"uid":"cap_jtvKq2VlGew1dT2Fd1ZpV","slug":"agentdiet-context-window-distiller-token-compressor-df44cdac","name":"AgentDiet Context Window Distiller & Token Compressor","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/execute?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_wEUe4AUzIMdZWukmg4GDF","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 distills AI agent context windows via HTTP execution, reducing token usage by up to 85-91% while preserving semantic fidelity","exampleAgentPrompt":"Can you run my current conversation context through AgentDiet's distiller to shrink it down — I need to cut the token count as much as possible before passing it to the next model in my pipeline.","exampleUseCases":[{"title":"Trim bloated agent memory before LLM call","prompt":"My agent has accumulated a huge conversation history and I'm about to hit the token limit — can you compress this context down using AgentDiet's distiller so I can keep the conversation going without losing key information?"},{"title":"Cut LLM API costs on high-volume pipeline","prompt":"I'm running thousands of LLM calls per day and the input tokens are getting expensive — run my standard system prompt and context through AgentDiet to get the 85% compression so I can lower my per-call cost."},{"title":"Fit long document context into small model","prompt":"I need to feed this long document as context to a smaller model with a 4k token limit — can you use AgentDiet to distill it down to the essential parts so it actually fits?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the compressed/distilled output, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%). Payments are settled in USDC on Base via x402/L402 protocol at $0.01 per call.","failureModes":["Missing required 'input' field returns validation error","Invalid 'type' value (must be 'http') causes schema rejection","Empty or malformed query parameter results in no meaningful compression","Payment failure via x402 (insufficient USDC balance) blocks execution","Large inputs that exceed node processing capacity may return partial results","Method enum violation (anything other than GET or POST) causes rejection"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically reduce context window token counts before making downstream LLM calls, especially in high-throughput pipelines where token costs are a concern. It is particularly suited for A2A and B2A workflows using x402/L402 micropayment protocols on Base. Prefer it over manual summarization when deterministic, reproducible compression with a measurable ROI proof metric is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:08.384Z","isFirstParty":false,"canonicalSlug":"agentdiet-context-window-distiller-token-compressor-df44cdac"}