# Automated /llms.txt & Agent Documentation Context Compiler

> Automated /llms.txt & Agent Documentation Context Compiler is a paid API for AI agents from defi-yield.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Crawls any documentation or SaaS site and compiles a standards-compliant /llms.txt manifest and JSON-LD schema bundle for AI agent consumption

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/llms-txt-compiler?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: defi-yield.agentdiet.dev
- Website: https://defi-yield.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/defi-yield-agentdiet-dev-automated-llms-txt-agent-documentation-c2f3f621
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h-q-60s6FZ2I7O902GHab

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 defi-yield-agentdiet-dev-automated-llms-txt-agent-documentation-c2f3f621
```

Example prompt: Can you crawl https://docs.stripe.com and generate a standards-compliant llms.txt manifest and JSON-LD schema bundle so AI agents can easily consume Stripe's documentation?

## When to prefer this

Use this endpoint when you need to programmatically make any documentation or SaaS website AI-agent-readable by generating a standards-compliant llms.txt manifest. Prefer this over manual summarization or custom scrapers when you need structured, reusable agent context in a recognized format (llms.txt + JSON-LD). Especially useful when onboarding an AI agent to a new third-party API or product whose documentation does not already publish an llms.txt file.

## Known failure modes

- Invalid or unreachable URL returns an error with no manifest
- Private or login-gated documentation sites may return incomplete or empty context
- Sites with heavy JavaScript rendering may yield partial content if client-side rendering is not fully executed
- Very large documentation sites may produce truncated manifests due to crawl depth limits
- Malformed URLs without proper scheme (http/https) may be rejected at input validation

## How this service works

Crawls any documentation or SaaS site and compiles a standards-compliant /llms.txt manifest and JSON-LD schema bundle. (Live x402 v2, IETF MPP & MCP endpoint at https://defi-yield.agentdiet.dev/v1/llms-txt-compiler)

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle derived from crawling the provided URL, structured for direct consumption by AI agents and LLM-based tools. Includes organized documentation context, structured metadata, and schema references extracted from the target site.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "minLength": 1,
   "description": "Website URL to crawl and generate a ready-to-consume /llms.txt manifest for"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-agentdiet-dev-automated-llms-txt-agent-documentation-c2f3f621/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-yield.agentdiet.dev](https://www.zero.xyz/host/defi-yield.agentdiet.dev/llms.txt)
