# AgentDiet Workflow Executor — A2A Context Window Distiller

> AgentDiet Workflow Executor — A2A Context Window Distiller 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 a workflow that distills and compresses AI agent context windows, reducing token usage by up to 85-91% via a 25-node processing pipeline

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/workflows/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-workflow-executor-a2a-context-window-distiller-4e53ccce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sch6gifhtANp0pd2pl_vn

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-workflow-executor-a2a-context-window-distiller-4e53ccce
```

Example prompt: Run my conversation history through AgentDiet's workflow executor to distill it — I want to compress this context using a GET call and see the compression ratio proof showing how much it shrank.

## When to prefer this

Choose this endpoint when an AI agent or pipeline needs to reduce context window size before an expensive LLM call, when token limits are being approached, or when operating in cost-sensitive A2A/MCP workflows. It is particularly suited for deterministic, reproducible compression with a verifiable proof-of-compression ratio. Prefer it over manual summarization when you need a structured, auditable output with ROI metrics, and when you are operating in a micropayment-enabled environment (x402/L402 on Base).

## Known failure modes

- Missing required 'input' object or 'type'/'method' fields returns a validation error
- Invalid method enum value (not GET or POST) causes rejection
- Payment not settled in USDC on Base results in 402 Payment Required
- Malformed queryParams object causes workflow execution failure
- Empty or null query string may produce trivial compression results
- Service downtime or node failure may return a non-ok status

## 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 (e.g. 'ok'), a 'data' object containing the distilled/compressed output, and a 'roi_proof' object that includes 'compression_ratio_pct' showing the percentage of tokens eliminated (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-workflow-executor-a2a-context-window-distiller-4e53ccce/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)
