# AgentDiet Agent Card — llms.txt & Agent Documentation Compiler

> AgentDiet Agent Card — llms.txt & Agent Documentation Compiler 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).

Returns the agent card metadata for AgentDiet's automated /llms.txt manifest and JSON-LD schema bundle generator that crawls any documentation or SaaS site.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/agent-card?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-agent-card-llms-txt-agent-documentation-compiler-bc924363
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2mJ9eNboFZI_zpXUfJ4Es

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-agent-card-llms-txt-agent-documentation-compiler-bc924363
```

Example prompt: Can you pull the agent card for the AgentDiet llms.txt generator so I can see what it does and how to call it?

## When to prefer this

Use this endpoint when you need to programmatically discover and inspect AgentDiet's llms.txt generation service before calling it — especially useful for agent orchestration systems that dynamically register tools, or when you want to verify capability metadata, pricing, and input/output schemas prior to integrating the doc-crawling workflow.

## Known failure modes

- Service unavailable (network error or server downtime)
- Malformed or empty response if the agent card metadata is misconfigured on the server
- Rate limiting or payment-related 402 errors if the x402 payment header is missing or insufficient
- Unexpected schema changes if the agent card format has been updated without notice

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

## Output

Returns the machine-readable agent card describing AgentDiet's /v1/llms-generator capability — including its name, description, supported HTTP methods, input/output schemas, pricing, and references to the standards-compliant /llms.txt manifest and JSON-LD schema bundle it can produce.

## 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-agent-card-llms-txt-agent-documentation-compiler-bc924363/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)
