# AgentDiet LLM Documentation Distillation Generator

> AgentDiet LLM Documentation Distillation Generator is a paid API for AI agents from github-audit-72343955726.us-central1.run.app, paid per call via x402, $0.015/call, status unknown (last checked 2026-10-14).

Fetches and distills web or documentation content into compressed, agent-ready markdown with ROI metrics showing token savings

## Facts

- Endpoint: GET https://github-audit-72343955726.us-central1.run.app/v1/llms-generator?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-llm-documentation-distillation-generator-57e0c402
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L0M-Jdt7C6pTCF_aX9k_b

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-llm-documentation-distillation-generator-57e0c402
```

Example prompt: Distill the documentation at https://docs.example.com/api into clean agent-ready markdown and tell me how many tokens it saved compared to the raw version.

## When to prefer this

Choose this endpoint when an AI agent needs to ingest web or documentation content but must minimize token consumption. It is ideal when raw page content is too verbose for a context window, when you want quantified proof of compression savings (ROI multiplier, tokens saved), or when you need clean markdown output rather than raw HTML. Prefer this over general scrapers when token efficiency and agent-readability are the primary goals.

## Known failure modes

- Source URL unreachable or returns non-200 — distillation cannot proceed
- Content too short or already minimal — low compression ratio, minimal token savings
- Payment not completed via x402/HTTP 402 — request blocked before processing
- Rate limit exceeded — too many calls in short window
- Malformed or non-HTML/non-markdown source — parser may return incomplete output

## How this service works

15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).

## Output

Returns a JSON object containing: distilled markdown content with a title, a status field, and an roi_proof block showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — quantifying exactly how much the content was compressed.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "mode": "markdown",
   "title": "Example Documentation",
   "content": "# Example Documentation\nClean agent-ready markdown..."
  },
  "status": "ok",
  "roi_proof": {
   "raw_tokens": 14200,
   "tokens_saved": 13520,
   "roi_multiplier": 67.6,
   "distilled_tokens": 680,
   "compression_ratio_pct": 95.2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-llm-documentation-distillation-generator-57e0c402/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit-72343955726.us-central1.run.app](https://www.zero.xyz/host/github-audit-72343955726.us-central1.run.app/llms.txt)
