# 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 and JSON-LD schema bundle for AI agent consumption

## Facts

- Endpoint: POST https://onchain-risk.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: 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-dab562c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uf4lhEF3ybuqBQmNyVXFF

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

Example prompt: Can you crawl the documentation at https://stripe.com/docs and compile a standards-compliant /llms.txt manifest and JSON-LD schema bundle so my AI agents can consume it directly?

## When to prefer this

Choose this endpoint when you need to make any external documentation or SaaS website consumable by AI agents in a standardised format (/llms.txt + JSON-LD). It is particularly useful for bootstrapping agent context without manually curating documentation, or when you want to publish your own site's llms.txt. Prefer it over generic web scrapers when you specifically need agent-ready, structured output rather than raw HTML or markdown.

## Known failure modes

- Invalid or unreachable URL returns an error with HTTP 4xx
- Private or paywalled documentation sites may yield incomplete manifests
- Very large documentation sites may produce truncated output
- Malformed HTML or JavaScript-rendered pages may result in poor extraction quality
- Rate-limited target sites may cause crawl failures or partial results

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

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle representing the crawled documentation site, structured for direct consumption by AI agents and LLM-based systems.

## 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-dab562c5/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)
