How answer engines actually read your site
Three different systems read your site, and they are not the same system. A training crawler ingests it months before anyone asks a question. A provider-side search index fetches and extracts it, then hands passages to a model that never touches your server. An agent working on a task fetches the URL itself, mid-conversation, and the raw response body lands directly in its context window. Only that third path sees the response you serve today, which is why content negotiation and a markdown twin change what a coding agent reads and change nothing at all about what a training crawler already took.
The single most common error in writing about this subject is to talk about “the crawler”, singular. There is no singular crawler. OpenAI's own crawler documentation names four distinct user agents with four distinct jobs, and Anthropic's names three. A page can be taken for model training, indexed for a search feature, fetched because a person asked a question, and fetched again because an agent decided it needed the exact shape of an API — and those are four different requests, arriving at different times, obeying different rules, consuming different representations of the same URL.
Getting the distinction right is not pedantry. It decides which of your changes can possibly matter. A markdown twin published this morning cannot retroactively appear in a model that finished pretraining last year. A robots.txt directive that blocks a training crawler does not block a user-initiated fetch, because the providers say in writing that it does not. And an agent that reads your documentation through shell curl will never appear in a dashboard that counts named AI user agents.
Three different robots reach your site, and they are not the same robotPermalink to this section
Both large assistant vendors publish the taxonomy, and the two documents agree on the shape even though they use different names. OpenAI's crawler overview at developers.openai.com/api/docs/bots lists OAI-SearchBot for the index behind ChatGPT's search features, OAI-AdsBot for validating pages submitted as ads, GPTBot for training-corpus collection, and ChatGPT-User for visits triggered by a person's question. Anthropic's support article on web crawling lists three: ClaudeBot for training, Claude-User for user-directed retrieval, and Claude-SearchBot for search indexing. Both were fetched on 2026-09-08. The Anthropic article now answers at support.claude.com and carries an April 7, 2026 date; the support.anthropic.com URL 301s to it.
| Path | Named agents | When it runs | What you can still influence |
|---|---|---|---|
| Training crawl | GPTBot, ClaudeBot | Months before the question | Nothing about a model already trained; only the next one |
| Provider search index | OAI-SearchBot, Claude-SearchBot | On the provider's crawl schedule | What the extractor stored, on its next pass |
| User-triggered fetch | ChatGPT-User, Claude-User | During the conversation | The exact bytes you serve, right now |
| Agent tool call | Often none; frequently plain curl | During the task | The exact bytes you serve, right now |
Two sentences in those documents are worth quoting because they are routinely got wrong. OpenAI writes of ChatGPT-User that “Because these actions are initiated by a user, robots.txt rules may not apply”, and in the same paragraph that “ChatGPT-User is not used to determine whether content may appear in Search.” Anthropic writes that “Disabling Claude-User on your site prevents our system from retrieving your content in response to a user query, which may reduce your site's visibility for user-directed web search.” A blanket robots.txt block is therefore not one decision. It is three, and the three have different costs.
What the agent's own fetch actually receivesPermalink to this section
When a coding agent fetches a URL during a task, there is no extraction pipeline in between. The response body goes into the context window more or less as it arrived. That is the whole reason HTML is expensive: the agent pays context for the navigation, the footer, the cookie banner, the inline JSON payload that hydrates the framework, and every byte of minified JavaScript the page happens to inline. None of it answers the question the agent was sent to answer.
for u in \
https://nextjs.org/docs/app/getting-started/installation \
https://developers.openai.com/api/docs/bots \
https://developers.cloudflare.com/workers/get-started/guide/
do
curl -sL "$u" | python3 -c '
import re, sys
h = sys.stdin.buffer.read()
s = sum(len(m.group(1)) for m in re.finditer(rb"<script\b[^>]*>(.*?)</script>", h, re.S))
print(f"{len(h):7d} bytes {100*s/len(h):5.1f}% inside <script> " + sys.argv[1])' "$u"
done
696545 bytes 43.4% inside <script> https://nextjs.org/docs/app/getting-started/installation
317241 bytes 21.1% inside <script> https://developers.openai.com/api/docs/bots
217245 bytes 6.3% inside <script> https://developers.cloudflare.com/workers/get-started/guide/Script content only — the bytes between <script> and </script>, not the tags, the markup around them, the inline styles or the repeated navigation. The spread is the finding. On the Next.js page nearly half of what an agent downloads is code it will never run; on the Cloudflare page it is a sixteenth, and that page is still nineteen times the size of its markdown twin. The byte counts belong to three third-party documentation sites that redeploy on their own schedule, so the percentages are the durable part of this block and the byte column is a timestamp.
So script is the most visible cost and not the largest one. The rest is markup, navigation, sidebars, breadcrumbs, search widgets and the repeated chrome of a documentation site — everything built to be looked at rather than read. A markdown twin removes all of it at once. The prose survives, the headings survive, the code samples survive, and the framework payload does not.
while read -r html md; do
h=$(curl -sL "$html" | wc -c)
m=$(curl -sL "$md" | wc -c)
printf '%7d html %6d md %5.1fx %s\n' "$h" "$m" "$(echo "$h/$m" | bc -l)" "$html"
done <<'URLS'
https://nextjs.org/docs/app/getting-started/installation https://nextjs.org/docs/app/getting-started/installation.md
https://developers.openai.com/api/docs/bots https://developers.openai.com/api/docs/bots.md
https://developers.cloudflare.com/workers/get-started/guide/ https://developers.cloudflare.com/workers/get-started/guide/index.md
URLS
696545 html 14159 md 49.2x https://nextjs.org/docs/app/getting-started/installation
317241 html 4872 md 65.1x https://developers.openai.com/api/docs/bots
217245 html 10945 md 19.8x https://developers.cloudflare.com/workers/get-started/guide/The same three URLs. Cloudflare publishes its twin at index.md rather than .md, so the pairs are listed literally instead of derived by appending a suffix. These are other people's pages and they are rebuilt without notice: the OpenAI page grew by 1,214 bytes between two runs on the day this was checked, moving its ratio from 64.9x to the 65.1x pinned here. So read the byte columns as what those URLs returned on that date, and the order of magnitude as the claim. A re-run months later that prints different bytes and a similar multiple has confirmed this block rather than contradicted it.
Twenty to sixty-five times smaller, for the same content, is a change in kind rather than degree. An agent with a fixed context budget can hold twenty markdown pages where it could hold one HTML page, and every one of those twenty is prose it can use. Two obvious candidates are missing from that table because their HTML byte count moved between fetches minutes apart — the Stripe payments quickstart by about 1,400 bytes, Anthropic's tool-use overview by 165 — and a measured block that does not reproduce is worse than no measured block.
Four ways to announce a markdown twin, and what reads eachPermalink to this section
Serving a markdown twin is only half the job. An agent has to discover that the twin exists, and there are four independent mechanisms for telling it, each read by a different kind of client. Gauge's own llms.txt lists all four under a “Markdown Versions” heading, which is the clearest published statement of the pattern; the same four channels can be tested on any host with curl.
| Channel | How it is served | What reads it | Cost to check |
|---|---|---|---|
| URL suffix | Append .md (or index.md) to the page URL | Agents guessing a convention, and anything following a link that already ends in .md | One extra request, and it may 404 |
| Accept header | Accept: text/markdown on the canonical URL | Clients that negotiate; requires no second URL and no guessing | None; same request, different header |
| Link response header | Link: <...>; rel="alternate"; type="text/markdown" | Anything doing a HEAD request first, including cautious fetchers checking size | A HEAD request, no body downloaded |
| Head element | <link rel="alternate" type="text/markdown" href="..."> | Anything that already downloaded the HTML | Free, but only after paying for the HTML you were trying to avoid |
The ordering in that table is the argument. A head element is the cheapest thing to implement and the least useful, because a client only sees it after downloading the document whose size was the problem. The Link response header is the only channel a client can read without downloading anything, and it is the rarest in practice. All four can be checked on a single URL in six commands.
U=https://www.withgauge.com/blog/agent-led-growth/
UA=kaso-editorial-check
printf 'suffix '; curl -so /dev/null -w '%{http_code} %{content_type}\n' "${U%/}.md"
printf 'accept '; curl -sI -H 'Accept: text/markdown' "$U" | tr -d '\r' | grep -i '^content-type'
printf 'link hdr '; curl -sI -A "$UA" "$U" | tr -d '\r' | grep -i '^link:'
printf 'head elem '; curl -s -A "$UA" "$U" | grep -o '<link[^>]*text/markdown[^>]*>'
printf 'named UA '; curl -sI -A "$UA" "$U" | tr -d '\r' | grep -i '^content-type'
printf 'bare curl '; curl -sI "$U" | tr -d '\r' | grep -i '^content-type'
suffix 200 text/markdown; charset=utf-8
accept content-type: text/markdown; charset=utf-8
link hdr link: </blog/agent-led-growth.md>; rel="alternate"; type="text/markdown"
head elem <link rel="alternate" type="text/markdown" href="https://www.withgauge.com/blog/agent-led-growth.md"/>
named UA content-type: text/html; charset=utf-8
bare curl content-type: text/markdown; charset=utf-8Six requests to one URL. The last two lines are the surprise: the same canonical URL returns HTML to a request carrying a named user agent and markdown to curl's default one, because the response varies on User-Agent as well as Accept. No browser string is needed to see the HTML — the arbitrary label kaso-editorial-check is enough — so nothing in this command impersonates a browser.
That last pair of lines matters more than it looks. Gauge negotiates on User-Agent as well as Accept, and the discriminator is whether the request says curl, not whether it says Chrome. A bare curl is exactly the request shape a coding agent uses when it fetches a known URL from a shell, so the site is answering agents with markdown by default and answering everything else with HTML. It also means anyone auditing a competitor with default curl may be reading the agent-facing representation without noticing, and concluding the site is a fraction of its actual size.
The URL convention is not standardised, which is why the announcement mattersPermalink to this section
There is no agreed rule for where the markdown twin lives. Appending .md works on most sites and fails on some, because a path ending in a slash is a directory and the twin sits inside it. Cloudflare's developer documentation is the clean example: the guessed URL 404s and the correct one is index.md. The page does name it, twice — in an alternate link in the head, and again in a visible control labelled “View Page as Markdown” — but both of those are legible only to a client that has already downloaded the document it was trying not to download.
U=https://developers.cloudflare.com/workers/get-started/guide/
printf 'guide/.md '; curl -so /dev/null -w '%{http_code} %{content_type}\n' "${U%/}.md"
printf 'guide/index.md '; curl -so /dev/null -w '%{http_code} %{content_type}\n' "${U}index.md"
printf 'Accept: md '; curl -so /dev/null -w '%{http_code} %{content_type}\n' -H 'Accept: text/markdown' "$U"
guide/.md 404 text/html
guide/index.md 200 text/markdown; charset=utf-8
Accept: md 200 text/markdown; charset=utf-8The Accept header found the twin in one request, with no second URL and no guess at the convention. That is the whole case for negotiating on the canonical URL. The head element names the same file — href="https://developers.cloudflare.com/workers/get-started/guide/index.md" — and costs 217,245 bytes of HTML to read.
Run the same five probes across six well-known developer-tool sites and the picture is consistent enough to plan against, and less flattering to the advocacy than the advocacy suggests. All six answered Accept: text/markdown on the canonical URL, and all six served an llms.txt at the root. The .md suffix worked on five of six. The Link response header — the one channel a client can read without downloading anything — was present on exactly one site, and that site is the vendor that sells answer-engine optimisation.
UA=kaso-editorial-check
yn() { if [ "$1" -gt 0 ]; then echo yes; else echo no; fi; }
probe() {
u=$1
root=$(printf '%s' "$u" | cut -d/ -f1-3)
md=$(curl -so /dev/null -L -w '%{http_code}' "${u%/}.md")
acc=$(curl -sIL -H 'Accept: text/markdown' "$u" | tr -d '\r' | grep -ci '^content-type: text/markdown')
lnk=$(curl -sIL -A "$UA" "$u" | tr -d '\r' | grep -ci 'rel="alternate".*text/markdown')
hed=$(curl -sL -A "$UA" "$u" | grep -c '<link[^>]*text/markdown')
llm=$(curl -so /dev/null -L -w '%{http_code}' "$root/llms.txt")
printf '%-33s .md=%s accept=%-3s link-hdr=%-3s head-link=%-3s llms.txt=%s\n' \
"$root" "$md" "$(yn "$acc")" "$(yn "$lnk")" "$(yn "$hed")" "$llm"
}
probe https://www.withgauge.com/blog/agent-led-growth/
probe https://developers.openai.com/api/docs/bots
probe https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview
probe https://docs.stripe.com/payments/quickstart
probe https://nextjs.org/docs/app/getting-started/installation
probe https://developers.cloudflare.com/workers/get-started/guide/
https://www.withgauge.com .md=200 accept=yes link-hdr=yes head-link=yes llms.txt=200
https://developers.openai.com .md=200 accept=yes link-hdr=no head-link=no llms.txt=200
https://platform.claude.com .md=200 accept=yes link-hdr=no head-link=no llms.txt=200
https://docs.stripe.com .md=200 accept=yes link-hdr=no head-link=no llms.txt=200
https://nextjs.org .md=200 accept=yes link-hdr=no head-link=yes llms.txt=200
https://developers.cloudflare.com .md=404 accept=yes link-hdr=no head-link=yes llms.txt=200Six sites, five probes each. Every URL here is a canonical one, so nothing in this run redirects; -L is on anyway because that is what an agent's fetcher does, and because the address most people still have for the Anthropic page — docs.anthropic.com/en/docs/build-with-claude/tool-use/overview — reaches it through a 301 and two 307s, and a probe that stopped at the first hop would report a false negative on every channel. OpenAI's own developer documentation serves a markdown twin at developers.openai.com/api/docs/bots.md — 4,872 bytes against 316,027 for the HTML — and announces it in neither the head nor a response header. The twin states the rule in its own second line, pointing at /llms.txt and saying that markdown versions are available by appending .md — which only a client that has already found the twin can read.
What llms.txt is, and what the evidence for it actually showsPermalink to this section
An llms.txt file is a markdown index at the root of a domain: a short description of what the site is, followed by curated links to the pages that matter, each with a one-line summary. It is a map, not a corpus. The convention has no standards body behind it and no guarantee that any model reads it, which is why the honest question is not whether it exists but whether anything opens it.
The only published measurements this article could find come from Gauge, an AEO vendor that sells a product built on this behaviour, so read them as interested evidence. Their study “What Is llms.txt Used For?” (Evan Doyle, 23 August 2026) instrumented tool calls in coding sessions where Claude Code on Opus 5 or Codex on GPT-5.6 was asked to build against a named vendor, and reports that 36.3% of those build sessions opened an llms.txt against 0.5% of labelled vendor-selection sessions. Their separate server-log analysis groups requests into ten-minute windows on the same host and reports that after fetching llms.txt, Claude Code continued to another page on that host 84% of the time.
The claim that survives scrutiny is narrower than the headline. It is not that llms.txt improves how a model regards you. It is that an agent already committed to building against your product uses the file as a table of contents and then goes somewhere else — to per-page markdown, to an OpenAPI document, to the SDK. The index is worth publishing because it shortens the search, and it is worth keeping complete because Gauge reports a session in which an agent probed the conventional llms.txt path, then documentation subdomains, then an OpenAPI path, and concluded from the gaps that the vendor had no public API specification.
Agent traffic does not look like agent traffic in your logsPermalink to this section
The most useful finding in this area is an instrumentation one, and it undermines most of the dashboards sold to measure it. Gauge's second study, “Does Codex Read llms.txt?” (Evan Doyle, 23 August 2026), reports that Codex opened llms.txt in 33.6% of several hundred instrumented sessions while zero of roughly 600,000 requests carrying OpenAI's ChatGPT-User agent targeted the file. The explanation is mundane: Codex fetched it with shell curl, so the server logged curl. Gauge reports that 0.3% of those shell commands set a user-agent flag, and that generic curl traffic in their logs was 1.2 times its base rate on robots.txt, 152 times its base rate on llms.txt, and 106 times its base rate on markdown files.
That shape is checkable in your own logs without buying anything. If curl-agent requests cluster on machine-readable paths rather than on robots.txt, they are not ordinary scrapers. A dashboard counting named AI user agents is measuring self-identified agent traffic, which is a subset of unknown size; Gauge puts the unidentified share of llms.txt-reading runs at 51.4% in their observed Claude Code and Codex mix, and offers roughly 2.1 as a multiplier on named reads. Treat that as one vendor's estimate from one sample, not a constant.
What this implies for how a site should be builtPermalink to this section
The practical consequences are short. Serve the same content in a form an agent can afford, announce it in more than one channel because no single channel is universal, and put a curated index at the root. Then stop, because the rest of the advice circulating on this subject is unmeasured.
- Negotiate on the canonical URL. Accept: text/markdown was answered by all six sites tested on 2026-09-08 and requires the client to guess nothing.
- Emit the Link response header as well as the head element. A client doing HEAD first can learn the twin exists without downloading the document, and only one of those six sites does it.
- Keep the twin identical in content to the HTML. A twin that says something different is a cloaking problem, not an optimisation.
- Treat llms.txt as a map to authoritative sources, not as a place to restate them.
- Read your access logs for curl on markdown paths, not only for named agent user agents.
This site's own content model was built on the same reasoning. Articles are a closed union of nine block kinds in TypeScript rather than parsed markdown files, so a page renders to HTML and projects to markdown from one source that cannot disagree with itself, and there is no markdown parser in the dependency tree to add a second representation that could drift from the first.
grep -cE '"(mdx|remark|rehype|gray-matter|contentlayer)' package.json
grep -oE '\{ kind: "[a-z0-9]+"' src/lib/editorial/types.ts | wc -l
0
9Zero markdown-pipeline dependencies, nine block kinds. Both greps name a single file instead of recursing over src, and that is deliberate: this article is itself TypeScript containing the string kind: “measured”, so a recursive count would include the prose describing the thing being counted. Every repo-wide grep on this site excludes src/lib/editorial for the same reason. Kaso is pre-launch and has published no retrieval measurements of its own; every external number above came from a curl run in this session or from a named third party.
Does serving a markdown version of a page help my site appear in ChatGPT or Claude?Permalink to this section
Serving a markdown version of a page helps the fetch that happens during a conversation, and it does not help the training corpus. When an assistant or coding agent retrieves your URL mid-task, the response body enters its context window directly, so a smaller and cleaner representation means more of that window is spent on your content. It cannot change a model that has already been trained, and it does not by itself change whether a provider's search index ranks you. Measured on 2026-09-08, the markdown twins of three documentation pages were 19.8 times smaller than the HTML at the same URL for Cloudflare Workers, 49.2 times for Next.js, and 65.1 times for OpenAI's crawler overview.
How do I tell an AI agent that a markdown version of my page exists?Permalink to this section
There are four independent channels for announcing a markdown version of a page, and different clients read different ones. Append .md to the page URL; answer Accept: text/markdown on the canonical URL; emit a Link response header of the form Link: <...>; rel="alternate"; type="text/markdown"; and include <link rel="alternate" type="text/markdown"> in the HTML head. The Accept header is the most reliable because the client has to guess nothing, and the Link response header is the only one a client can read without downloading the document. Across six developer-tool sites tested on 2026-09-08 — withgauge.com, developers.openai.com, platform.claude.com, docs.stripe.com, nextjs.org and developers.cloudflare.com — all six answered the Accept header, five served a .md suffix, and one emitted the Link header.
Does blocking AI crawlers in robots.txt stop assistants from reading my site?Permalink to this section
Blocking AI crawlers in robots.txt does not entirely stop assistants from reading your site, and the vendors say so in their own documentation. OpenAI and Anthropic each run separate agents for training collection, search indexing and user-triggered retrieval. OpenAI's crawler documentation states that because ChatGPT-User actions are initiated by a user, robots.txt rules may not apply. Anthropic states that disabling Claude-User prevents its system from retrieving your content in response to a user query and may reduce the site's visibility for user-directed web search. Blocking the training crawler, blocking the search index and blocking user-triggered fetches are three separate decisions with three different costs.
Why does my analytics show almost no AI agent traffic?Permalink to this section
Analytics shows almost no AI agent traffic because a large share of agent requests do not identify themselves as agents. Coding agents frequently fetch a known URL through a shell command rather than a branded fetch tool, so the server records the default curl user agent. Gauge, an AEO vendor, reports that Codex opened llms.txt in 33.6% of several hundred instrumented sessions while zero of roughly 600,000 requests carrying OpenAI's ChatGPT-User agent targeted the file, and that generic curl traffic in their logs ran 152 times its base rate on llms.txt against 1.2 times on robots.txt. Look for curl concentrated on machine-readable paths rather than trusting a count of named agents.
The test for any claim in this area is whether curl can settle it. Every number above came from a request made on 2026-09-08 against a live host, from a repository grep printed in full, or from a named third party whose study is cited by title and date. Every one of them can be re-run and disagreed with. That is the standard the subject needs, because the gap between what agents are said to do and what they are observed doing is currently wide enough to sell things in.