Cloudflare has launched Search for Agents, a single switch that turns any website on its network into something AI agents can search instead of crawl. Announced on November 25, 2026, the feature builds a search index of your site, publishes a search endpoint on your own domain and tells every visiting agent that it exists. It is open to every Cloudflare customer, including the Free plan.
Key takeaways
- One toggle (dashboard or API) creates an AI Search index for your zone and starts crawling it.
- Agents query a standard endpoint at
/.well-known/searchon your own domain. - Every page advertises the endpoint through
agent:meta tags, so agents find it without being told. - Results come back as Markdown source text with scores, not an AI-written answer.
- It supports the new HTTP QUERY method (RFC 10008) as well as plain GET requests.
- Usage is billed under Cloudflare’s AI Search pricing; Free plans get it with limits.
What happened
Cloudflare already sold AI Search, a managed retrieval service that can crawl a website, convert its pages and index them. The catch was setup: site owners had to create an instance by hand, wire its endpoints into their domain and then somehow let agents know the index was there.
Search for Agents removes those steps. When you switch it on for a zone (it sits under Quick Actions on the zone page, or can be enabled through the API), Cloudflare creates the AI Search instance with default settings, begins indexing your content and serves search from your own hostname. You can later change options such as reranking and cache behaviour on the instance it created.
The company says it turned the feature on for its own developer documentation before the launch and saw agents discover and use the endpoint in the middle of tasks. In a demo with the OpenCode coding agent, the agent spotted the endpoint on the docs homepage, sent its question to the search path and returned a correct answer within a few seconds. The Next Web describes the release as a beta available on every plan.
How Search for Agents works
The design borrows from Cloudflare’s earlier Markdown for Agents feature, which converts HTML pages to Markdown at the network edge when an agent asks for it. Search for Agents applies the same idea to search: everything happens at the network level, so the site owner does not need to change application code.
Discovery. Cloudflare injects four meta tags into the head of every HTML page: agent:instructions, agent:endpoint, agent:method and agent:documentation. Together they tell an agent that a search API exists, where it lives, which HTTP method to use and where the docs are. If Markdown for Agents is also enabled, an agent that requests a page with Accept: text/markdown gets the same details as YAML front matter.
Querying. The endpoint sits at /.well-known/search on your domain. Agents can pass keywords or a full natural-language question in a q parameter on a GET request. They can also use the HTTP QUERY method, which carries the search in the request body as plain text or JSON.
Results. The response is Markdown: matching passages from your pages, each with a relevance score and its source path. Cloudflare deliberately does not generate an answer. Its reasoning is that the calling agent already has its own model and conversation, so all it needs is the right source text.
Controls. Agents still pass through your existing bot management, AI Crawl Control and web application firewall rules. Because the feature is a normal AI Search instance in your account, you can also expose it as a public REST or MCP endpoint, call it from Workers, or embed it on your site for human visitors.
Why it matters
Today most AI agents learn about a website the slow way. They fetch a page, read it, follow links and fetch more pages until they find what they need. That is expensive for the agent, which spends tokens and time on irrelevant text, and for the site, which serves a stream of requests that look a lot like scraping.
A search endpoint changes the shape of that traffic. One query replaces a crawl, and the answer comes from the site’s own current pages rather than from whatever a third-party crawler cached weeks ago. For companies with documentation, help centres or product catalogues, that means the assistants their customers use are more likely to quote accurate, up-to-date information.
Scale is the other reason. Cloudflare said in October that daily requests from AI agents on its network grew more than 1,700% in a year, according to The Next Web. Agents are also gaining the ability to drive real desktops and browsers, as we covered with Gemini computer use on Mac. As that traffic grows, giving agents a cheaper, structured way in is as much about protecting origin servers as it is about helping AI.
What it means for developers and site owners
If you run a site on Cloudflare: this is the lowest-effort way so far to make your content agent-friendly. Docs and knowledge-base teams are the obvious first users. Before you flip it on, check what the crawler will index; anything publicly reachable in your zone can end up in search results, so review staging paths, old pages and gated content.
If you build agents: it is worth teaching your agent to look for agent:endpoint meta tags and the /.well-known/search path before falling back to crawling. A few lines of discovery logic could cut many page fetches from a research task. Support for QUERY is also worth adding to your HTTP client; Cloudflare notes that curl and Node’s undici have already adopted it.
On cost: Cloudflare says usage follows its AI Search pricing, which covers ingestion, index storage and queries, with included usage on both the Workers Free and Paid plans. The Next Web reports that AI Search billing starts on December 1. Because any agent on the internet can hit your endpoint, set limits and watch usage in the first weeks, especially on busy sites.
On trust: results come straight from your pages, so prompt-injection text hidden in user-generated content could be passed to agents. Treat the search index like any other public API surface, and see our earlier look at how AI prompts leak for why data hygiene matters once agents are involved.
What to watch next
The big open question is adoption. The agent: meta tags are Cloudflare’s convention, not an agreed web standard, and the feature only pays off if agent builders such as OpenAI, Anthropic, Google and open-source frameworks look for them. Cloudflare has not published accuracy or adoption numbers beyond its own docs.
Watch also for how the HTTP QUERY method spreads. It was published as RFC 10008 in June 2026, and browser vendors are still discussing it. If QUERY becomes common in agent toolkits, search-style APIs like this one become easier to build everywhere, not just on Cloudflare.
Finally, expect competitors to respond. If agents increasingly ask sites for answers instead of reading them, the companies that sit in front of websites will want to control that layer. Cloudflare has just made a strong bid to own it.
Sources: Cloudflare Blog, Cloudflare developer docs, The Next Web.