# AgentDiet Context Window Distiller — Mesh Node Status & Query

> AgentDiet Context Window Distiller — Mesh Node Status & Query is a paid API for AI agents from status.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Queries the AgentDiet A2A mesh node to distill and compress AI context windows, reducing token usage by up to 91% via deterministic compression, settling payments in USDC on Base.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/mesh?utm_source=zero.xyz
- Price: $0.01/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-window-distiller-mesh-node-status-query-d77b2fa1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jRa1q6ijfj2oFUNXXN5qq

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-window-distiller-mesh-node-status-query-d77b2fa1
```

Example prompt: Take my current context window and run it through AgentDiet's mesh distiller — I want to compress it as much as possible to cut token usage, and show me the compression ratio I got back.

## When to prefer this

Choose this endpoint when an AI agent or pipeline needs to deterministically reduce context window size before passing to an LLM, specifically when you want verifiable compression ratios (ROI proof), pay-per-use microtransaction pricing via x402/USDC, and B2A/A2A compatibility. Prefer over generic summarization APIs when you need deterministic (not probabilistic) compression with a measurable token reduction guarantee.

## Known failure modes

- Missing required 'input' object or 'type'/'method' fields returns a validation error
- Invalid HTTP method enum value (not GET or POST) causes rejection
- Payment not settled in USDC on Base results in 402 Payment Required
- Upstream mesh node unavailable returns non-ok status
- Empty or malformed query param causes empty or degraded compression output

## 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 'status' field ('ok'), a 'data' object containing the distilled/compressed context output, and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved by the distillation process.

## 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": {
      "query": {
       "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-window-distiller-mesh-node-status-query-d77b2fa1/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)
