{"uid":"cap_XYq8Tq8HATnvyulJCzNIZ","slug":"agentdiet-bundle-execute-a2a-context-window-distiller-32bf9865","name":"AgentDiet Bundle Execute — A2A Context Window Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/bundle-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_8Ih-J4djhqxQvOMAEwK4j","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":"Executes a deterministic context-compression bundle that distills bloated AI context windows by up to 85–91%, reducing token usage for agent pipelines","exampleAgentPrompt":"Can you run my context through AgentDiet's bundle-execute distiller to compress it down as much as possible — I want to see the compression ratio proof so I know how many tokens I saved?","exampleUseCases":[{"title":"Token cost reduction for RAG pipeline","prompt":"My RAG pipeline is burning through tokens — can you send this retrieved document context through the AgentDiet context distiller and show me how much compression I get back?"},{"title":"A2A agent context slimming before LLM call","prompt":"Before I send this accumulated agent context to the LLM, run it through the AgentDiet bundle-execute endpoint to strip the bloat and tell me the compression ratio it achieves."},{"title":"MCP workflow context de-bloating","prompt":"I've got a massive MCP tool context that keeps hitting token limits — use AgentDiet to execute a compression bundle on it and return the slimmed-down version with the ROI proof."}],"resultDescription":"Returns a JSON object with a 'data' field containing the compressed/distilled content, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including 'compression_ratio_pct' showing how much the context was reduced (e.g. 91.4% compression).","failureModes":["Missing required 'input.type' or 'input.method' fields returns a validation error","Query parameter 'query' absent or malformed may result in empty or default compression output","Payment not settled in USDC on Base causes 402 payment required error","Invalid HTTP method enum value (not GET or POST) triggers schema rejection","Network timeout if bundle execution exceeds processing time limit"],"whenToPreferThis":"Choose this endpoint when you need deterministic, measurable context window compression for AI agent or LLM pipelines and want a cryptographic/financial proof of the compression ratio. Ideal for A2A, MCP, or RAG workflows where token cost reduction is critical and you need a verifiable ROI metric. Prefer over general-purpose text summarizers when you need deterministic execution guarantees and micropayment-gated access via x402/L402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:08.380Z","isFirstParty":false,"canonicalSlug":"agentdiet-bundle-execute-a2a-context-window-distiller-32bf9865"}