The /llms.txt file, helping language models use your website
open sourceApache-2.0self-hostablefree
llms.txt is a proposed standard, by Jeremy Howard of Answer.AI, for a markdown file at a site's root (or any path) that gives LLMs and agents brief background and links to clean markdown versions of the important pages. It has a precise format so it can be parsed by code, and the repo includes tooling to expand an llms.txt into a full context file. Thousands of sites publish one and documentation platforms generate it automatically.
Problems it solves
- make my product's docs easy for coding agents to read
- AI assistants scrape my HTML docs and get navigation junk and wrong answers
- give LLMs a short map of my documentation with links to markdown pages
- a standard file that tells agents where the important docs are
- turn my docs site into one file I can paste into an LLM
- what should a docs site publish for AI agents
- agents waste context reading my whole website
- offer clean markdown versions of my pages for language models
Features
- /llms.txt markdown format specification
- parsing and expansion tools
- per-path llms.txt files (v2)
Alternatives
The same job
These do what llms.txt does.