Skip to main content
search

AI agents don’t browse your site the way people do. They want answers fast, in clean text, without crawling page after page. On November 25, Cloudflare launched Search for Agents, a dashboard toggle that indexes your site and gives agents a search endpoint on your own domain.

We tried it on Cloudflare’s own developer docs, where it’s already on, to see what an agent actually receives. Here’s how Search for Agents works, what our test showed and whether you should turn it on.

Key takeaways

  • One toggle creates an AI Search index of your site and serves results at /.well-known/search on your domain.
  • Every page advertises the endpoint to agents through meta tags in its head.
  • Search for Agents returns Markdown passages, not AI-written answers, so the agent’s own model does the answering.
  • It’s in beta on all plans, including Free, and usage follows AI Search pricing.

50

Passages the endpoint returned for one question in our test. The top result, scored 1.000, held the answer: 64 MiB per push.

How Search for Agents Works

Turn it on under Quick Actions in your zone, or through the API, and Cloudflare creates an AI Search instance, crawls your pages and indexes them. The instance starts with default settings, and you can turn on reranking or change cache options later. Agents then query /.well-known/search with a plain question or keywords. The endpoint also accepts QUERY, a new HTTP method published as an IETF Proposed Standard in June 2026 that carries the search in the request body.

Cloudflare stresses that the endpoint returns retrieved content, “not another AI model’s attempt to answer on its behalf.” That’s a sensible design: the agent already has a model, so it only needs your facts.

Cloudflare’s developer channel shows the AI Search setup that this feature automates:

How Agents Find the Endpoint

Search isn’t useful if agents don’t know it exists. So with Search for Agents on, every HTML page gets agent meta tags with instructions, the endpoint, the method and a link to the docs. If you also use Markdown for Agents, the same details arrive as YAML front matter when an agent asks for text/markdown. Your bot management, AI Crawl Control and firewall rules still apply, so blocking AI bots and offering search can coexist. In Cloudflare’s own demo, an OpenCode session found the endpoint on its docs homepage and returned a correct answer within seconds.

What Our Search for Agents Test Showed

On November 29, we opened Cloudflare’s Artifacts limits page and found the four agent meta tags in its head. Then we asked the endpoint the question Cloudflare uses in its launch post: what is the maximum push size for Cloudflare Artifacts?

  • The response came back in Markdown with 50 passages, ranked by score.
  • The top passage, scored 1.000, was the limits page, and it held the answer: 64 MiB per push.
  • The full response was 50,948 characters. The limits page was 93,633 characters as HTML and 3,869 as Markdown.
Search for Agents test: the Cloudflare limits page was 93,633 characters as HTML, the search response 50,948 and the same page as Markdown 3,869
Our test of Cloudflare’s Search for Agents on its developer docs. Chart by Momentum Hub.

So Search for Agents found the right page on the first try, but it sent plenty of extra text. An efficient agent would read the top hit, then fetch just that page as Markdown. These are the two requests in curl form; we sent the same ones from a browser:

curl "https://developers.cloudflare.com/.well-known/search?q=maximum+push+size+artifacts"
curl -H "Accept: text/markdown" https://developers.cloudflare.com/artifacts/platform/limits/

Should You Turn On Search for Agents?

It depends on how much you want AI agents to use your content. Our guide to generative engine optimization covers the visibility side. Before you flip the toggle:

  1. Decide what’s public. Cloudflare’s docs say to index only content you want searchable.
  2. Check your bot settings. Make sure your crawl rules match what you want agents to see.
  3. Estimate costs. Ingestion, storage and queries count against your AI Search limits.
  4. Test it yourself. Query your endpoint with real reader questions and read the top results.
  5. Measure agent traffic. Use the methods in our post on tracking AI search traffic.

Because it’s a regular AI Search instance underneath, you can also expose it as an MCP endpoint or call it from Workers.

Eddy Says Hi’s video looks at Markdown for Agents and where agent browsing is heading:

Quick Questions, Answered

Does Search for Agents replace my site search? No. It’s built for agents, though the same AI Search instance can power a search box for people.

Will agents actually use it? Cloudflare says agents discovered and used the endpoint on its docs ahead of launch. That’s the maker’s observation, so watch your own logs.

What about publishers who block AI? You stay in control. The endpoint respects your bot management and firewall rules, which matters as more readers reach news through AI gateways.

Final Thoughts: Build a Front Door for Agents

The web is quietly growing a second front door. Search for Agents makes it easy to open one on your own terms: your index, your domain, your rules. Turn it on where you want agents to find you, test what they get and keep the HTML for the humans. Tools like agent-browser show that agents will read the web either way; this helps them read it well.

Obada Kraishan

A Computational Social Scientist, Research Scholar, and Software Engineer specializing in machine learning, computational methods, and full-stack development. He leverages these skills to advance research and create innovative web solutions.