Guide · November 24, 2026

llms.txt explained: how AI agents find every page on your website

What llms.txt is, how it works with sitemap.xml and robots.txt, and how to make your website easy for AI agents and AI search to read.

Before an agent can read the right page, it has to know the page exists. Websites answer that question in three places, and most agents check none of them.

sitemap.xml

A sitemap is a list of a site's URLs, written for search engines. It normally lives at /sitemap.xml, and large sites split it into several files listed by a sitemap index.

For an agent it is the most complete source there is, because the site owner wants every listed page found. Its weakness is that it has no titles, only URLs, and that some sites do not publish one.

llms.txt

llms.txt is a newer convention: a markdown file at the root of a site that introduces it to language models. It usually holds a short description and a curated list of the pages that matter, each with a title and a line of explanation.

It is smaller than a sitemap and far more useful per line, because someone chose what goes in it. Where a sitemap says a page exists, llms.txt says what it is for.

robots.txt

robots.txt says which paths automated clients should stay out of. It also names the site's sitemaps, which makes it the right first request: one small file tells you both where the list of pages is and which of them you should not fetch.

An agent that acts for a person is not a search crawler, and there is a real argument about how the rules apply. Our position is simple. If a site asks automated clients to stay out of a path, ompro stays out, and tells the agent the page is closed.

Links

Whatever the files say, the pages link to each other. Every page an agent reads adds its links to the picture, which covers sites with no sitemap at all and fills in titles the sitemap lacks.

Putting them together

ompro requests robots.txt and llms.txt alongside the page the agent asked for, follows the sitemap locations it finds, and merges everything into one index:

  • paths from the sitemap
  • titles and descriptions from llms.txt
  • titles from link text
  • anything robots.txt disallows removed

The result is a single list of the site's pages that the agent receives with its first page. It is cached, so later calls to the same site reuse it.

If you run a website

You can make your site easier for agents to use today:

  • Publish a sitemap and name it in robots.txt.
  • Add an llms.txt with your most important pages and one honest line about each.
  • Use real links in your navigation, not buttons that only work with JavaScript.

None of this is specific to ompro. Any agent that looks for these files will find its way around your site faster.

All posts

Give your agent a browser.

Hand it this prompt, or call the API yourself.

Prompt
Give yourself a browser by adding the MCP server at  and call open on any link to see the page and the whole site index.