Cloudflare has launched Search for Agents, a feature that lets any website owner make their content searchable by AI agents with one toggle in the dashboard. Turn it on for a zone and Cloudflare builds the search index, starts crawling the site and publishes a search endpoint on the site’s own domain.
It’s available to all customers, including those on the Free plan, with limits.
What the toggle does
Cloudflare already offers AI Search, a service that indexes content so developers can add search to an application or agent without building retrieval infrastructure. Websites could already be a data source, but setup was manual. Owners had to create and configure an instance, wire up endpoints on their domain and make sure agents knew the index existed.
Search for Agents removes those steps. It sits next to Markdown for Agents, which converts HTML pages to Markdown in real time for agents that ask for it through content negotiation headers. The new feature works the same way at the network level. Owners can enable it through the API or from the Quick Actions section of a zone’s dashboard page.
The AI Search instance is created with default settings. Reranking, cache behavior and other options can be changed later, and the instance shows up in the account’s AI Search view like any other.
How agents find the endpoint
A search tool is useless if agents don’t know about it, so Cloudflare advertises the endpoint on every page. HTML responses get four meta tags in the head: instructions, endpoint, method and documentation. The instructions tell an agent to use the search API with keywords or natural-language queries instead of crawling pages one by one, and that results come back in Markdown.
Sites that also use Markdown for Agents deliver the same details as YAML front matter when an agent requests a page with an Accept: text/markdown header. The endpoint lives at a /.well-known/search path on the site’s domain and takes a query parameter.
What comes back
The endpoint returns retrieved content in Markdown with relevance scores, not a generated answer. Cloudflare made that choice deliberately. The agent already has a model and a conversation with the user, so it needs source material from the site, not a second model’s attempt at an answer.
In a demo on Cloudflare’s developer documentation, an OpenCode session was asked for the maximum push size for Cloudflare Artifacts. The agent found the endpoint on the homepage, sent the question and got the limits page back within seconds. The answer was correct: 64 MiB per push. Cloudflare says agents tend to reuse the endpoint repeatedly during a session once they find it.
Support for the new QUERY method
Search for Agents also supports the HTTP QUERY method, an IETF Proposed Standard published in June 2026 as RFC 10008. Cloudflare engineer James Snell is among its co-authors. QUERY lets a client send search criteria in a request body in a safe, idempotent way that doesn’t change server state, which suits search requests that are too long or awkward for a URL.
The endpoint accepts a plain-text body or JSON such as {“q”: “…”}. Cloudflare says browser vendors are discussing the RFC, and tools including curl and undici have adopted it or are weighing it.
Controls, pricing and limits
Agents can use the endpoint only within a site’s existing rules. Bot management settings, AI Crawl Control and web application firewall configurations still apply. Because the feature runs on an AI Search instance, owners can also turn on a public REST API or an MCP endpoint, call it from Workers or embed search for human visitors.
Billing follows AI Search pricing, which covers ingesting content, storing the index and serving queries. Usage counts against the included allowances on the Workers Free and Paid plans. Cloudflare also points owners to its Agent Readiness page for guidance on authentication, which content agents can see, the format they receive and how they pay.
What site owners should check first
For publishers and documentation teams, the practical question is what gets indexed. Turning on Search for Agents starts a crawl of the whole zone, so owners should review crawl behavior in the developer docs and confirm their access rules before the endpoint goes live. Cloudflare says it wants feedback from site owners making content searchable to agents, and the Free tier makes a trial cheap to run.
Source: Cloudflare Blog