Canonical: https://www.anilkumark.de/writing/two-agents-read-your-docs/
Author: Anil Kumar Krishnashetty (https://www.anilkumark.de/)

# Two agents read your docs. Only one of them writes code.

Last week I wrote [a persona card for AI agents](/writing/ai-agent-persona/). I built it on one number: on the docs Mintlify hosts, agents went from 15% of traffic to 66% in seven months. And I pictured one kind of agent. Claude Code, Cursor or Codex, working for a developer.

Then Addison Schultz ([@addisonschultz](https://x.com/addisonschultz)), DevRel Lead at GitBook, [replied to my post on X](https://x.com/anilbms75/status/2125170365911425082). "We're seeing a lot of the same things at GitBook as well," with a link to GitBook's research.

![Screenshot of the X thread: Addison Schultz (@addisonschultz), Nov 24: "Really nice post @anilbms75! We're seeing a lot of the same things at GitBook as well", with a link card to GitBook Research. Anil replies: "Thanks @addisonschultz! Your data makes the case better. The surprise for me: coding agents are under 7% of your agent traffic, ChatGPT 54%. So maybe two agent personas. Do they read different pages? guess: quickstarts and API refs vs overview and pricing."](/images/two-agents/x-addison-reply.png)

*Addison's reply, and mine, on X.*

The same things, mostly. Agents now read more than half of GitBook's docs too. But on GitBook, coding agents were under 7% of agent traffic. ChatGPT was 54%.

That was the surprise for me. I'd written a persona card for one agent. The data showed two.

## Which AI agents read documentation?

Two different agents read your docs, and which one shows up depends on who the docs are for. Developer docs are read mostly by coding agents like Claude Code and Codex, working for a builder. Help centers and product docs are read mostly by ChatGPT, answering one question for an end user. They fail in different ways, so they need different fixes.

![Doodle: two agents read your docs. On the left, a developer at a laptop asks a coding agent with a terminal head, which reads quickstart, API reference and error pages, and fails by retrying and burning tokens. On the right, a customer with a phone asks ChatGPT, which reads help center, pricing and product pages, and fails by giving a confident wrong answer.](/images/two-agents/doodle-two-agents.png)

*Same docs. Two readers. Two different humans behind them.*

## Both platforms see agents take over

Mintlify and GitBook host docs for thousands of companies. Both now say agents read more of those docs than people do.

- **Mintlify:** agents were 66% of traffic in July 2026, up from 15.2% at the start of the year ([State of docs traffic](https://www.mintlify.com/blog/state-of-docs-traffic)).
- **GitBook:** agents were 51.8% of reads by people and agents in one week, April 27 to May 3, 2026, across 61.2 million page views. In January 2025 it was under 10% ([GitBook research](https://www.gitbook.com/blog/ai-docs-data-april-2026)).

Don't compare those two numbers head to head. Mintlify compares agent requests (machine routes like .md and llms.txt, plus known AI user agents) with human page loads in the browser. GitBook counts page views by the bot name each agent declares. They agree on the direction, not the decimal.

## Which agents read Mintlify docs vs GitBook docs?

Here's where it gets interesting.

| | Mintlify (Aug to Nov 2026) | GitBook (one week, May 2026) |
| --- | --- | --- |
| Top agent | Claude Code, 40.2% | ChatGPT, 54% |
| Second | ChatGPT and Codex, 37.2% | Meta AI, 12.4% |
| Coding agents | The majority | Under 7% |

*Share of agent reads. Sources: [Mintlify, Who reads developer docs now](https://www.mintlify.com/blog/who-reads-developer-docs) and [GitBook research](https://www.gitbook.com/blog/ai-docs-data-april-2026).*

One honest catch. ChatGPT and Codex send the same `ChatGPT-User` user agent, so Mintlify reports them as one row. GitBook lists Codex as a coding agent but doesn't say how it tells the two apart. If some Codex traffic lands in GitBook's "ChatGPT", the coding-agent share is higher than 7%. Even so, a gap that wide doesn't come from one shared header.

## The agent follows the human

So why the gap? Look at who publishes on each platform.

Mintlify's customer stories are full of AI companies: Anthropic, Cognition, Perplexity, Together AI, OpenRouter. Mostly API docs, written for developers. On the 300 busiest Mintlify sites, 55% of agent reads go to docs for AI products. The developer hands the job to a coding agent, and the coding agent shows up.

GitBook's customer stories look different. Channable runs its help center on it. Ninox turns support tickets into docs. bunq publishes its public API docs, and Verifone documents partner integrations. Many of those readers will never open a terminal. They open ChatGPT and ask how to do something.

GitBook says it in its own report: the agent mix reflects who its customers are and what they publish.

That changes the question. It's not "do agents read our docs?" On both platforms, agents already read most of them. The question is: which human sent the agent?

(One caveat: customer stories are hand-picked. Outside samples of GitBook sites also show a large share of crypto docs. The pattern holds, but neither company publishes its full customer mix.)

## Persona 1: the builder's agent

**Who sends it:** a developer, working in Claude Code, Codex or Cursor.

**Its job:** get the developer's task working. This is the agent from [my persona card](/writing/ai-agent-persona/), walking the 8-step job map from "does this tool fit?" to "report back to the developer".

**What it reads:** quickstarts, API references, error pages, llms.txt and markdown versions of pages.

**How it fails:** expensively. It guesses, retries and burns tokens. When GitBook removed content from test docs, every run failed, and Claude Code spent a median of 4.8 times its normal cost per run ([GitBook, What documentation defects cost AI coding agents](https://www.gitbook.com/research/docs-defect-experiment)). When Mintlify pointed agents at plain HTML docs, they hit 2.23 dead links per task. With markdown and an llms.txt link, 0.11 ([Mintlify benchmark](https://www.mintlify.com/blog/llms-txt-agent-benchmark)).

I've watched this agent work. When I built an Instagram scraper with a coding agent, I didn't hand it our docs. I handed it [brightdata.com/SKILL.md](https://brightdata.com/SKILL.md). If the answer wasn't in that text, the agent never saw it.

**What to fix first:** complete code examples, documented errors with a next step, and every page available as markdown behind an llms.txt index.

## Persona 2: the end user's agent

**Who sends it:** a customer of a product. Not a builder. Say a marketer using a feed tool, asking ChatGPT how to schedule an export.

**Its job:** answer one question for a person who never visits your site.

**What it reads:** help-center articles, product docs, plan and pricing pages.

**How it fails:** quietly. It doesn't retry. It answers. If your page is stale, it hands your customer the stale answer, with total confidence, and your customer blames your product.

GitBook's numbers show how often that can happen. About 1 in 3 questions to GitBook's own docs assistant couldn't be fully answered from the docs ([GitBook, Where documentation quality breaks down](https://www.gitbook.com/blog/documentation-quality-research-2026)). And when GitBook planted wrong values in test docs, the agents didn't notice. Every run still reported success.

That last finding is the scary one. A missing page costs you a retry. A wrong page costs you a customer who doesn't know they got a wrong answer.

**What to fix first:** put the answer in the first lines of each help page, check that pages match the product today, and treat a stale page like a bug.

## "But Anil, isn't it the same checklist?"

"llms.txt and markdown help both agents. Why split them?"

Partly true. Markdown and an llms.txt index help any agent find the right page. That's the shared floor.

But the floor isn't where you lose. The builder's agent loses on completeness: a missing parameter, a code example that skips a step, an error with no next step. The end user's agent loses on accuracy: last year's plan limits, a renamed setting, a feature that moved. Same format, different failure.

And different owners. Completeness lives with whoever owns the quickstart and the API reference. Accuracy lives with whoever owns the help center and the pricing page. If you don't know which agent you serve, you don't know whose backlog gets the work.

## The two personas, side by side

![Doodle: two persona cards side by side. Builder's agent: sent by a developer; agents Claude Code, Codex, Cursor; reads quickstarts, API reference, errors; fails by retrying and burning tokens; fix completeness first; test it with one real task and count retries. End user's agent: sent by a customer with a question; agents ChatGPT, Meta AI; reads help center, product, pricing; fails by giving a confident wrong answer; fix accuracy and freshness first; test it by asking ChatGPT your top 5 questions.](/images/two-agents/doodle-side-by-side.png)

<details>
<summary>Text version of this image</summary>

| | Builder's agent | End user's agent |
| --- | --- | --- |
| Sent by | A developer | A customer with a question |
| Typical agents | Claude Code, Codex, Cursor | ChatGPT, Meta AI |
| Reads | Quickstarts, API reference, errors | Help center, product docs, pricing |
| Fails by | Retrying and burning tokens | Confidently giving a wrong answer |
| Fix first | Completeness | Accuracy and freshness |
| Test it by | Running one real task with a coding agent | Asking ChatGPT your top support questions |

</details>

## What to do Monday

1. **Find out which agents read your docs.** Mintlify and GitBook both split agents out in their analytics now. On your own site, check server logs for user agents like `ChatGPT-User`, `Claude-User` and `PerplexityBot`.
2. **Name the human behind your top agent.** A builder, or someone with a question?
3. **Run that persona's test.** For the builder: give a coding agent one real task using only your docs, and count the retries. For the end user: ask ChatGPT your five most common support questions, and check every answer against your live pages.
4. **Fix the failure you found, then write the number down.** Next month, you'll want to compare.

For the full page-by-page checklist, run [the 15-minute AX audit](/writing/agent-experience-is-a-marketing-job/).

## What I still don't know

Neither company publishes which pages each agent reads. My guess, from my reply to Addison: coding agents read quickstarts and API references, and ChatGPT reads overview and pricing pages. It's a guess until someone shares the data.

If you run a docs site, tell me which agent reads yours, and which pages. I'll add the answers here.

Find out who sent the agent. Then write for that person.

## FAQ

### What share of docs traffic comes from AI agents?

On the docs Mintlify hosts, agents were 66% of traffic in July 2026, up from 15.2% in January. On GitBook, agents were 51.8% of reads by people and agents in one week of May 2026, up from under 10% in January 2025. The two count differently, so compare the direction, not the decimals.

### Which AI agents read documentation the most?

It depends on the docs. On Mintlify, which hosts many developer and AI company docs, Claude Code led with 40.2% of agent reads from August to November 2026. On GitBook, which hosts more help centers and product docs, ChatGPT led with 54% of agent traffic in a week of May 2026.

### Why does GitBook see more ChatGPT traffic than Mintlify?

Because the agent follows the human. GitBook says its agent mix reflects who its customers are and what they publish. More of its customers run help centers and product docs for end users, who ask ChatGPT. Mintlify's customers lean toward API docs for developers, who use coding agents.

### What is the difference between a coding agent and ChatGPT reading docs?

A coding agent works for a developer and tries to get a task working, so it reads quickstarts, API references and error pages. ChatGPT usually answers one question for an end user, so it reads help and pricing pages. A coding agent fails by retrying. ChatGPT fails by giving a confident wrong answer.

### How do I see which AI agents read my docs?

Check your docs analytics first. Mintlify and GitBook both separate agent traffic from human traffic. On your own site, look in server logs for agent user agents such as ChatGPT-User, Claude-User and PerplexityBot. ChatGPT and Codex share one user agent, so treat that row as both.

### Do llms.txt and markdown help ChatGPT as well as coding agents?

They help any agent find and read the right page, so they're worth doing for both. They don't fix a wrong or outdated answer. For docs read by ChatGPT on behalf of end users, accuracy and freshness matter more than format.

## Further reading

**The data**

- GitBook, [Research: AI agents are now the majority reader of your docs](https://www.gitbook.com/blog/ai-docs-data-april-2026) (May 2026)
- GitBook, [What documentation defects cost AI coding agents](https://www.gitbook.com/research/docs-defect-experiment) (Nov 2026)
- GitBook, [By the numbers: where documentation quality breaks down in 2026](https://www.gitbook.com/blog/documentation-quality-research-2026) (Oct 2026)
- Mintlify, [Who reads developer docs now](https://www.mintlify.com/blog/who-reads-developer-docs) (Nov 2026)
- Mintlify, [State of docs traffic: 2026 midyear](https://www.mintlify.com/blog/state-of-docs-traffic) (Jul 2026)
- Mintlify, [Docs URL benchmark: markdown and llms.txt vs HTML](https://www.mintlify.com/blog/llms-txt-agent-benchmark) (Jul 2026)

**The customers**

- [GitBook customer stories](https://www.gitbook.com/customers)
- [Mintlify customers](https://www.mintlify.com/customers)

**From this site**

- [Your newest persona has no photo: a persona card for AI agents](/writing/ai-agent-persona/)
- [Agent experience is a marketing job](/writing/agent-experience-is-a-marketing-job/)
- [The llms.txt playbook for devtools companies](/writing/how-to-write-llms-txt-that-actually-works/)

---

*[Anil Kumar Krishnashetty](/) is a Senior Technical Product Marketing Manager at Bright Data in Berlin. An engineer with 10+ years in frontend and software engineering (SAP, One.com), technical product manager at Contentful and commercetools, and PMM at Lokalise and Parallels. He speaks about developer experience, the agent-era web, and technical product marketing, [25+ talks and counting](/public-speaking/).*
