# 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-txt?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-fdaab3cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OUCOcLbP2G7eIw5dBY876

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

Example prompt: Can you crawl the Stripe documentation at https://stripe.com/docs and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so I can feed it directly to my AI agent?

## When to prefer this

Choose this endpoint when you need to produce or consume an /llms.txt manifest for any website without manually authoring it — especially useful for third-party SaaS tools you don't control, bootstrapping agent context from existing documentation sites, or automating agent onboarding pipelines. Prefer it over generic web scrapers when the output must be standards-compliant (llms.txt spec + JSON-LD) rather than raw HTML or markdown.

## Known failure modes

- URL is unreachable or returns non-200 status — crawl fails with an error
- Site blocks crawlers (robots.txt or WAF) — partial or empty manifest returned
- URL points to a non-documentation page with insufficient structured content — low-quality manifest
- Malformed or missing URL input — validation error returned
- Timeout on very large documentation sites — partial results or timeout 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)

## Output

Returns a standards-compliant /llms.txt manifest and accompanying JSON-LD schema bundle compiled from the crawled site, ready for direct ingestion by AI agents or inclusion in agent context pipelines.

## 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-fdaab3cb/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)
