Technical

Google Lighthouse now audits your llms.txt: the Agentic Browsing category explained

Chrome added an "Agentic Browsing" category to Lighthouse and PageSpeed Insights - and it audits your llms.txt against three strict rules. Here is what it checks, why "File does not appear to contain any links" is the most common error, and how to pass.

Neil Walsh·June 2026·7 min read

Google Lighthouse - the engine behind PageSpeed Insights - has a new category called Agentic Browsing. It audits how well your site works for AI agents rather than for human visitors, and the change most site owners will notice first is that Lighthouse now checks your llms.txt file and flags it when it does not follow the recommended format. If you have run a recent PageSpeed Insights report and seen "llms.txt does not follow recommendations", this is why.

This guide explains exactly what the Agentic Browsing category checks, the three rules the llms.txt audit applies, why "File does not appear to contain any links" is by far the most common failure, and how to write a file that passes. It also covers an awkward tension worth understanding: Google's own Search team has repeatedly said you do not need llms.txt - yet Lighthouse now audits it anyway.

What the Agentic Browsing category is

Agentic Browsing is a set of deterministic checks that evaluate how machine-readable your site is for AI agents - the software that navigates the web on a user's behalf. Unlike Performance or SEO, it does not produce a weighted 0-to-100 score. Chrome describes the standards for the agentic web as still emerging, so the category currently reports pass/fail signals rather than a single ranking. PageSpeed Insights shows it as a simple fraction, such as 2/3.

The category groups several signals that share one assumption: an AI agent reads a page differently from a person. It relies on the accessibility tree for structure, on stable layout to locate elements, and on machine-readable summaries to understand a site quickly.

  • Accessibility tree: every interactive element needs a programmatic name and label, because the a11y tree is the agent's primary model of the page
  • Layout stability: Cumulative Layout Shift (CLS) matters because agents act on element positions that must not move underneath them
  • llms.txt: a machine-readable summary of your site at the domain root, checked against the llms.txt specification
  • WebMCP: an emerging API that lets a site expose its forms and actions to agents directly, audited only under the Chrome WebMCP origin trial

Agentic Browsing is experimental. Testing the full category requires Chrome 150 or later, and the WebMCP audits require registering for the WebMCP origin trial. Chrome notes the category is subject to change - treat its signals as early direction, not a fixed standard.

The three rules the llms.txt audit checks

The llms.txt audit is the part of Agentic Browsing that nearly every site can act on today. It does not grade the quality of your summary or the relevance of your links. It applies three mechanical checks, and failing any one of them produces the "llms.txt does not follow recommendations" warning.

1. It must have an H1 header

The file must begin with a single top-level Markdown heading naming the site or project - for example, # Acme Analytics. In the llms.txt specification this is the only strictly required element. Miss it and Lighthouse reports that the file is missing a required H1 header.

2. It must contain Markdown links

The file must include at least one Markdown-formatted link in the form [Page name](https://example.com/page). This is the rule sites fail most often, and it is worth understanding precisely - which the next section covers. The error text is unambiguous: "File does not appear to contain any links."

3. It must not be suspiciously short

The file has to carry real content - more than roughly 50 characters, according to DebugBear's analysis of the audit. A stub containing only a heading is flagged as suspiciously short. In practice, any genuine llms.txt with a summary and a handful of links clears this easily.

Why "File does not appear to contain any links" is the most common error

The links rule trips up well-intentioned files because the most natural way to list pages is also the wrong way. Many site owners write their llms.txt as a plain bulleted list of paths with descriptions. That reads perfectly to a human, but it contains zero Markdown links, so Lighthouse fails it.

text
## Pages

- /blog: guides and case studies
- /pricing: plans and pricing
- /docs: product documentation

The llms.txt specification requires each entry in a section to be a Markdown hyperlink - [name](url) - optionally followed by a colon and a note. Converting the same list to proper links is all it takes to pass:

text
## Pages

- [Blog](https://example.com/blog): guides and case studies
- [Pricing](https://example.com/pricing): plans and pricing
- [Docs](https://example.com/docs): product documentation

Use absolute URLs (https://example.com/blog), not bare paths. The file is meant to be fetched and followed by AI systems, and absolute links remove any ambiguity about where each resource lives.

Pass, fail, or not applicable

Lighthouse resolves the llms.txt audit to one of three states, and the distinction matters when you read a report.

  • Pass: the server returns the file successfully and it follows the recommendations above
  • Fail: the file exists but breaks a rule, or the server throws an error while retrieving it
  • Not applicable: there is no file at all (a 404), in which case Lighthouse marks the audit N/A rather than failing it

That last point is the one people miss. Not having an llms.txt is not scored as a failure - the audit simply does not apply. A broken llms.txt, by contrast, is an active fail. If you are going to publish one, publishing it correctly matters more than publishing it at all.

But Google said you do not need llms.txt

There is a genuine contradiction here worth naming. Members of Google's Search team have publicly downplayed llms.txt, noting that Googlebot and Google's AI systems do not rely on it for crawling or ranking. Yet Lighthouse - also a Google project - now audits it. So which is it?

Both can be true. The Agentic Browsing category is forward-looking tooling for the agentic web, not a statement about Google Search rankings. The llms.txt standard, created by Jeremy Howard at Answer.AI in 2024, is adopted unevenly: some AI tools and documentation platforms consume it, many do not. The honest position is that llms.txt is low-cost insurance rather than a guaranteed ranking factor.

What changed with this release is the cost-benefit balance. The file takes minutes to write, Google now surfaces a visible warning when it is malformed, and a correct file can only help with the agents that do read it. That is a reasonable case for getting it right - and very little case for leaving a broken one in place.

How to write a compliant llms.txt

A file that passes the audit and follows the specification has a predictable shape: an H1, a one-line summary, optional context, then one or more H2 sections of Markdown links. Here is a template you can adapt.

text
# Acme Analytics

> Product analytics for B2B SaaS teams. Track activation, retention, and revenue in one place.

Acme Analytics helps growth and product teams understand user behaviour without writing SQL. This file points AI systems at the pages most useful for answering questions about the product.

## Key pages

- [Home](https://acme.com/): Product overview and free trial
- [Pricing](https://acme.com/pricing): Plans, limits, and pricing
- [Docs](https://acme.com/docs): Setup guides and API reference
- [Blog](https://acme.com/blog): Analytics guides and benchmarks

## Optional

- [Changelog](https://acme.com/changelog): Release notes
- [Security](https://acme.com/security): Data handling and compliance
  1. Start with a single # H1 naming your site - this is the only required line
  2. Add a > blockquote with a one-sentence summary of what you do
  3. Write a short paragraph of context if it helps an AI understand the rest
  4. Group your most important URLs under ## headings as Markdown links, each with a brief note
  5. Use an "## Optional" section for secondary resources an AI can skip under tight context limits
  6. Save the file as UTF-8 and serve it at https://yourdomain.com/llms.txt

Do not block /llms.txt in robots.txt, and make sure it returns a 200 with a text/plain or text/markdown content type. A file that 404s, redirects, or returns a server error will either be skipped or actively fail the audit.

WebMCP and where Agentic Browsing is heading

llms.txt is the accessible first step, but the more ambitious part of Agentic Browsing is WebMCP. It is an emerging browser API that lets a site declare its actions - submitting a form, searching a catalogue, booking a slot - so an agent can call them directly instead of guessing from the rendered page. Lighthouse audits WebMCP integrations, but only for sites enrolled in Chrome's WebMCP origin trial.

The two checks that need no opt-in are rooted in fundamentals you should already care about: a well-formed accessibility tree and a stable layout. Semantic HTML with proper ARIA labelling is, in Chrome's framing, the machine-eye view of your page - the same markup that helps screen-reader users helps AI agents parse and act on your content. Investing there pays off regardless of how the agentic standards evolve.

How to check your own site

Run your URL through PageSpeed Insights and look for the Agentic Browsing category, or open Lighthouse in Chrome 150 or later. The llms.txt audit appears under Agent Accessibility, with the exact error text if your file falls short. Fix the file, redeploy, and re-run the report to confirm the warning clears.

CiteRank's free AEO audit now validates llms.txt against these same three rules - H1, Markdown links, and length - alongside the other signals that determine whether AI engines cite you. If you would rather see every issue in one pass than run several separate tools, paste your URL and check.

Frequently asked questions

What is the Lighthouse Agentic Browsing category?

Agentic Browsing is a category in Google Lighthouse - the engine behind PageSpeed Insights - that audits how well a site works for AI agents rather than human visitors. It checks signals such as the accessibility tree, layout stability (CLS), WebMCP integrations, and the llms.txt file. It is deterministic and experimental: rather than a weighted 0-to-100 score, it reports pass/fail signals, and Chrome notes the standards are still emerging and subject to change. Testing the full category requires Chrome 150 or later.

What does "llms.txt does not follow recommendations" mean in PageSpeed Insights?

It means Lighthouse found your llms.txt file but it failed one of three checks: it is missing a top-level H1 header, it contains no Markdown links, or it is suspiciously short (under roughly 50 characters). The most common cause is listing pages as plain paths, such as "- /blog: guides", instead of Markdown links, such as "- [Blog](https://example.com/blog): guides". Fixing the specific issue named in the error and redeploying clears the warning.

Why does Lighthouse say my llms.txt contains no links?

Lighthouse looks for Markdown-formatted links in the form [name](url). If your file lists URLs as plain text or bare paths - for example "- /pricing: our plans" - it technically contains no Markdown links, so the audit reports "File does not appear to contain any links." Convert each entry to a proper Markdown link, ideally with an absolute URL, such as "- [Pricing](https://example.com/pricing): our plans".

Do I actually need an llms.txt file?

You are not required to have one, and Google's Search team has said its crawling and ranking do not depend on llms.txt. Lighthouse only marks a missing file as not applicable, not as a failure. However, some AI tools and documentation platforms do consume llms.txt, the file takes minutes to create, and Lighthouse now surfaces a visible warning if an existing file is malformed. Treat it as low-cost insurance - and if you do publish one, make it valid.

What are the rules for a valid llms.txt file?

Per the llms.txt specification and the Lighthouse audit, a valid file is Markdown served at yourdomain.com/llms.txt and contains: a single H1 naming the site (the only required element), an optional blockquote summary, optional context paragraphs, and one or more H2 sections listing important pages as Markdown links - [name](url) - each optionally followed by a note. Save it as UTF-8, keep it longer than a bare heading, and make sure it returns a 200 response.

What is WebMCP in the Agentic Browsing audit?

WebMCP is an emerging browser API that lets a website expose its actions - such as submitting a form, searching, or booking - so AI agents can call them directly rather than inferring them from the rendered page. Lighthouse audits WebMCP integrations as part of Agentic Browsing, but only for sites enrolled in Chrome's WebMCP origin trial. Unlike the llms.txt and accessibility-tree checks, WebMCP requires explicit opt-in and is still experimental.

Free tool

See your AEO score in seconds

Paste your URL and get a full audit across all 9 AEO signals - schema, crawlers, E-E-A-T, and more.

Audit my site - it's free

Related reading

Technical

Why Schema.org markup is the single biggest lever for AI citation

May 2026
Technical

Is your robots.txt accidentally blocking ChatGPT and Claude?

May 2026