What is llms.txt and should your site have one?
The short answer
llms.txt is a proposed convention, documented at llmstxt.org, in which a site serves a markdown file at /llms.txt that points AI agents to its most important documentation and pages. It is a proposal, not an enforced standard. Most sites with useful documentation or a clear set of key pages can benefit from publishing one, because it costs little and gives agents a curated starting point.
What is llms.txt?
A proposed convention where a site serves a markdown file at /llms.txt listing its most important pages and docs for language models to read. It is a pointer file, not a ranking signal, and it does not replace robots.txt for crawl control.
What it changes for agents
An agent that reads /llms.txt gets a short, human-written map of your site before it does anything else. An agent that does not has to infer what matters by crawling links, parsing navigation and guessing which pages hold the answers. The file does not force any behavior. It only helps agents that choose to look for it, and it does not replace robots.txt, which still governs crawlers such as Googlebot.
- With the file, an agent can go straight to your core docs, pricing or policy pages instead of wandering through menus.
- Without it, an agent relies on whatever it finds through links, which may surface outdated or marginal pages first.
- The file is guidance only. It grants no access and blocks nothing, so crawl rules still belong in robots.txt.
- Agents that ignore the convention are unaffected, so publishing one carries little downside.
How to add one
The work is small: write a markdown file, put it at the root of your domain and treat it like any other piece of documentation that can go stale. Start with the pages you would want an agent to read first, not a dump of your whole sitemap.
- Write the index in markdown: a title, a one-line summary of the site, then links grouped under short headings, each with a brief description.
- Serve the file at the root path, so it resolves at yourdomain.com/llms.txt as plain text or markdown.
- Link only to pages that are live and worth reading. Remove or update entries whenever you move or retire a page.
- Add the file to your release checklist so it changes when your documentation changes.
- Verify by fetching the URL yourself and confirming it returns the file, not a redirect or an error page.
How TheBotStack scores this
The Agent Score diagnostic measures whether agents can discover and ingest your site, and a served llms.txt is one of the signals it looks at. Run the tool on your domain to see what an agent finds at the root and what it misses. TheBotStack follows its own advice: it serves a machine-readable surface at thebotstack.com/llms.txt and llms-full.txt, which you can open as a working example.