{"uid":"cap_dHDbDKZVZCU09oGcXZEIf","slug":"agentdiet-x402-broker-ai-context-window-distiller-6f55346b","name":"AgentDiet x402 Broker — AI 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/x402-broker?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_SqBj69fNc17teBYklMszx","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 a pay-per-call x402 endpoint, returning de-bloated token-efficient output with a compression ratio proof.","exampleAgentPrompt":"Use AgentDiet to compress this context window — strip the bloat and give me the distilled version along with the compression ratio so I can see how many tokens I'm saving.","exampleUseCases":[{"title":"Reduce LLM costs in long agent sessions","prompt":"My agent conversation history is getting huge and burning through tokens — run it through AgentDiet and compress the context window so I can keep going without hitting the limit or spending a fortune."},{"title":"Fit context into tight model token budget","prompt":"I need to squeeze this 10,000-token context down to fit inside a model with a 4,000-token window — can you use AgentDiet to distill it and show me the compression ratio I got?"},{"title":"Optimize A2A payload before forwarding","prompt":"Before my agent hands this context off to a downstream agent node, compress it with AgentDiet to cut the payload size — I want the de-bloated version and the ROI proof showing how much was trimmed."}],"resultDescription":"Returns a JSON object with a 'data' field containing the compressed/distilled context, a 'status' field confirming success, and a 'roi_proof' object with a 'compression_ratio_pct' field indicating the percentage of tokens removed (e.g. 91.4%).","failureModes":["Missing or malformed 'input' field returns a validation error","Unsupported HTTP method (not GET or POST) causes rejection","Payment not settled in USDC on Base results in 402 payment required response","Empty or trivially small context may yield low or no compression","Service node unavailable returns non-200 status"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to reduce the size of a context window or prompt payload before passing it to an LLM or downstream agent, especially in cost-sensitive or token-constrained agentic pipelines using x402/MCP/A2A protocols. It is particularly useful when you need a verifiable compression ratio proof as evidence of token savings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:19.740Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-broker-ai-context-window-distiller-6f55346b"}