# 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-11-21).

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

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/llms-generator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-6ab5fc42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PO0qtaC5ZhMESuSZVgBpm

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-6ab5fc42 -d '<json body>'
```

Example prompt: Crawl https://docs.stripe.com and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can discover and understand the Stripe API.

## When to prefer this

Choose this endpoint when you need to automatically generate a machine-readable /llms.txt manifest and JSON-LD schema from any live documentation or SaaS website, especially when onboarding AI agents to new tools, APIs, or products. Prefer it over manual documentation authoring or generic web scrapers when you need agent-standard output formats (llms.txt + JSON-LD) in a single call with micropayment-native access via x402.

## Known failure modes

- URL is unreachable or returns non-200 status — crawl fails with an error
- Site blocks crawlers via robots.txt or Cloudflare — content cannot be extracted
- URL points to a login-gated or paywalled page — only partial or empty content returned
- Malformed or missing URL field — 400 validation error
- Site has no structured documentation — output manifest may be sparse or low-quality
- Payment not settled via x402 — 402 Payment Required returned before processing

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

## Output

A standards-compliant /llms.txt manifest and JSON-LD schema bundle representing the crawled site's documentation structure, endpoints, descriptions, and agent-consumable metadata, returned as a structured JSON object ready for AI agent ingestion.

## 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-6ab5fc42/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)
