{"uid":"cap_2WlaQU5LQPR9IKCb7YwO8","slug":"agentdiet-context-compress-c7145908","name":"AgentDiet Context Compress","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/context-compress?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_ZfrI5k2Tuptksn4atehly","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 via URL fetch, returning a de-bloated version with up to 91% token reduction","exampleAgentPrompt":"Can you compress this URL — https://example.com/long-article — using AgentDiet so it fits in my context window without burning thousands of tokens?","exampleUseCases":[{"title":"Compress long research article for LLM","prompt":"I need to feed this 20,000-word research paper at https://arxiv.org/abs/2301.12345 to my model but it's too long — can you run it through AgentDiet's context compressor so it fits within my token budget?"},{"title":"Reduce agentic pipeline context overhead","prompt":"My AI pipeline keeps hitting context limits when it reads documentation pages. Can you compress https://docs.someservice.com/reference with AgentDiet so we get the essential content at a fraction of the token cost?"},{"title":"Token-efficient web page distillation","prompt":"Before I analyze this news article at https://news.example.com/story-xyz, run it through AgentDiet to strip the bloat — I want to see the compression ratio proof too so I know how much was saved."}],"resultDescription":"Returns a JSON object with a 'data' field containing the compressed/distilled content, a 'status' field ('ok' on success), and a 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error status","Unsupported content type at the target URL — may return empty or malformed data","Missing required 'input' object — returns schema validation error","Payment not settled in USDC on Base — x402 payment failure before processing","Rate limiting or quota exceeded — service unavailable response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to fetch and process a URL but the raw content would exceed context window limits or incur high token costs. Ideal for agentic pipelines, A2A workflows, and MCP integrations where token efficiency matters. Particularly useful when you need verifiable compression metrics (roi_proof) to demonstrate cost savings. At $0.001 USDC per call it is cost-effective for high-volume document distillation tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:05.873Z","isFirstParty":false,"canonicalSlug":"agentdiet-context-compress-c7145908"}