llms.txt and Django
summary
Wagtail and Django docs are published as lms.txt at /.lms.txt and an lm-full.txt site dump so agents can fetch authoritative docs; mkdocs/sphinx plugins produce those files. Demos use OpenClaw/Kilo Claw, Google AI Edge Gallery, jina.ai and Open Code via OpenRouter; server logs show ~100 daily requests from ChatGPT-style user agents and GPTbot. Django HTML docs total ~6M tokens while flagship models hold ~200k, so chunking matters. Prompt‑fu evals run models (Mistral small 24B shows ~20% pass vs 100% when given the full dump).
AI-written summary · about
chapters (16)
- 0:00Introduction and setup
- 2:13Why llms.txt matters
- 4:00What is llms.txt
- 9:23AI agents and documentation
- 11:09AI's impact on jobs
- 17:51Interactive AI exercise
- 24:26AI model limitations and context
- 31:36Testing AI framework recommendations
- 41:17Measuring llms.txt usage
- 47:46How AI finds content versions
- 52:03Publishing llms.txt files
- 55:42Agent reading test demo
- 1:08:40Prompt injection risks
- 1:09:46AI evals and testing
- 1:19:28Results and future steps
- 1:22:58Q&A and closing
