# 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-10-21).

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

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/llms-txt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-145ffe19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qCS7Gr9_X0JbZHyO-dgup

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-145ffe19
```

Example prompt: Can you crawl https://docs.stripe.com and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so I can feed it to my AI agent as structured documentation context?

## When to prefer this

Choose this endpoint when you need to make any external documentation or SaaS site consumable by AI agents in a standards-compliant format (/llms.txt). It is especially useful when you want a fully compiled manifest plus JSON-LD schema bundle in a single call, rather than manually writing or maintaining an /llms.txt file. Prefer it over generic web scrapers when the output needs to conform to the emerging /llms.txt standard for LLM context delivery.

## Known failure modes

- URL is unreachable or returns non-200 status — crawl fails with an error response
- Target site blocks crawlers via robots.txt or Cloudflare — partial or empty manifest returned
- URL points to a login-gated page — only publicly accessible content is extracted
- Malformed or missing URL parameter — returns validation error
- Very large documentation sites may produce truncated manifests due to crawl depth limits

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

A standards-compliant /llms.txt manifest and JSON-LD schema bundle compiled from the crawled website, providing structured, agent-consumable documentation context including page summaries, entity relationships, and metadata extracted from the target site.

## 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-145ffe19/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)
