Replace llms.txt with Accept: text/markdown content negotiation - #1202
Open
ajwild wants to merge 2 commits into
Open
Replace llms.txt with Accept: text/markdown content negotiation#1202ajwild wants to merge 2 commits into
ajwild wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relations:
Motivation
After reading an Evil Martians blog post, Which AI actually reads your site? Two months of LLM traffic, measured, it became clear that our approach to llms.txt wasn't particularly helpful for agents reading the site. The article found that Claude uses
Accept: text/markdownto request markdown files, and ChatGPT is almost exclusively requesting HTML. As Claude is the main tool we're using at Livingdocs, and we can't do much to change the behaviour of ChatGPT, this PR optimises the website for theAccept: text/markdownapproach. It does not seem worthwhile keeping the llms.txt approach when we can have a single canonical URL which an agent can share with the user.Edit: The blog post links to a Checkly blog post, The Current State of Content Negotiation for AI Agents (Feb 2026), which contains more details regarding the requests that AI agents are making.
Changelog
Content-Encodingheader