# AgentDiet Discovery Manifest

> AgentDiet Discovery Manifest is a paid API for AI agents from rag-diet.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Returns the discovery manifest for the AgentDiet context-compression service, listing available RAG/context-distillation nodes and their capabilities.

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/discovery-manifest?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-discovery-manifest-cd1d09da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0OuStjnxNL_eHxR0gPxD_

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-discovery-manifest-cd1d09da
```

Example prompt: Pull up the AgentDiet discovery manifest so I can see which context-compression nodes are available and what ROI proof they offer on token reduction.

## When to prefer this

Use this endpoint first when integrating with AgentDiet to enumerate available context-compression nodes before invoking distillation. It's the entry point for discovery in an A2A or MCP pipeline that needs to reduce LLM token usage. Prefer this over direct compression calls when you need to programmatically check which nodes and compression ratios are currently available.

## Known failure modes

- Service unavailable — rag-diet.agentdiet.dev unreachable (502/503)
- Payment required but x402/USDC settlement on Base fails — 402 error returned
- Invalid query parameter format causes 400 bad request
- Manifest data field empty or missing nodes if service is bootstrapping

## How this service works

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

## Output

A JSON object with status 'ok', a data payload describing available service nodes and capabilities, and an roi_proof field showing the compression ratio percentage (e.g. 91.4%) achieved by the distiller.

## 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"
      }
     }
    }
   },
   "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-discovery-manifest-cd1d09da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rag-diet.agentdiet.dev](https://www.zero.xyz/host/rag-diet.agentdiet.dev/llms.txt)
