# Automated /llms.txt & Agent Documentation Context Compiler

> Automated /llms.txt & Agent Documentation Context Compiler is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Crawls any documentation or SaaS website and produces a standards-compliant /llms.txt manifest plus a JSON-LD schema bundle ready for AI agent consumption

## Facts

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

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

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

## When to prefer this

Choose this endpoint when you need to programmatically produce an /llms.txt manifest and JSON-LD schema bundle for any public documentation or SaaS website, especially when preparing third-party sites for AI agent consumption. It is ideal when you do not control the target site but need an agent-readable representation of its content. Prefer it over generic web-distillation endpoints when the specific /llms.txt standard format and JSON-LD structured output are required.

## Known failure modes

- URL is unreachable or returns non-200 status — crawl fails with error response
- Site blocks crawlers via robots.txt or anti-bot measures — partial or empty manifest returned
- Malformed or non-documentation URL — output may be incomplete or irrelevant
- Very large sites may result in truncated manifests if token/page limits are hit
- Authentication-gated documentation pages cannot be crawled — only public content is processed

## 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://onchain-risk.agentdiet.dev/v1/llms-txt)

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle derived from crawling the provided URL, structured for direct consumption by AI agents and LLM-based 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/onchain-risk-agentdiet-dev-automated-llms-txt-agent-documentation-d885633d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
