2026-04-15 –, NEW STAGE
The llms.txt format is an emerging standard to structure information for Large Language Models. It’s a desirable addition to the docs of Python packages.
Let’s review how to adopt it! We’ll discuss the fundamentals of the format and its benefits as a user of the docs, and as a maintainer. How to produce and consume those files across different tools (Sphinx, mkdocs, Django). How to optimize them for different LLMs with an eval suite. Tools and techniques you should be able to reuse through other engineering tasks with LLMs.
The llms.txt format is an emerging standard to structure information for Large Language Models. It’s a desirable addition to the docs of Python packages. We have been busy adopting it for Wagtail, and can now share how it all went.
Let’s review how to adopt it! We’ll discuss the fundamentals of the format and its benefits as a user of the docs, and as a maintainer. How to produce and consume those files across different tools (Sphinx, mkdocs, Django). How to optimize them for different LLMs with an eval suite. Tools and techniques you should be able to reuse through other engineering tasks with LLMs.
Documentation
Audience Level:Intermediate
Diving deep on AI in the Django ecosystem - AI and developer experience, design principles and ethos, open source AI landscape.
I’m a volunteer & contributor @ Django Software Foundation, core team & product lead for Wagtail. Engineering @ Torchbox. Accessibility, AI, climate action. Find me on: Twitter, Bluesky, Mastodon, LinkedIn, GitHub, thib.me.