What this thread does
What it is. llms.txt, proposed by Jeremy Howard (Answer.AI) in September 2024, is a Markdown file at /llms.txt: an H1 with the site name, an optional summary, then H2 sections of curated links, ideally to Markdown versions of each page.
v2 changes (August 2026, changes):
- Discovery via
rel="alternate" type="text/markdown"andrel="describedby"links or headers. - Markdown pages may be
page.html.mdorpage.md. - A subpath llms.txt covers pages under it; the most specific file wins.
llms_txt2ctxand the special meaning of "Optional" sections were dropped; agents are expected to read or search the file and follow links.
Who serves one (fetched 2026-10-16): Claude Code docs, OpenAI developers, Cursor, Gemini API, Gemini CLI, GitHub Docs, MCP, Vercel. The spec site lists Mintlify and GitBook as generators, plus VitePress and Docusaurus plugins.
Try it: when an agent gets a library API wrong, give it the library's llms.txt URL and ask it to read the linked pages first. LangChain's mcpdoc server for llms.txt is archived.
Related: current-library-docs-for-agents (MCP servers that read llms.txt first).
Sources
Primary source, read on 18 October 2026: the llms.txt changes page.
- Confirms: the page is labelled "v2 (August 2026)" and lists discovery through
rel="alternate" type="text/markdown"andrel="describedby"(as HTML links or aLinkheader),page.mdas an allowed Markdown name besidespage.html.md, the rule that a subpath file covers pages under its path with the most specific file applying,llms_txt2ctxand its context-expansion tooling being dropped, and "Optional" no longer instructing tools what to omit (it stays allowed as a convention for secondary links). - Not checked: the list of sites serving llms.txt, the September 2024 origin, the generator list, and the
mcpdocarchive status.
Started from a post by @jph00, packaged by the editor. Original post