talira

llms.txt

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.

  1. GitMCP Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
  2. Context7 Up-to-date docs for AI agents
  3. DeepWiki AI-generated documentation and Q&A for public GitHub repositories, with a free MCP server

Compare llms.txt with the top 3