# Automated /llms.txt & Agent Documentation Context Compiler

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

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

## Facts

- Endpoint: GET https://serp-extract.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: serp-extract.agentdiet.dev
- Website: https://serp-extract.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/serp-extract-agentdiet-dev-automated-llms-txt-agent-documentation-8bacec5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IZNRdld3crMBMJJWADh_X

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 serp-extract-agentdiet-dev-automated-llms-txt-agent-documentation-8bacec5c
```

Example prompt: Can you crawl https://docs.stripe.com and compile a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can properly understand and navigate the Stripe documentation?

## When to prefer this

Choose this endpoint when you need to programmatically generate a machine-readable /llms.txt manifest and JSON-LD context bundle from any existing website or documentation portal — especially when preparing external or third-party sites for AI agent consumption without manually authoring the manifest. Prefer this over generic web scrapers when the target output must conform to /llms.txt standards and be immediately usable by LLM agents.

## Known failure modes

- Invalid or unreachable URL returns an error with no manifest
- Sites with aggressive bot-blocking (Cloudflare, CAPTCHAs) may result in incomplete or failed crawl
- Very large documentation sites may return partial manifests due to crawl depth limits
- Malformed or JavaScript-heavy SPAs may yield incomplete JSON-LD extraction
- Missing required 'url' parameter returns a 400-level validation error

## 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://serp-extract.agentdiet.dev/v1/llms-txt-compiler)

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle derived from crawling the target website, structured for direct consumption by AI agents and LLM-based systems.

## 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"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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