# Automated /llms.txt & Agent Documentation Context Compiler

> Automated /llms.txt & Agent Documentation Context Compiler is a paid API for AI agents from preflight.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 JSON-LD schema bundle for AI agent consumption

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/llms-txt-compiler?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-automated-llms-txt-agent-documentation-d9a4f024
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N5TGX31p5uytw3eAp_k8_

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 preflight-agentdiet-dev-automated-llms-txt-agent-documentation-d9a4f024 -d '<json body>'
```

Example prompt: Can you crawl the Stripe documentation site at https://stripe.com/docs and compile a standards-compliant /llms.txt manifest and JSON-LD schema bundle so my AI agent can understand and use it?

## When to prefer this

Choose this endpoint when you need to make any external documentation or SaaS website machine-readable for AI agents by producing a compliant /llms.txt file and JSON-LD schema bundle automatically, rather than hand-authoring these files. Prefer this over generic web scrapers when you specifically need agent-context-optimized output in the /llms.txt standard format. Ideal for bootstrapping agent knowledge about third-party tools, or for generating your own product's llms.txt without manual effort.

## Known failure modes

- Target URL is unreachable or returns non-200 HTTP status — crawler fails and returns an error
- Site uses heavy JavaScript rendering that prevents static crawl from extracting meaningful content
- Target URL is a non-documentation page (e.g. a login wall or blank marketing page) with insufficient content to compile a useful manifest
- Rate limiting or bot protection (CAPTCHA, Cloudflare) on the target site blocks the crawl
- Malformed or missing URL in the request body triggers schema 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://preflight.agentdiet.dev/v1/llms-txt-compiler)

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle derived from crawling the target URL. The manifest structures documentation links, descriptions, and metadata in the format AI agents expect to consume, enabling the agent to ground itself in the target site's knowledge without manual curation.

## 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/preflight-agentdiet-dev-automated-llms-txt-agent-documentation-d9a4f024/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
