# 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-23).

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

## Facts

- Endpoint: POST https://serp-extract.agentdiet.dev/v1/llms-generator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-ac0a9a42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1vXeCHPVpE54lzbSsrlwD

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

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

## When to prefer this

Choose this endpoint when you need to programmatically generate a standards-compliant /llms.txt file and JSON-LD schema for any documentation or SaaS site, especially when automating agent onboarding for new tools. It is ideal for developers building agent pipelines who need structured, token-efficient context about external services without manually authoring manifests. Prefer this over generic web scraping when the goal is specifically agent-readable documentation context in the emerging /llms.txt standard format.

## Known failure modes

- URL unreachable or returns non-200 status — crawl fails with error
- Private or authentication-gated documentation sites cannot be crawled
- Extremely large sites may produce truncated or incomplete manifests
- Malformed URL input returns validation error
- Sites with heavy JavaScript rendering may yield incomplete extraction
- Rate-limited or bot-protected sites may block the crawl

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

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle derived from crawling the provided URL, structured for direct consumption by AI agents and LLM-powered tools. The output describes the site's key pages, endpoints, and capabilities in a compact, agent-readable format.

## 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/serp-extract-agentdiet-dev-automated-llms-txt-agent-documentation-ac0a9a42/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)
