# AgentDiet LLMs.txt Generator

> AgentDiet LLMs.txt Generator is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

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

## Facts

- Endpoint: GET https://agentdiet.dev/v1/llms-txt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-llms-txt-generator-3349371e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SzCIsA1d_kr0OFuQ5QfJF

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 agentdiet-llms-txt-generator-3349371e
```

Example prompt: Crawl the documentation at https://stripe.com/docs and generate a standards-compliant llms.txt manifest and JSON-LD schema bundle so AI agents can understand what Stripe offers.

## When to prefer this

Choose this endpoint when you need to automatically generate a machine-readable /llms.txt manifest or JSON-LD schema bundle from an existing documentation or SaaS site, especially when you want AI agents to discover and understand a product's capabilities without manual authoring. Prefer this over manual llms.txt writing when the target site already has structured documentation that can be crawled.

## Known failure modes

- Target URL is unreachable or returns non-200 status — crawl fails with error
- URL parameter missing — request rejected with validation error
- Site blocks crawlers via robots.txt or rate limiting — incomplete or empty manifest returned
- Dynamic JavaScript-heavy sites may yield incomplete content if JS rendering is not supported
- Malformed or non-documentation URLs may produce low-quality or empty manifests

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

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle derived from crawling the target documentation or SaaS website. The output enables AI agents and LLMs to quickly understand the site's capabilities, structure, and available resources in a machine-readable format.

## 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/agentdiet-llms-txt-generator-3349371e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
