Somewhere right now, a coding agent is reading your docs. It can't see your hero animation. It won't dismiss your cookie banner. It has no eyes, no mouse, and the patience of a toddler. It also decides which tool your next customer installs.

There are more of them than you think. In August 2026, on one docs platform's sites, agents made 257 million requests against 131 million human page loads. In March, the same vendor had agents and browsers nearly tied, at 45.3% and 45.8% of requests.

Here's the uncomfortable part. When an agent hits a 403, a fake 404, or a package that doesn't exist, it doesn't file a bug. It picks a different tool in the next sentence and never mentions the switch. I wrote up what that looked like on my own product. You lose without ever seeing a bounce.

So I ran the docs of 163 developer tools through 19 static checks. Three got an A. Ninety-six got a C, which on that scale means "an agent will struggle." OpenAI's docs got a B. Anthropic's got a C. Those are the companies that make the agents.

This post is the fix list: four questions, in the order an agent runs into them, with a free check for each.

What "agent-ready" actually means

There's no official standard. There are scanners, and each one has opinions.

But ask at least these four essential questions:

Category The question What breaks it Weight
Access Can the agent get in? robots.txt rules, bot blocking, fake 404s, JavaScript-only pages 25
Discovery Can it find the entry points? No llms.txt, no sitemap, a buried quickstart 20
Comprehension Can it read what it fetched? HTML soup, oversized files, dead links 25
Integration Can it build with you? No OpenAPI spec, package names you don't own, auth that lives in a dashboard 30

The weights add up to 100. If your site is pure content with nothing to integrate, the last row is skipped and the score is rescaled over the other three.

Other scanners slice it differently. Cloudflare's isitagentready.com, launched in April 2026, leans toward protocols: Content Signals, Web Bot Auth, MCP Server Cards. Chrome's experimental Agentic Browsing audit in Lighthouse checks what a browser-driving agent needs, like a sane accessibility tree and a layout that holds still. Run all three. They disagree in useful ways.

One thing agent-readiness is not: an SEO trick. Google's own guide says files like llms.txt neither help nor hurt your visibility in Search, AI features included. This is about the agent that has already shown up with a job to do.

First, get a number

Don't start by fixing things. Start by finding out what's broken.

Go to llms-txt.io/agent-readiness, enter your domain, and give it up to a minute. The scan makes 40 to 60 read-only requests against your public pages and runs 19 checks. You get a score, a breakdown across the four categories, and a fix for each failing check. One scan a day needs no account.

The grades are blunt on purpose:

Score Grade What it means
90–100 A Agent-ready
75–89 B Minor friction
50–74 C An agent will struggle
25–49 D An agent will likely fail
Below 25 F Effectively invisible to agents

One limit, stated plainly: this is static analysis. It checks what an agent can see. It doesn't prove an agent can get from your docs to a working integration.

Keep the report open. The rest of this post walks the four categories in order, and the order matters. Nobody reads your beautiful llms.txt through a 403.

1. Access: can the agent get in?

Your robots.txt probably treats "AI bots" as one thing. They're three. Training crawlers (GPTBot, ClaudeBot, Google-Extended) collect data for future models. Search indexers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) decide whether you show up in AI search answers. User-triggered fetchers (ChatGPT-User, Claude-User, Perplexity-User) fetch a page because a person just asked about it.

Blocking the first group is a business decision. Blocking the other two removes you from the conversation. OpenAI says sites that opt out of OAI-SearchBot won't be shown in ChatGPT search answers. Anthropic says disabling Claude-User stops Claude from retrieving your pages when a user asks.

# Search and user-triggered fetchers: let them in. User-agent: OAI-SearchBot User-agent: ChatGPT-User User-agent: Claude-SearchBot User-agent: Claude-User User-agent: PerplexityBot User-agent: Perplexity-User Allow: / # Training crawlers: your call. Uncomment to opt out. # User-agent: GPTBot # User-agent: ClaudeBot # User-agent: Google-Extended # Disallow: / Sitemap: https://example.com/sitemap.xml 

One catch: a group that names a bot replaces your User-agent: * rules for that bot. Copy across any Disallow lines you still want.

The scan fails you for blocking the second or third group and takes half the points for blocking only the first. For a dev tool I'd leave training open too. A model that never saw your docs will guess your API from someone else's.

The block you didn't write. robots.txt is a polite request. RFC 9309 says so itself: "These rules are not a form of access authorization." The real lock is your CDN, WAF, or hosting vendor, and its defaults change. Cloudflare announced that from September 15, 2026, new domains block Training and Agent bots on pages that show ads unless the owner says otherwise.

It got me. My llms.txt was proxied through a vendor that had AI-bot blocking on by default. Every AI crawler got a 403 on the one file written for AI crawlers.

Check yours in ten seconds:

for ua in GPTBot ClaudeBot OAI-SearchBot ChatGPT-User Claude-User PerplexityBot; do printf '%-14s %s\n' "$ua" "$(curl -s -o /dev/null -w '%{http_code}' -A "$ua" https://example.com/llms.txt)" done 

A column of 200s is what you want. A 403 or 429 on some rows is your answer. This catches user-agent rules, not IP-based ones. The scan's bot-access check has the same blind spot.

Fake 404s. If an unknown URL returns 200 and your app shell, an agent reading status codes decides the page exists and builds on it. And agents guess URLs constantly. When Vercel measured its network in late 2024, about 34% of fetches by ChatGPT's and Claude's crawlers hit a 404, against 8% for Googlebot. Make wrong guesses fail loudly.

curl -s -o /dev/null -w '%{http_code} %{content_type}\n' https://example.com/definitely-not-a-page.md 

You want 404. If you get 200 text/html, your server is lying on your behalf.

JavaScript-only pages. The same Vercel study found that the crawlers from OpenAI, Anthropic, and Perplexity didn't execute JavaScript. ChatGPT's and Claude's fetched script files and never ran them. If your docs are an empty div until hydration, the agent gets the div. Use View Source, not Inspect Element. If the words aren't in the raw HTML, server-render or statically generate the page.

2. Discovery: can it find the entry points?

An agent that gets in still has to work out where things are. Your nav bar is not a map. To an agent it's a pile of divs.

Publish an llms.txt. It's a Markdown file at your site root, proposed by Jeremy Howard in September 2024. A title, a short summary, then sections of links with a line about each. It's the reading list you'd hand a new hire, if the new hire had a context window.

# Acme API > Acme sends transactional email. REST API with SDKs for Node and Python. ## Start here - [Quickstart](https://example.com/docs/quickstart.md): Send your first email in five minutes - [Authentication](https://example.com/docs/auth.md): API keys and the Authorization header ## Reference - [API reference](https://example.com/docs/api.md): Every endpoint, with examples - [OpenAPI spec](https://example.com/openapi.json): The machine-readable schema 

What it won't do is rank you. Google says Search ignores the file. Google's John Mueller was blunter in June 2025: "FWIW no AI system currently uses llms.txt."

What it does do is help the agents that showed up anyway. Coding agents aren't search crawlers. In Mintlify's August data, 83% of agent traffic came through machine-friendly routes: Markdown pages, llms.txt files, agent skills. In the same report's benchmark, 2,400 runs across 20 docs sites, Markdown pages that linked to llms.txt were a 20x improvement over HTML on failed requests per task. Chrome's Lighthouse now checks for the file too, while calling it optional.

So it's a map for the agent already at your door, and nothing more. That's enough.

Make one in a minute. Paste your URL into the llms.txt generator. It finds your pages from the sitemap and navigation and writes a spec-format file with a description for each link. Free, no signup. Then edit it. You know which five pages matter. The generator is making an educated guess.

Then run it through the validator. It checks structure (H1, summary blockquote, H2 sections, well-formed links) plus three things the spec doesn't demand and agents notice anyway: dead links, a companion llms-full.txt, and an instructions section.

Tell the agent what to do. Stripe's llms.txt carries a section titled Instructions for Large Language Model Agents. Among other things, it tells agents to default to the latest API version and never to recommend the old Charges API. You know which of your deprecated endpoints still haunt the training data. Say so in the file. The generator can add that block for you.

Two boring ones. Reference your sitemap from robots.txt with a Sitemap: line. And put your quickstart within two hops of the root, linked from the first section of llms.txt and from the docs nav. A quickstart you can only reach by guessing the URL gets half credit, which is generous.

3. Comprehension: can it read what it fetched?

Serve Markdown. Most of an HTML page isn't content. Cloudflare measured one of its own blog posts at 16,180 tokens as HTML and 3,150 as Markdown, an 80% cut. Claude Code and OpenCode already ask for it by sending Accept: text/markdown. Almost nobody answers. In Cloudflare's April scan of the web's most-visited sites, 3.9% passed the Markdown check.

Three ways to do it, cheapest first. Let your docs platform or CDN convert on the fly. Publish a .md twin of each page, which is what the llms.txt proposal suggests. Or honor the Accept header yourself.

curl -s -o /dev/null -w '%{http_code} %{content_type}\n' -H 'Accept: text/markdown' https://example.com/docs/quickstart curl -s -o /dev/null -w '%{http_code} %{content_type}\n' https://example.com/docs/quickstart.md 

Either one coming back as Markdown instead of your HTML shell is what you want.

Mind the size. Bigger isn't more helpful. The scan flags an llms.txt over roughly 4,000 tokens and a quickstart over roughly 25,000, because past that an agent may truncate or skip it. Cloudflare hit the same wall on its own docs and now generates one llms.txt per top-level directory instead of a single giant file.

My llms-full.txt was 961 KB. It served in about 1.3 seconds, and Claude's answer-time fetcher still timed out on it at 60. The small index is the file that gets read.

Write for a parser. One h1 per page. Real h2 sections. Code in code blocks, not buried in a sentence. And check your links. The scan samples them from llms.txt and the quickstart, because a dead link in the file that's supposed to be the map is worse than no map.

4. Integration: can it build with you?

This is the biggest slice of the score, 30 points of 100. In the index, exactly one site out of 163 got all 30.

Publish an OpenAPI spec where an agent would look. /openapi.json is the obvious place. Make sure it describes your auth scheme. Otherwise the agent knows every endpoint and can't call one.

Own the package names an agent will guess. Models invent packages. A USENIX Security study generated 576,000 code samples with 16 models and found that at least 5.2% of the packages commercial models reached for didn't exist. For open-source models it was 21.7%. That's 205,474 distinct made-up names.

Some of those guesses will be your product name with -sdk on the end. If nobody owns that name, the install fails. If somebody else registers it, the install succeeds, which is worse.

My fix was to publish the wrong names myself: four alias packages that re-export the real SDK and carry a deprecation notice. A wrong guess installs and corrects itself. The scan's package check reads your install commands, confirms each name resolves on its registry, then tries the obvious guesses.

Put a real auth example in the docs. A literal Authorization: Bearer YOUR_API_KEY line an agent can copy. "Grab your key from the dashboard" is not an instruction an agent can follow. It doesn't have hands.

Make sure the quickstart doesn't 404. Every link, and every endpoint in every code sample. The scan follows them all. A 401 is fine. A 404 is not.

Add MCP if agents should operate your product, not just read about it. MCP is an open standard for connecting AI applications to external systems. An MCP server hands an agent typed tools instead of prose to interpret. It's worth 4 points of 100 in the scan, on purpose. In Cloudflare's April data, MCP Server Cards and API Catalogs together turned up on fewer than 15 sites. Useful and early. WebMCP is earlier still. Chrome's own docs call it "experimental and based on proposed standards."

The thing that mattered most for me wasn't on any checklist. Every agent run on my product used to die at the same sentence: "now open the dashboard." If one step of your core job has no API, the automated path ends there, however good your llms.txt is.

The 30-minute version

  1. Scan your site. One minute.
  2. Fix everything red under Access first. Run the user-agent loop against your homepage, your docs, and your llms.txt.
  3. Generate an llms.txt. Cut it down to the pages that matter, add an instructions section, validate it, and ship it at the root.
  4. Curl a nonsense URL. If it returns 200, fix your 404s.
  5. Turn on Markdown by whichever route is cheapest on your stack.
  6. Search npm and PyPI for your product name with -sdk on the end. Decide how you feel about the result.
  7. Scan again. Then schedule the user-agent loop, because one vendor toggle can undo step 2 without telling you.

Your llms.txt goes stale too. The generator and validator have a free API, so keeping it current can be a CI job instead of a chore.

For the record, llms-txt.io scored 92 on its own scan in July, with all eight missing points in Integration. Building the scanner did not get me out of it.

If you scan your site and think the result is wrong, tell me in the comments. Index entries get re-run on request, and being confidently wrong is the exact failure this post is about.

Sources