# AgentDiet A2A Context Window Distiller & Broker Execute

> AgentDiet A2A Context Window Distiller & Broker Execute 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).

Executes HTTP-based A2A/MCP broker queries that compress and distill AI context windows, returning deduplicated, token-reduced data with compression ROI proof.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/broker/execute?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-a2a-context-window-distiller-broker-execute-4b86fea3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vi4xT7usjCx-TQip2m6ZE

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-a2a-context-window-distiller-broker-execute-4b86fea3
```

Example prompt: Run this query through AgentDiet's broker execute node to distill and compress my context window — use a GET request with query 'summarize recent AI news' and give me back the compressed output along with the compression ratio.

## When to prefer this

Choose this endpoint when an AI agent needs to reduce context window token counts before passing data to an LLM, particularly within A2A, MCP, or B2A pipelines. It is best suited for automated agent-to-agent workflows where cost reduction via token compression is critical and micropayment settlement via x402/USDC on Base is acceptable. Prefer it over generic summarization APIs when you need deterministic compression with a measurable ROI proof (compression_ratio_pct).

## Known failure modes

- Payment not settled in USDC on Base — request fails with 402 Payment Required
- Invalid or missing 'input.type' or 'input.method' fields — schema validation error
- Unsupported HTTP method in the enum (not GET or POST) — rejected request
- Network timeout or node unavailability — no response or error status
- Query string missing when required for the specific broker operation — incomplete result

## 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 containing a 'data' field with the compressed/distilled output, a 'status' field confirming 'ok', and a 'roi_proof' object with 'compression_ratio_pct' showing the percentage of tokens removed (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": {
      "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-a2a-context-window-distiller-broker-execute-4b86fea3/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)
