# AgentDiet arXiv ML Paper Summarizer

> AgentDiet arXiv ML Paper Summarizer 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).

Fetches and summarizes machine learning papers from arXiv, compressing them into a token-efficient digest with up to 91% context reduction.

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/arxiv-ml-paper-summarizer?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-arxiv-ml-paper-summarizer-e44b2a5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KLphlPDHivYdC7X1lsLTP

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-arxiv-ml-paper-summarizer-e44b2a5c
```

Example prompt: Can you find and summarize recent arXiv papers on transformer attention mechanisms — I want a compressed, token-efficient digest so I don't blow my context window?

## When to prefer this

Choose this endpoint when an AI agent needs to read arXiv ML papers but must stay within a tight context window budget. It is purpose-built for token-efficient distillation of academic ML research, returning machine-readable summaries with a quantified compression ratio. Prefer it over raw arXiv access or generic web scraping when you need structured, token-optimized paper digests with a pay-per-call micropayment model.

## Known failure modes

- No matching arXiv papers found for the query — returns empty data
- arXiv API unavailable or rate-limited — upstream fetch failure
- Missing or invalid 'query' parameter — request rejected
- Payment not settled in USDC on Base — 402 Payment Required response
- Malformed input schema — 400 Bad Request

## 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

Returns a JSON object with a 'data' field containing the summarized paper content, a 'status' field indicating success, and an 'roi_proof' object with a compression_ratio_pct (e.g. 91.4%) showing how much the original content was compressed relative to the distilled output.

## 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-arxiv-ml-paper-summarizer-e44b2a5c/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)
