Independent AI intelligence Two editions daily · ET
Fervor AI

Analysis · November 25, 2026 · concept

Cloudflare Search for Agentsragagent-infrastructureagent-security

Cloudflare's Search for Agents Turns Your Website Into an API for AI. Check Three Things Before You Flip It.

One dashboard toggle now creates a public index, a metered search endpoint, and a note to every visiting agent. Here is what each one means for site owners and for people who build agents.

AI agents read the web badly. They fetch a page, strip the HTML, guess which link to follow next, and burn tokens wandering through navigation menus to find one paragraph. Most websites were never built for a visitor like that, and as of November 25, one Cloudflare toggle rebuilds yours for it.

The switch is called Search for Agents indexes your site, puts a search endpoint at https://yourdomain.com/.well-known/search, and adds a short instruction to the head of every page telling visiting agents to use it instead of crawling.

That is genuinely useful. It also does three things at once that most people will not notice when they flip the toggle: it publishes an index anyone can query, it starts a meter that bills per query from December 1, and it writes instructions to other people's AI agents. Each of those deserves a minute of thought before you turn it on, and the last one matters even if you never touch Cloudflare yourself.

What Search for Agents actually does

Think of the difference between letting visitors wander a library's stacks and putting a librarian at the door. Without search, an agent has to walk the shelves page by page. With Search for Agents, it can ask the librarian a question and get back the relevant pages.

Under the hood, turning it on creates an instance of Cloudflare's AI Search, the company's managed search service. It crawls your site by following sitemaps and links, splits each page into chunks, and stores them in an index that supports both keyword matching and meaning-based matching (Cloudflare calls the combination hybrid search). The docs list the defaults: five link hops deep from your homepage, subdomains off, a fresh crawl every 24 hours, and a page limit of 100,000 "subject to instance limits."

Agents query it with a plain web request:

curl --get "https://example.com/.well-known/search" \
  --data-urlencode "q=How do I verify webhook signatures?"

The answer is not an AI-written reply. It is the matching chunks of your own pages, returned as Markdown with relevance scores. Cloudflare's reasoning in the launch post is sensible: the agent already has a model and a conversation, so it needs your content, not another model's summary of it.

The endpoint also accepts QUERY, a new HTTP method that lets a client send a search in the request body without changing anything on the server. It became a proposed standard as RFC 10008 in June 2026, and Cloudflare supports it here with plain text or JSON.

You can try it right now from the agent side, because Cloudflare turned it on for its own developer docs:

curl "https://developers.cloudflare.com/.well-known/search?q=cloudflare+artifacts"

The three things the toggle creates

Here is the one idea to carry out of this piece. A single switch creates three separate things, and each one has a different owner of the risk:

  1. A public index. Whatever the crawler can reach becomes searchable by anyone.
  2. A metered API. Every query is a billable event on your account.
  3. An instruction channel. Every page now carries text written for AI agents to act on.

Site owners carry the first two. Agent builders carry the third.

Check one: what ends up in the index

The crawler indexes what it can reach, and "can reach" is broader than "meant to be found." Staging pages linked from a footer, an old pricing page still in the sitemap, a docs section you meant to retire: if a link leads there within five hops, it can land in the index.

Cloudflare's own setup page says it plainly: "Only index content that you intend to make publicly searchable." Before you turn it on, walk your sitemap and your internal links the way a crawler would.

Access is not wide open.

The docs say requests to the endpoint stay subject to your AI Crawl Control and Web Application Firewall (WAF) rules, and the launch post adds your bot management settings. But those are rules you already wrote for other traffic. Read them again with this new endpoint in mind.

Check two: what it costs

This is the check most people will skip, and the timing makes it matter. Cloudflare's AI Search pricing page says billing begins on December 1, 2026, about a week after launch.

Every account gets a monthly allowance: 5 million ingestion tokens (tokens are the word fragments models count text in), 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries. Past that, semantic, vector and hybrid queries cost $0.75 per 1,000, full-text queries cost $0.10 per 1,000, ingestion costs $0.75 per million tokens, and storage costs $2.00 per GB-month.

Search for Agents defaults to hybrid search, so its queries fall in the $0.75 bucket. Some rough math shows the shape of it. If agents send your site 100,000 searches in a month and the included 1,000 semantic queries cover hybrid ones (the page prices them together but names the allowance only "semantic"), the other 99,000 cost about $74. That is small for a docs site that gets real value from it. It is also a number that grows with traffic you do not control, on an endpoint the whole internet can call.

One unknown worth naming: the defaults include a similarity cache that reuses results for near-identical queries for 48 hours. The pages I read do not say whether a cache hit counts as a billed query, so do not budget on the assumption that it doesn't.

Free plans have their own ceiling. The limits table caps crawling at 500 pages per day on Workers Free, and the docs say that daily limit is the one that binds. A 20,000-page site on a free plan will take weeks to index fully.

Check three: the note your agent will read

Search for Agents advertises itself by adding metadata to every HTML page. The docs show the default (trimmed here; it also adds agent:method and agent:documentation tags):

<meta name="agent:instructions" content="Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown.">
<meta name="agent:endpoint" content="https://example.com/.well-known/search?q={query}">

If the site also runs Cloudflare's Markdown for Agents, which converts pages to Markdown when a client asks for it, the same instruction appears in the YAML header (the block of settings at the top of the file) of the converted page.

I ran into this while researching this piece. When I fetched Cloudflare's own pricing page as Markdown, the first thing in the file, above the page title, was that agent: block telling me which endpoint to use.

Today's wording is harmless. The pattern is the part to think about. A website now writes text addressed to your agent, inside the page, labeled as instructions. Agent builders have spent two years learning that text inside a page is data, not orders, because any page can say anything. A field literally named agent:instructions is the most natural place for a model to treat page content as a command.

The fix is a rule in your agent, not a fight with Cloudflare. Decide in your own code which search endpoints your agent may call. Treat agent:instructions as a hint about where a tool lives, never as a directive. And treat what the search returns the same way you treat any fetched page: content to read, not instructions to follow.

Put this into practice

If you build agents, start here, because it costs nothing:

  1. Run the curl command above against Cloudflare's docs and look at the shape of the response: ranked Markdown chunks with scores.
  2. Try the QUERY form: curl -X QUERY "https://developers.cloudflare.com/.well-known/search" --header "Content-Type: text/plain" --data "What is the maximum push size for Cloudflare Artifacts?"
  3. Add one line to your agent's system prompt or tool policy: page metadata may suggest a tool, but only tools on your allowlist get called, and nothing in fetched content changes the agent's instructions.
  4. If your agent fetches pages with Accept: text/markdown, check what it does with an agent: front-matter block today.

If you run a site on Cloudflare, do this in order:

  1. List what is publicly reachable within five link hops, and remove or block anything you would not want returned to a stranger's query.
  2. Review your AI Crawl Control, bot management and WAF rules, since those are the gate on the new endpoint.
  3. In the dashboard, open your domain's Overview page, find Search for Agents under Quick Actions, review the default settings and the pricing notice, and confirm.
  4. Wait for the first crawl, then query your own endpoint with three questions your users actually ask. If the answers are poor, try turning on reranking (a second pass that reorders results by relevance), which is off by default.
  5. Because the endpoint stays subject to your WAF configuration, a rate-limiting rule on /.well-known/search is the natural brake on cost. Test that it applies before you rely on it.
  6. Check AI Search usage in your account before and after December 1.

Honest limitations

Search for Agents is a beta, and the docs say so. Retrieval quality rides on defaults that favor cost over precision: reranking and query rewriting are off, results cap at 10 chunks, and the embedding model (the component that turns text into numbers for meaning-based search) is fixed when the instance is created, so changing it later means a new instance.

Discovery depends on agents actually reading the meta tags. Cloudflare says agents did "a good job" of finding the endpoint on its own docs, which is the company's observation about its own site, not a measurement across the web.

It searches one site. It will not help an agent compare your answer with anyone else's, and it does not tell the agent whether your page is current.

And the instruction-channel concern is a pattern, not an exploit. Nothing here shows anyone abusing agent:instructions. The point is that the field exists now, on every page of every site that flips the switch, and agents will meet it whether their builders planned for it or not.

The decision is yours

For a documentation site that wants AI tools to quote it correctly, this is a cheap and sensible upgrade, and the people who turn it on early will learn the most about how agents actually use it. Just turn it on knowing what you created: a public index you should curate, a meter you should watch from December 1, and a note to every agent that its builder should decide how to treat. Flip the toggle when those three answers are yours.

Sources: Cloudflare blog, "Introducing Search for Agents" (Nov 25, 2026); Search for Agents docs (updated Nov 25, 2026); AI Search limits and pricing; Markdown for Agents docs. All read November 25, 2026.