# AgentDiet Context Bloat Eliminator

> AgentDiet Context Bloat Eliminator is a paid API for AI agents from status.agentdiet.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Compresses and distills AI agent context windows by removing token bloat, returning a leaner version of the input context with up to 91% compression ratio.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/context-bloat-eliminator?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-context-bloat-eliminator-adacf472
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wh9MDGq8lHQQ7Fu87FsX9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentdiet-context-bloat-eliminator-adacf472
```

Example prompt: Can you run my context URL through AgentDiet's context bloat eliminator to compress it and show me how much token reduction I get back?

## When to prefer this

Choose this endpoint when an AI agent or pipeline needs to reduce token consumption before calling an expensive LLM, when context windows are approaching model limits, or when per-token costs need to be cut in high-frequency agentic workflows. Particularly useful in A2A and MCP pipelines where context accumulates across many hops.

## Known failure modes

- Missing or invalid 'url' query parameter — returns error with status not 'ok'
- Unreachable or malformed target URL — may return empty data or error
- Payment not settled in USDC on Base — request blocked by x402 paywall
- Unsupported HTTP method — only GET and POST accepted in input.method
- Context content too small to compress — minimal compression ratio returned

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing the compressed context, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%).

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-context-bloat-eliminator-adacf472/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status.agentdiet.dev](https://www.zero.xyz/host/status.agentdiet.dev/llms.txt)
