# 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/agent-manifest?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-5e5545c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D6UWUC4taUfWXo62J9bVk

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

Example prompt: Crawl the docs site at https://stripe.com/docs and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so my AI agents can easily consume the documentation.

## When to prefer this

Choose this endpoint when you need to rapidly make any third-party documentation site or SaaS product page consumable by AI agents in a standardized format, particularly when you want both /llms.txt and JSON-LD output in a single call. Ideal for agent developers bootstrapping context for new tools, or for publishers wanting to expose their own docs to the agent ecosystem without manually authoring an llms.txt file.

## Known failure modes

- URL unreachable or blocked by robots.txt — returns error with reason
- Invalid or malformed URL input — returns 400 validation error
- Site requires authentication to access content — incomplete manifest generated
- Payment not completed — returns HTTP 402 requiring x402 USDC payment
- Timeout on large or deeply nested documentation sites
- Site returns non-HTML content incompatible with crawling

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

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle compiled from the crawled documentation or SaaS site, structured for direct consumption by AI agents and LLM-powered tools

## 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-5e5545c4/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)
