llms.txt
Documentation · Free
llms.txt is a proposed Markdown format for a brief website description and agent-friendly documentation links. The repository contains the specification and tools for processing these files.

What you can use for free
The specification and Apache-2.0 tools are free; external models, website hosting, and agent retrieval may have their own costs.
Use cases
- Give an agent a compact entry point into product documentation
- Add llms.txt to your own website
Example workflow
A possible workflow; this is not a report of hands-on testing.
Example workflow with llms.txt: Give an agent a compact entry point into product documentation.
Before you start
- A recurring project task to document for a person or an agent.
- Existing rules, files, and the validation methods actually used.
Steps
- For the task “Give an agent a compact entry point into product documentation”: study the format and identify which information is needed at the start of a task and which is only needed on request.
- Write a short description using your project as an example; link it to current sources.
- Test the document on a real task and fix ambiguous instructions or instructions that conflict with the project.
Check your result
- The rules match the current files; links work and do not lead to an outdated copy.
- A format description is not presented as an installed tool; its usefulness is established through a specific workflow.
Choosing llms.txt
Give an agent a compact entry point into product documentation
Choose this when
- Give an agent a compact entry point into product documentation
- Add llms.txt to your own website
Requirements
- A Markdown file describing an area of a site and linking to readable materials.
Things to consider
- Access terms: The specification and Apache-2.0 tools are free; external models, website hosting, and agent retrieval may have their own costs.
- Terms of use: Apache-2.0 for the repository.
- This is a standardization proposal, not a mandatory web standard, MCP, or a way to automatically teach Codex about an entire site.
Frequently asked questions
What can you use for free in llms.txt?
The specification and Apache-2.0 tools are free; external models, website hosting, and agent retrieval may have their own costs.
What are the access terms for llms.txt?
The specification and Apache-2.0 tools are free; external models, website hosting, and agent retrieval may have their own costs.
What terms of use matter for llms.txt?
Apache-2.0 for the repository.
How do you get started with llms.txt?
For the task “Give an agent a compact entry point into product documentation”: study the format and identify which information is needed at the start of a task and which is only needed on request. Write a short description using your project as an example; link it to current sources. Test the document on a real task and fix ambiguous instructions or instructions that conflict with the project.
What should you consider when choosing llms.txt?
The current v2 specification was updated on August 10, 2026.
Must a site have just one llms.txt file, located at its root?
The current specification also allows a file in a subdirectory, such as /docs/llms.txt. It describes the corresponding scope of paths; where scopes overlap, the most specific file applies. This is a proposed format, with no guarantee that every agent will read it or that search engines will use it.
License
Apache-2.0 for the repository.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsUsage details
Current specification v2 was updated on August 10, 2026. A standardization proposal, rather than a mandatory web standard, MCP, or a way to automatically teach Codex an entire website.
Technologies and topics
- llms.txt
- Markdown