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

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/agent-card?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-54baa5ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nYiKMjtxqQ7CouqjRXU9j

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

Example prompt: Crawl the documentation at https://stripe.com/docs and compile a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can properly consume and understand the Stripe API.

## When to prefer this

Choose this endpoint when you need to make any documentation or SaaS website discoverable and consumable by AI agents in the /llms.txt standard format. It is the right choice when you want a fully automated, single-call pipeline that both crawls the site and produces the agent manifest — rather than manually authoring llms.txt files or stitching together separate crawl and formatting steps. Prefer it over generic web scrapers when the target output must be standards-compliant JSON-LD plus /llms.txt rather than raw HTML or markdown.

## Known failure modes

- URL is unreachable or returns non-200 status — crawl fails with error
- Site blocks crawlers via robots.txt or CAPTCHA — partial or empty manifest returned
- URL points to a non-documentation page with insufficient structured content — low-quality manifest
- Malformed URL input — validation error returned
- Payment failure via x402 — request rejected before crawl begins
- Site content is behind authentication — only public pages are crawled

## 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/agent-card)

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle derived from the crawled documentation or SaaS website, structured for direct ingestion by AI agents and LLMs. The output includes organized, token-efficient representations of the site's API documentation, product capabilities, and metadata.

## 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-54baa5ce/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)
