# LLMs.txt & Agent Documentation Context Compiler

> 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 website URL and generates a standards-compliant /llms.txt manifest plus JSON-LD schema bundle for AI agent consumption

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/llms-generator?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-llms-txt-agent-documentation-context-compiler-98205717
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bcxHay1PH76VVdRXOm0uC

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-llms-txt-agent-documentation-context-compiler-98205717
```

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 my AI agents can consume it directly?

## When to prefer this

Choose this endpoint when you need to make a documentation or SaaS site machine-readable for AI agents by generating a standards-compliant /llms.txt manifest and JSON-LD schema bundle. It is ideal when onboarding a new tool or API into an agent workflow, when you want to index third-party documentation for agent context, or when building an MCP-compatible agent that needs structured site metadata. Prefer this over general web scrapers when the goal is specifically to produce an agent-consumable manifest rather than raw content extraction.

## Known failure modes

- Invalid or unreachable URL returns an error with no manifest produced
- Heavily JavaScript-rendered sites may yield incomplete crawl results
- Rate-limited or bot-blocked sites may fail to return content
- Very large documentation sites may produce truncated manifests
- Malformed URL input (missing protocol, typos) causes immediate validation failure

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

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle compiled from the crawled website, ready for direct consumption by AI agents, LLMs, and MCP-compatible tools. The output is structured to describe the site's documentation, APIs, and capabilities in a format optimised for agent reasoning and tool selection.

## 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-llms-txt-agent-documentation-context-compiler-98205717/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)
