Cloudflare Will Now Run a Search Engine on Your Site for AI Agents. Should You Switch It On?
On 25 November Cloudflare added a new switch to the Overview page of every domain on its network. It’s called Search for Agents.
Turn it on and Cloudflare crawls your site and builds a search index of it. It then adds four meta tags to every HTML page, telling AI agents the index exists. Agents can send their questions to a new address on your own domain, /.well-known/search, and get answers back.
It’s available on every plan, including Free, and Cloudflare’s documentation labels it beta. The AI Search product it runs on started billing on 1 December.
If your site sits behind Cloudflare, this toggle will be in Quick Actions the next time you or your developer log in. A lot of sites do, sometimes without the owner knowing. Here’s what the toggle does, what it costs, and six things to check before you touch it.
What Cloudflare actually launched
Search for Agents is a ready-configured instance of Cloudflare’s AI Search product, pointed at your own domain. When you switch it on, Cloudflare creates an instance called search-for-agents-<ZONE_ID> and sets its crawler going.
The crawler identifies itself as Cloudflare-AI-Search. It finds pages through your sitemaps and by following links. It stores a Markdown copy of each page, splits that copy into passages, and indexes them for both keyword and meaning-based search.
When an agent sends a question, the endpoint returns the best-matching passages in Markdown, with source references and relevance scores. It doesn’t generate an answer. The agent does its own thinking with whatever passages it gets back.
The four tags added to the <head> of your pages look like this:
<meta name="agent:instructions" content="Use this search API to find relevant content across this site…">
<meta name="agent:endpoint" content="https://yourdomain.co.uk/.well-known/search?q={query}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">
The defaults, from Cloudflare’s documentation:
- Discovery: sitemaps and links
- Page limit: 100,000 pages
- Depth: 5 link hops from the start page
- Refresh: every 24 hours
- Subdomains: not included
- Results per query: up to 10 passages
- robots.txt: respected
Put plainly, it’s site search. It’s the same thing as the search box in your header, built for software rather than people, at an address agents can find without being told.
What it costs
Search for Agents is billed as AI Search usage. Cloudflare’s pricing page says AI Search billing begins on 1 December 2026. Cloudflare quotes prices in US dollars.
Included each month: 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic or hybrid queries and 1,000 full-text queries.
Beyond that: $0.75 per million ingestion tokens, $2.00 per GB-month of storage, $0.75 per 1,000 semantic or hybrid queries, and $0.10 per 1,000 full-text queries.
Free plan limits: accounts on the Workers Free plan can crawl up to 500 pages a day.
For a typical small business site, the included allowance probably covers it today. As a rough guide, if agents ran 20,000 hybrid searches against your site in a month, the query overage would be about $14.25.
That isn’t much money. What matters is who decides the volume. You don’t control how often agents search your site; the agents do. The documentation also doesn’t say whether repeat queries answered from Cloudflare’s cache are billed.
Six checks to run before you switch it on
Check 1 — Do you know whose Cloudflare account your site is in?
How: Look up your domain’s nameservers, with dig NS yourdomain.co.uk or a site like whatsmydns.net. If they end in ns.cloudflare.com, your site is on Cloudflare. Then find out which account holds it. It might be yours, your developer’s or a previous agency’s.
Why it matters: The toggle, and the bill, belong to whoever owns that account. Anyone with access to it can switch Search for Agents on for your domain.
Pass: You know which account it is, and who can change settings in it.
Fail: Nobody’s sure. Sort this out first, whether or not you ever use the feature.
Check 2 — Is anything publicly reachable that you wouldn’t want an agent to quote?
How: Open your sitemap (/sitemap.xml, or /sitemap_index.xml on most WordPress sites) and run a site:yourdomain.co.uk search in Google. Look for retired offers, old price pages, thank-you pages, test pages, internal PDFs and thin tag archives.
Why it matters: The crawler follows your sitemaps and links up to five hops deep. Cloudflare’s guidance is to “only index content that you intend to make publicly searchable”.
The documentation confirms that robots.txt is respected. It doesn’t say whether a noindex meta tag is, so don’t rely on one. An agent receives passages without context, so it will quote a two-year-old price page as confidently as the current one.
Pass: Everything reachable is current and meant to be public.
Fail: Retired or private content can still be found. Remove it, or block it for the Cloudflare-AI-Search user agent in robots.txt. You can also exclude paths in the instance’s settings.
Check 3 — Does your robots.txt already say no?
How: Open yourdomain.co.uk/robots.txt. Look for Disallow rules under User-agent: * and for any Content-Signal lines, which Cloudflare’s managed robots.txt can add.
Why it matters: According to Cloudflare’s documentation, the crawler respects robots.txt, and a Content Signal of no for search or ai-input rejects the crawl.
If you tightened these settings after Cloudflare’s crawler changes in September, you may already have opted out. Switching the toggle on would then give you an empty or partial index.
Pass: Your robots.txt and content signals say what you actually want.
Fail: They contradict each other, or contradict what you’re about to switch on. Decide which you mean.
Check 4 — Will your own bot rules block it?
How: In the Cloudflare dashboard, review AI Crawl Control, your WAF custom rules and any rate limiting. Note whether AI agents are being blocked or challenged.
Why it matters: Cloudflare’s documentation says requests to the search endpoint “remain subject to your AI Crawl Control and Web Application Firewall (WAF) configurations”. If you block agent traffic, the endpoint answers nobody. Third-party coverage suggests bot rules can affect the crawler too, so check the crawl results after you switch it on.
Pass: Your rules allow the agent traffic you want.
Fail: You’d be building a search box behind a locked door.
Check 5 — Does your site fit the defaults?
How: Count the URLs in your sitemap. Note whether any important content lives on a subdomain, such as shop., help. or blog.. Think about how often your prices, stock or opening hours change.
Why it matters: Subdomains aren’t included by default, the crawl stops five links deep, and the index refreshes once a day. A shop on a subdomain won’t be indexed, and a price you change at 9am may still be served at 8am the next day.
Pass: Your important content is on the main domain, within a few clicks of the homepage, and a day-old copy is acceptable.
Fail: Change the instance settings, or accept the gaps knowingly.
Check 6 — Who’s watching the bill?
How: Find AI Search usage in your Cloudflare account’s billing section. Put a reminder in someone’s calendar to check it a month after you switch on.
Why it matters: Billing started on 1 December, query volume is set by agents rather than by you, and the feature is in beta.
Pass: A named person checks usage monthly.
Fail: Nobody will look. Don’t switch it on yet.
Testing it yourself
Once it’s on, check the tags are there. Open your homepage, view the source, and search for agent:. You should see the four meta tags.
Then query the endpoint the way an agent would. Cloudflare’s documentation gives this format:
curl --get "https://yourdomain.co.uk/.well-known/search" --data-urlencode "q=Do you deliver to Scotland?"
You can try the same thing on Cloudflare’s own blog before you enable anything. At the time of writing, its pages advertise an endpoint at blog.cloudflare.com/.well-known/search.
Ask the questions your customers ask, and read what comes back. Those passages are all the agent sees. If the right page isn’t in the results, or the answer to the question isn’t in the passage, the agent won’t find it either.
If you’re not on Cloudflare
Nothing happens. You don’t get the endpoint or the tags, and nobody will be searching your site this way.
That’s less of a loss than it sounds. /.well-known/search is a Cloudflare convention, not a standard other agents have agreed to use. In the launch coverage, the only agent named as using it was OpenCode, an open-source coding agent. The assistants most of your customers use, such as ChatGPT, Gemini, Perplexity and the browser agents, still mostly read your pages directly or rely on their own search indexes.
It’s worth keeping an eye on, but it isn’t a reason to move your DNS.
How to read your results
All six pass, and you want agent traffic. Switch it on, test it with the curl command above, and check usage after a month.
Check 1, 2 or 6 fails. Don’t switch it on yet. These are housekeeping problems that matter whether or not you ever enable it.
Check 3 or 4 fails. Decide your policy first. You can’t block AI agents and invite them to search your site at the same time.
Check 5 fails. Change the instance settings, or accept that some content won’t be indexed.
You’re not on Cloudflare. There’s nothing to do. The section below still applies to you.
The thing worth noticing
Search for Agents doesn’t make your site say anything new. It splits the pages you already have into passages of roughly a thousand tokens each, and hands the ten best matches to an agent with no other context.
That has consequences:
- If a page buries its answer under three paragraphs of preamble, the passage will too.
- If your delivery terms are in a PDF nobody links to, they aren’t in the index.
- If your price is in an image, the agent will never see it.
The sites that will do well from this already have clear headings, one topic per page and answers written in text near the top. Those are the same sites that already do well in ordinary search.
The toggle is new. The work that makes it useful isn’t.
What to do next
Checking whether AI systems can find, read and use your site is part of our Technical Business Benchmark. That includes crawler access and whether an agent could complete an enquiry. The Benchmark is £750 + VAT, and we credit the full amount against any work you go on to commission. The agent-readiness part is described in more detail on our Agent Readiness Audit page.
Or just schedule a call and we’ll tell you in fifteen minutes whether this toggle is worth switching on for your site.
Related reading
- On 15 September, Your CDN Decides Who Can Read Your Site: the Cloudflare crawler changes that may already have set your robots.txt and bot rules
- Is Your Website Ready to Be Used by an AI Agent? A 10-Point Check
- What Lighthouse’s Agentic Browsing Score Actually Measures
- llms.txt: What the Data Actually Says: another file built for AI agents, and what the evidence says about who reads it
Sources
- Cloudflare blog, Introducing Search for Agents (25 November 2026): https://blog.cloudflare.com/search-for-agents/
- Cloudflare docs, Search for Agents: https://developers.cloudflare.com/ai-search/how-to/search-for-agents/
- Cloudflare docs, AI Search limits and pricing: https://developers.cloudflare.com/ai-search/platform/limits-pricing/
- Cloudflare docs, website data source parse types (crawler user agent, robots.txt, Content Signals): https://developers.cloudflare.com/ai-search/configuration/data-source/website/parse-types/
- Cloudflare changelog, 25 November 2026: https://developers.cloudflare.com/changelog/post/2026-11-25-search-for-agents/
- PPC Land coverage: https://ppc.land/cloudflare-lets-websites-switch-on-a-search-box-built-for-ai-agents/
Read more