# 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.015/call, status unknown (last checked 2026-10-21).

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

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/discovery-manifest?utm_source=zero.xyz
- Price: $0.015/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-406b1289
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DR4eMYlyePXVUletJwaiz

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-406b1289
```

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

## When to prefer this

Choose this endpoint when you need to programmatically generate a machine-readable /llms.txt manifest and JSON-LD schema bundle from any live website or documentation portal — especially when the target site does not already publish an /llms.txt file. It is ideal for onboarding third-party SaaS documentation into an agent's tool registry, automating context compilation for LLM pipelines, or preparing your own documentation for AI agent discovery without manual authoring.

## Known failure modes

- Invalid or unreachable URL returns an error with HTTP 4xx and a description of the crawl failure
- Paywalled or login-gated documentation sites may return incomplete or empty manifests
- Sites with aggressive bot-blocking (CAPTCHAs, Cloudflare) may fail to crawl successfully
- Very large documentation sites may return partial results or time out
- Malformed URL input triggers a validation error before crawling begins
- Payment failure via x402 results in HTTP 402 before any crawl is attempted

## 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/discovery-manifest)

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle derived from crawling the provided URL. The output is structured for direct consumption by AI agents and LLM toolchains, including site metadata, documentation sections, and schema-annotated context ready for agent discovery 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/preflight-agentdiet-dev-automated-llms-txt-agent-documentation-406b1289/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)
