Cloudflare Search for Agents: your website now has a search box built for AI
On 25 November 2026 Cloudflare gave every site on its network a search endpoint that only AI agents use. How it works, what happened when we tested it, and why your content gaps now become an agent's answers.
The short answer
Cloudflare's own figures explain why it built this. More than 50% of internet traffic is now non-human, and agents that crawl a whole site to answer one question cost the site bandwidth and the agent time. Search for Agents swaps the crawl for one request.
What is Cloudflare Search for Agents?
Search for Agents is a Cloudflare feature that makes a website searchable by AI agents. It creates an AI Search index of your site, then serves results at /.well-known/search on your own domain. Agents send a question and get back matching passages from your pages in Markdown. It is free to switch on, in beta, and usage follows AI Search pricing.
The announcement on Cloudflare's blog describes it as a toggle that packages work which used to need manual setup. Cloudflare's AI Search product could already index a website, but someone had to create the index and wire it into the site. Now the zone Overview page has a Quick Actions switch, and the API can do the same.
The developer documentation sets out the defaults. Cloudflare discovers pages from your sitemap and links, so a sitemap helps but is not required. It indexes up to 100,000 pages, follows links five hops from the homepage, leaves subdomains out and refreshes every 24 hours. Search is hybrid, combining keyword matching with vector similarity, and returns up to ten passages.
How does an AI agent find and use it?
An agent finds the endpoint through meta tags Cloudflare adds to your pages, then sends its question to /.well-known/search. It can use a plain GET request with the question in the address, or the new HTTP QUERY method with the question in the request body. The reply is Markdown: page paths, titles, passages and scores.
We checked the homepage of Cloudflare's developer documentation on 27 November. Its head now carries four tags: agent:instructions, agent:endpoint, agent:method and agent:documentation. The instructions tag tells the agent to use the search API instead of crawling individual pages. The endpoint tag gives the address with a {query} placeholder.
The QUERY method is the newer part. It was standardised as RFC 10008 in June 2026, co-authored by Cloudflare's James Snell, and lets a client send search criteria in a request body safely. Cloudflare's endpoint advertises both plain text and JSON bodies.
Cloudflare tested the feature on its own documentation before launch. In the announcement it reports that "agents do a good job of discovering the search API". It names no AI company that has committed to using it. Its demonstration used OpenCode, an open-source coding agent.
What happened when we tested it?
We sent three questions to Cloudflare's documentation endpoint on 27 November 2026 from Sydney. All three came back with HTTP 200 and a Markdown list of passages. The first two returned the right pages. The third shows the risk every business should understand before switching it on.
| Question | Method | Time | Top result |
|---|---|---|---|
| workers pricing | GET | not timed | Dynamic Workers pricing (score 1.000), then Workers pricing (0.892) |
| how do I block AI crawlers | QUERY, JSON body | 4.6 seconds | AI Crawl Control: take action for each AI crawler (1.000) |
| refund policy | GET | 2.3 seconds | Account payment method preauthorisation (1.000) |
Source: PostCliq test of Cloudflare's public endpoint, 27 November 2026. Times are single requests and will vary.
Look at the last row. Cloudflare's documentation has no page that answers "refund policy", so the search returned the closest passage it had, about card preauthorisation, and gave it a perfect score. Scores in this system rank results against each other. A 1.000 means best available, not correct.
That is the post-click problem in a new form. A human who lands on the wrong page can look around. An agent that receives a confident passage about preauthorisation may tell its user that is your refund policy, or move on to a competitor whose site answered the question plainly. Your content gaps become your agent's answers.
The first row makes a smaller version of the same point. A question about Workers pricing ranked a different product's pricing page first. On a business site, a question about "pricing" could surface an old campaign page, a blog post or a careers page before the real price list.
Does it replace llms.txt, sitemaps or WebMCP?
No. Search for Agents answers "where on this site is the thing I need", which none of the others do. A sitemap lists pages, llms.txt summarises a site, and WebMCP lets an agent act, such as submitting a form. Most sites that care about agents will use several together.
| Method | What it gives the agent | Who sets it up | Answers a question directly |
|---|---|---|---|
| Search for Agents | Ranked passages from your pages, in Markdown | One toggle in Cloudflare | ✓ |
| llms.txt | A curated map of your most useful pages | You write the file | ✕ |
| XML sitemap | A list of every page you want found | Your CMS, usually | ✕ |
| WebMCP | Named tools, such as "book a call", that an agent can run | Your developer | ◐ for actions, not content |
Source: Cloudflare developer docs , Chrome for Developers and PostCliq's guides.
We explained what the file does and who reads it in our guide to llms.txt, and WebMCP is the route for actions such as a booking form. Search for Agents sits between them: more useful than a map, less involved than building tools.
Should a business website turn it on?
For most business websites on Cloudflare, yes. It costs one click, it only exposes pages that are already public, and it stays behind your existing bot and firewall settings. The real work is not the switch. It is making sure the passages an agent receives answer the questions your buyers ask.
Our view: this is the first time a large infrastructure company has given ordinary websites a front door built for agents, rather than a lock. Until now the debate was about who to let in, which we covered in Cloudflare's controls for personal agents. Search for Agents is about what they find once they are in. We expect agents to prefer sites that answer in one request over sites they have to crawl, because one request is faster and cheaper for the agent's owner. That preference will not show up in a ranking report. It will show up as enquiries that never arrive.
There are three cases where we would wait.
- Your public pages include things you would rather not hand to a machine in bulk. Cloudflare's own advice is to index only content you intend to make publicly searchable.
- Your prices or stock change several times a day. A 24-hour refresh means an agent can quote yesterday's price. Shorten the sync interval in the index settings first, and check the usage cost.
- You already block AI agents on purpose. Requests to the endpoint stay subject to your AI Crawl Control and WAF rules, so the search box will sit unused. Decide the policy first, using our guide on whether to block AI agents.
What can stop it working for your site?
The index can only hold what Cloudflare's crawler can read. If a page is missing from the crawl, it is missing from every agent's answer. These are the four usual suspects, and the same ones that stop agents reading a site page by page.
Pages that need JavaScript to show their content
Cloudflare's documentation does not say whether its crawler runs JavaScript. Until it does, assume a page that renders its text in the browser may be indexed as an empty shell. Server-rendered HTML is the safe default for every agent, not just this one.
Pages deeper than five links from the homepage
Service pages buried under menus and filters may sit beyond the default depth. A sitemap fixes most of this, which is one more reason to keep it current.
Answers that live in PDFs, images or chat widgets
A price list in a PDF, opening hours in an image or a returns policy that only the chatbot knows are all invisible to a text index. Put the answer on a page, in words.
A firewall that blocks Cloudflare's own crawler
Security plugins and custom WAF rules sometimes block crawlers they do not recognise. If the index comes back thin, check your rules before blaming the content. On WordPress, the sitemap, the robots rules and whether pages render without JavaScript are routine maintenance work, and a WordPress specialist such as WP Creative will usually check all three in the same pass.
What to do next
- Check whether your site is on Cloudflare. Your domain name settings show it, or ask whoever manages your website.
- Score your agent readiness first. Run our AI agent readiness check to see whether agents can read your key pages at all. Search for Agents cannot index what an agent cannot read.
- Write down the ten questions buyers ask before they enquire. Price, area served, turnaround, returns, availability, how to book.
- Make sure each question has a page that answers it in plain words. Not a PDF, not an image, not a chatbot reply.
- Turn on Search for Agents from the zone Overview page, under Quick Actions, and wait for indexing to finish.
- Ask your own endpoint the ten questions. Open yourdomain.com.au/.well-known/search?q= followed by the question. Read the top result as if you were the agent.
- Fix the misses. Where the top passage does not answer the question, the content is the fix, not the search.
- Recheck after every major content change, remembering the 24-hour refresh.
If agents are already buying from your checkout, the same discipline applies to the purchase step. We set out what stops an agent completing a sale in our guide to agentic payments, and how an agent proves who it acts for in the Personal Agent Protocol.
Frequently asked questions
Is Cloudflare Search for Agents free?
Switching it on is free and it is available on all plans, including Free, in beta. Usage follows Cloudflare's AI Search pricing for content ingestion, index storage and queries, with included usage and limits on the Workers Free and Paid plans. Check the AI Search pricing page before you index a large site.
Does Search for Agents give my content to AI companies?
It gives any agent that asks a question the matching passages from your public pages, as your website already would page by page. Requests stay subject to your AI Crawl Control, bot management and WAF rules. Cloudflare advises indexing only content you intend to make publicly searchable.
Will it help my Google rankings?
There is no evidence it does. Google has said it does not use AI text files such as llms.txt for Search, and Search for Agents is aimed at agents, not search crawlers. Treat it as a way to be answerable to AI assistants, not as an SEO lever.
What if my site is not on Cloudflare?
The endpoint is a Cloudflare feature, so you would need to move your DNS to Cloudflare or build a similar search endpoint yourself. Either way, the content work is the same: a clear page that answers each buyer question in plain words.
What will an AI agent find on your site?
Check it free.
PostCliq checks whether AI agents can read and act on your pages, and puts the three fixes that matter most first.
Free. No credit card.
