# 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/discovery-manifest?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-2634f3fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gWhnMi8ntwNzmMOmpQ5Xv

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-2634f3fc
```

Example prompt: Can you crawl https://docs.stripe.com and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can easily understand and navigate the Stripe documentation?

## When to prefer this

Choose this endpoint when you need to make any public documentation or SaaS site immediately consumable by AI agents via the /llms.txt standard. It is ideal for bootstrapping agent context files without manually authoring llms.txt, and is especially valuable when onboarding a new tool or API into an agent pipeline. Prefer it over manual authoring or generic scrapers when you need structured, standards-compliant JSON-LD alongside the manifest.

## Known failure modes

- Target URL is unreachable or returns non-200 HTTP status — crawl fails with an error response
- URL points to a login-gated or JavaScript-heavy SPA that cannot be crawled statically
- Malformed or missing 'url' query parameter — returns 400 validation error
- Rate limiting or bot-blocking on the target site prevents full crawl
- Payment not processed (x402 402 Payment Required) — endpoint returns 402 before delivering result

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

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle derived from crawling the target URL. The manifest summarizes the site's capabilities, endpoints, and documentation in a format optimized for LLM and AI agent consumption, following the /llms.txt standard and IETF MCP conventions.

## 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-2634f3fc/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)
