Make your docs readable by AI agents: five checks with tests
You can see how agents read your docs. Here is a short checklist I would run, with a test for each item. The ideas come from a talk I had this week about how agents pick software, checked against public studies from Dece
You can see how agents read your docs. Here is a short checklist I would run, with a test for each item. The ideas come from a talk I had this week about how agents pick software, checked against public studies from December 2026.
Numbers below come from vendor studies (Mintlify with Ora, Scope). They are one company's tests each, so measure your own site before you trust them.
1. One fact, one place
Mintlify and the Ora lab traced 11,000+ agent journeys on 20+ docs sites. Agents stop at the first page that looks complete. When an exception lived on another page, 27.5% of runs missed it, against 0% when it was stated at the step it changes. When two pages gave different values, 22.2% missed the right one, against 2.8%.
Test it with a script that finds numbers that disagree across pages. This is a sketch, not a library:
import re, collections
def find_conflicts(pages):
# pages: {url: text}. Look for "limit"-style facts with different values.
seen = collections.defaultdict(set)
for url, text in pages.items():
for m in re.finditer(r"(rate limit|max(?:imum)? size|timeout)\D{0,20}(\d[\d,\.]*\s?\w*)", text, re.I):
seen[m.group(1).lower()].add((m.group(2).strip(), url))
return {k: v for k, v in seen.items() if len({val for val, _ in v}) > 1}
Anything it returns is a place two pages disagree. Fix the page, do not just note it.
2. Index entries must survive truncation
Agents use index files to choose the next page. Mintlify found 95% of runs reached a page once they saw its index entry. An entry fails when the agent's tool cuts the file off before it. Keep the index short, put the pages people ask about first, and describe each in one plain line.
Test: cut your index at 8,000 characters and see which important pages disappear.
3. Serve a plain text version
Agents that read a .md page found 85% of the pages a task needed, against 74% for others (Mintlify). Google says you do not need special AI files for Google Search, and Ahrefs reportedly found 97% of about 38,000 valid llms.txt files got no requests in May 2026 (second-hand). So treat a text version as good practice for agents that read your docs live, not as an SEO trick.
Test: fetch your docs page with curl and no JavaScript. Is the answer in the text?
4. Let an agent start with a key
In Scope's runs, where a customer's own API key was enough, agents reached the API in 81% to 100% of runs. Where setup needed a person, none of 59 runs finished. If your first step is "create an account in a browser", an agent will go elsewhere or build it itself.
Test: give a fresh agent only your public docs and a test key. Time how far it gets.
5. Say what you are for, in the words of the request
Scope's agents chose vendors whose description matched the request. A company won 83% of deep-research picks but came up in 11% of web-search runs, though it sells both. Write one sentence per use case: "Use X when you need Y."
Test: once a month, ask three agents "which tool should I use for Y?" and log who they name.
A note on my own bias
I had told my team this is "not SEO". Google's guide says AI Overviews and AI Mode are still SEO and that llms.txt is ignored by Google Search. For agents reading docs live, clarity and completeness matter more. Do both, and check each with a test.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.