How to create an llms.txt for your website

By hand, or via API — with a free template and a pay-per-call generator

llms.txt is a simple file at the root of your site (https://yoursite.com/llms.txt) that tells AI assistants — ChatGPT, Claude, Perplexity, and the growing class of autonomous agents — what your site is about and which pages matter. Sites without one are effectively invisible to agent-driven discovery.

Option 1: write it by hand

A minimal llms.txt is plain Markdown with an H1 title, a short summary, and a list of key links:

# Your Brand

> One-line summary of what your site offers.

## Docs
- [Getting started](https://yoursite.com/start)
- [Pricing](https://yoursite.com/pricing)

Keep it under a few hundred words. Lead with the most important pages. Update it when your site changes.

Option 2: generate it from your sitemap (API)

For any public site, an llms.txt can be generated automatically from its sitemap (up to 40 pages). We expose this as a pay-per-call API agents can pay for in USDC:

curl "https://www.autonomylabsweb.tech/api/x402?product=llms&url=https://yoursite.com"

The endpoint returns a ready-to-ship llms.txt. No account, no API key — the agent pays $3.00 in USDC on Base and gets the file.

Why it matters

In our AI Visibility Index of 143 top sites, only ~12% publish an llms.txt — so adding one is a cheap, high-leverage edge for being cited by AI. Pair it with agents.txt, an x402 manifest, and a clean sitemap.xml.

Want the human-readable version?

Get a one-page AI-Readiness Mini Audit for €1, or the full AI Visibility Report for €19.

See the AI Visibility Index and the x402 API endpoints.