Agent: If you are an AI agent, start with the agent instructions page or read /llms.txt for a documentation index.
A benchmark that tests how well AI coding agents can read web content. Point your agent at the test, get a score, compare across platforms.
Take the TestAI coding agents (Claude Code, Cursor, GitHub Copilot, and others) read documentation websites as part of their workflows. But most agents hit silent failure modes: content gets truncated, CSS buries the real text, client-side rendering delivers empty shells, and tabbed content serializes into walls of text where only the first variant is visible.
This benchmark surfaces those failure modes. Each test page is designed around a specific problem documented in the Agent-Friendly Documentation Spec. The pages embed canary tokens at strategic positions. Agents self-report what they found; you compare against the answer key.
agentreadingtest.com/start/ and ask it to take the test.
Go to https://agentreadingtest.com/start/ and take the test150K-char page with canary tokens at 10K, 40K, 75K, 100K, and 130K. Maps exactly where your agent's truncation limit kicks in.
page-size-html, page-size-markdown80K of inline CSS before the real content. Tests whether agents distinguish CSS noise from documentation.
content-start-positionClient-side rendered page. Content only appears after JavaScript executes. Most agents see an empty shell.
rendering-strategy8 language variants in tabs. Canary tokens in tabs 1, 4, and 8. Tests how far into serialized tab content the agent reads.
tabbed-content-serializationReturns HTTP 200 with a "page not found" message. Tests whether the agent recognizes it as an error page.
http-status-codesMarkdown with an unclosed code fence. Everything after it becomes "code." Tests markdown parsing awareness.
markdown-code-fence-validityDifferent canary tokens in HTML vs. markdown versions. Tests whether your agent requests the better format.
content-negotiation301 redirect to a different hostname. Most agents won't follow it (security measure). The canary is on the other side.
redirect-behaviorThree cloud platforms, identical "Step 1/2/3" headers. Tests whether agents can determine which section is which.
section-header-qualityReal content buried after 50% navigation chrome. Tests whether agents read past the sidebar serialization.
content-start-positionThe test has a maximum score of 20 points. Each canary token found earns 1 point, and correct answers to qualitative questions earn 1 point each. The answer key has the full breakdown.
A perfect score is unlikely for any current agent. The tests are calibrated so that each failure mode will realistically affect at least some agents. A typical score range for current agents is probably 14-18 out of 20, depending on the platform's web fetch pipeline.
Agent Reading Test is a companion project to the Agent-Friendly Documentation Spec, which defines 22 checks across 8 categories evaluating how well documentation sites serve AI agent consumers. The spec is grounded in empirical observation of real agent workflows.
This benchmark flips the perspective: instead of testing the documentation site, it tests the agent. The same failure modes apply, but here we're measuring which agents handle them gracefully and which don't.
Source code: github.com/agent-ecosystem/agent-reading-test