# How agents read the docs

> llms.txt, a Markdown copy of every page, and the search_docs tool, so an agent finds answers without guessing.

These docs are written for people, and every page is also available in forms agents read easily.

## llms.txt

[https://docs.adventfunnel.com/llms.txt](https://docs.adventfunnel.com/llms.txt) lists every page with its description and the address of its Markdown copy, following the [llms.txt](https://llmstxt.org) convention. [llms-full.txt](https://docs.adventfunnel.com/llms-full.txt) has every page in one file, for an agent that wants to read it all at once.

## A Markdown copy of each page

Add `.md` to any page's address to get it as plain Markdown, for example [https://docs.adventfunnel.com/payments.md](https://docs.adventfunnel.com/payments.md). Each page also links to its copy under its title (**View as Markdown**), and names it in its head as an alternate version, so tools that look for one find it.

## search_docs over MCP

An agent connected to the MCP server (see [Connect your agent](https://docs.adventfunnel.com/connect-an-agent)) has a `search_docs` tool. With a few words it returns the parts of pages that match, each with an excerpt and a link. With a page's name it returns that page whole, as Markdown.

That way, when you ask your agent "how do I take Apple Pay?", it can read the answer here rather than guess.

> The docs describe how Advent Funnel works for everyone. They never hold your account's data: your agent reads your products, funnels and numbers with its other tools.
