
- Reading
- 6 min
- Tables
- 1
- Code
- 1
The llms.txt specification promises to guide AI agents to the right content on a site. Before publishing the file and hoping for a miracle, it's possible to design a controlled test that shows whether it changes anything.
What the file promises
The llms.txt proposal was born in 2024 and reached version 2.1 after what the specification itself, maintained on the site llmstxt.org, calls "two years of adoption." The idea is simple: place a markdown file at the root of the site (or in any subfolder) that summarizes the content and links to clean markdown versions of the important pages. The problem it tries to solve is concrete. An HTML page carries menus, ads, and JavaScript, and converting that back into clean text for an AI agent is expensive and imprecise.
The specification lists who already publishes the file: OpenAI, Anthropic, and Gemini maintain llms.txt for their own developer documentation. Platforms like Mintlify, GitBook, Wix, and the SEO plugins Yoast and AIOSEO generate the file automatically for anyone using those tools. Chrome's Lighthouse already includes an llms.txt check among its "agentic browsing" audits. That shows adoption volume, but adoption volume is not the same as proof of effect on brand citation.
How the format works in practice
The file follows a fixed order: an H1 with the site or project name (the only required item), a blockquote with the summary, optionally a Base URL: line to resolve relative links, free-form context blocks, and finally H2 sections with lists of links in the format [name](url): description. A shortened example, based on the template the spec itself uses for the FastHTML project:

# FastHTML
> FastHTML is a Python library that combines Starlette, Uvicorn, HTMX, and fastcore.
Base URL: https://www.fastht.ml/docs/
## Docs
- [Quick start](tutorials/quickstart_for_web_devs.md): overview of the featuresThe least publicized part of the proposal is the file's complement: important pages should have a markdown version at the same URL, swapping the extension for .md (or appending index.md to URLs without a file name). To help agents find that version, the spec recommends using rel="alternate" pointing to the markdown and rel="describedby" pointing to the llms.txt that covers that path, via a <link> tag in the HTML or via the HTTP Link: header. The advantage of the header is that it can be configured directly on the server or CDN, without touching any page.
Expert views
What people are saying about it.
In an interview with Stratechery on the eve of re:Invent 2026, Matt Garman details how Nitro, Annapurna, and Graviton became the foundation of AWS's AI strategy, and why the company bets on not locking in customers through contracts.
Research from Serasa Experian and PwC shows that generative AI use is growing faster than training to use it. For those in leadership, this isn't a training detail: it's an unaccounted-for liability in business risk.
The Shanghai institute released the model card and architecture of the Nex N3-266B-Base, a 265.4-billion-parameter MoE inspired by DeepSeek-V4, but weights, dataset, and technical report have not yet been published.
Why it's not robots.txt or sitemap.xml
The specification makes a point of separating the three files, and the difference matters for anyone deciding to invest engineering time in this:
| File | Who it's for | When it's consulted |
|---|---|---|
robots.txt | Automated crawlers | Before crawling, defines what's allowed |
sitemap.xml | Search engines | Batch indexing, lists everything |
llms.txt | AI agents | On demand, when the agent needs to answer something specific |
sitemap.xml tends to list too many pages to fit in a model's context and rarely points to relevant external resources. llms.txt is designed as curation: a few links, each with a line of context, so it fits entirely within the context window even before the agent opens a single page.
The blind spot: reading is not the same as obeying
Here's the detail that usually slips past people who decide to implement the file thinking it works like a robots.txt for AI: the specification itself describes agents' expected behavior in the conditional, not as a guarantee. It says agents "are expected" to consult llms.txt and then follow the relevant links. That's a design expectation, not confirmation that ChatGPT, Gemini, or Perplexity actually fetch this specific file before answering about a brand.
The spec itself also acknowledges the limits of its own scope:
Our expectation was that llms.txt would mainly be useful for inference rather than training, and that is how it has been used, though training runs could take advantage of the information too.
llms.txt specification, llmstxt.org
In other words: even the proposal's authors speak in terms of expectation and generally observed use, not confirmation from major model providers that the file enters a search assistant's response pipeline. For anyone working in GEO, that's the gap that justifies treating llms.txt as a hypothesis to test, not as an already validated SEO checklist.
Designing the before-and-after test
An honest test of impact on brand citation needs to isolate the file's effect from everything else that changes on a site over time. A reasonable approach:
- Define a fixed set of prompts that a real user would ask about the brand's category, without mentioning its name directly (e.g., "what's the best X tool for Y use case").
- Run each prompt multiple times, across more than one assistant (ChatGPT, Gemini, Perplexity, Claude), before publishing
llms.txt, and record whether the brand appears, in what position, and with what accuracy. - Publish the file and the
.mdversions of the most relevant pages, without touching any other SEO factor during the same period (backlinks, content, performance). - Wait a time window compatible with the assistant's index update cycle (this varies by product and is not reliably documented publicly).
- Repeat the same prompts, with the same volume of runs, and compare the citation rate before and after.
Generative AI responses are not deterministic: the same prompt can produce different answers across runs. Running each prompt only once on each side of the test doesn't count as evidence; you need enough volume to separate signal from statistical noise, the same way you would treat any product A/B test.
A cheaper validation before the full test
Before setting up that whole experiment, it's worth checking something simpler and cheaper: do the server access logs show any real request to /llms.txt or to the .md files? If no AI agent user-agent is fetching those files, the citation test will likely come back null due to lack of consumption, not lack of effect from the format. That log check is a technical validation step that any growth team can run in minutes, before committing to a full measurement cycle.
When it's worth implementing and when it's too early
The most solid use case remains technical documentation and APIs, where llms.txt solves a real, immediate problem: coding agents (such as IDE extensions that look up library references) get access to clean markdown instead of having to scrape HTML full of navigation. Projects like FastHTML and tools like vitepress-plugin-llms and docusaurus-plugin-llms automate this at no extra maintenance cost.
For a corporate site, product page, or brand blog with no proven consumption by any agent, publishing the file is a low-cost bet, but it's important not to sell it internally as a guaranteed visibility lever. The file costs little to implement and little to maintain; the mistake is treating implementation as the result itself, rather than treating it as the hypothesis that still needs the before-and-after test to become a budget decision.
Translated from the Brazilian Portuguese original · Read the original
AI Overviews CTR varies up to 53 times between sites, Search Console shows
New Google Search Console report shows that clicking on AI answers can vary from 0.09% to over 20%, depending on niche and content type.





