What Cloudflare shipped

Cloudflare announced Search for Agents on 25 November 2026. When you switch the feature on for a domain, Cloudflare builds a search index of the site and serves a search endpoint at /.well-known/search on your own domain. The changelog entry marks the feature as beta and says it's available on all plans, Free included. Techzine's report from 26 November gives the same details, although it mostly repeats Cloudflare's own statements and includes no independent testing.

Cloudflare's AI Search product could already crawl and index a website. Site owners still had to create the instance, publish an endpoint and find a way to tell agents about it. Search for Agents does all of that from a single dashboard switch. The blog post puts the problem this way: "Search isn't much use if the agents don't know it's there."

How the endpoint works

The endpoint does retrieval only. A query returns Markdown passages from your site, each with a source reference and a relevance score, and the calling agent's own model writes the answer. Generation model settings on the instance therefore have no effect on /.well-known/search, according to the Search for Agents guide.

Agents find the endpoint through discovery metadata. Cloudflare adds four agent: meta tags to the <head> of your HTML pages: instructions, an endpoint URL template containing {query}, the HTTP method and a documentation link. If Markdown for Agents is also turned on, a request sent with Accept: text/markdown gets the same information as YAML front matter under an agent key.

The endpoint takes GET with a q parameter. It also takes the newer HTTP QUERY method, which carries the search text in the request body. RFC 10008, published in June 2026, defines QUERY as safe and idempotent, so a client can retry or cache a QUERY request the way it would a GET, even though the input travels in the body as it would with POST. A Cloudflare engineer, James Snell, is one of the RFC's three authors.

Setting it up

The guide lists these steps for a domain already onboarded to your Cloudflare account:

  1. Open the domain's Overview page in the Cloudflare dashboard.
  2. Under Quick Actions, turn on Search for Agents.
  3. Review the default settings and the pricing notice, then confirm.
  4. Wait until crawling and indexing have finished before you send queries.

Cloudflare then creates an AI Search instance named search-for-agents-<ZONE_ID> in the default namespace. The instance uses the Discover parse type, which finds pages through sitemaps and links, so your site doesn't need a sitemap. When indexing is complete, you can test the endpoint with the commands from the docs:

curl --get "https://example.com/.well-known/search" \
  --data-urlencode "q=How do I verify webhook signatures?"
curl -X QUERY "https://example.com/.well-known/search" \
  --header "Content-Type: application/json" \
  --data '{"q":"How do I verify webhook signatures?"}'

The QUERY method also accepts a plain-text body sent with Content-Type: text/plain.

The defaults and when to change them

The guide lists the default configuration. The crawler follows links up to 5 hops from the root domain, indexes up to 100,000 pages, skips subdomains and re-syncs every 24 hours. Search runs in hybrid mode, which combines vector similarity with keyword matching and merges the two result lists using Reciprocal Rank Fusion. Embeddings come from @cf/qwen/qwen3-embedding-0.6b, and pages are split into 1,024-token chunks with 10% overlap. Each query returns at most 10 chunks above a match threshold of 0.4. Query rewriting and reranking are off by default, and a similarity cache holds near-duplicate queries for 48 hours.

You can change most of these settings later in the instance's Settings tab. The embedding model and the data source are fixed when the instance is created. A team that wants a different embedding model, or wants to index a docs subdomain as its own source, would need to create a separate AI Search instance by hand. Turning on reranking is the obvious first change for documentation sites, where the top chunk often decides whether an agent's answer is right. Reranking may also affect query cost or latency, and the docs we read don't say whether it does.

Costs and limits

Search for Agents is billed under the standard AI Search pricing, and that page says billing begins on 1 December 2026. Every account gets 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries each month at no charge. Beyond those allowances, ingestion costs US$0.75 per million tokens, storage costs US$2.00 per GB-month and semantic or hybrid queries cost US$0.75 per 1,000. Because the endpoint runs in hybrid mode by default, a site serving 10,000 agent queries a month would pay for 9,000 of them, which comes to about US$6.75. The docs don't say whether a query answered from the similarity cache counts as a billed query.

The Workers Free plan caps crawling at 500 pages a day, while the Paid plan has no daily cap. At 500 pages a day, a 5,000-page site needs about ten days for its first full crawl. The guide doesn't say how long initial indexing takes on either plan. On the Paid plan, a hybrid-search instance holds up to 500,000 files.

New Zealand builders pay these prices in US dollars, so the exchange rate will move the bill. The free allowances should cover a small business site or a modest documentation site with low agent traffic.

Limits worth checking before you switch it on

The guide advises indexing only content you intend to make publicly searchable. The crawler follows links, so it can reach anything linked from public pages, including old pages that nobody has cleaned up. Requests to the endpoint pass through your existing AI Crawl Control, bot management and WAF rules. If you already block some AI crawlers, those agents won't be able to use the search either.

Some details are still missing from the docs. The guide doesn't explain how to turn the feature off, and it doesn't publish a formal schema for the Markdown response. Agents parsing results will have to cope with format changes while the feature is in beta. The blog's evidence that agents find and use the endpoint comes from one example, an OpenCode session on Cloudflare's own developer docs. Other agent frameworks would need to read agent: meta tags before they could discover the endpoint without being told about it.

What builders could do with it

A company that publishes API docs or a support knowledge base on Cloudflare can give coding agents a direct retrieval endpoint, which saves those agents from scraping and chunking the pages themselves. People building agents can approach it from the client side. An agent can look for an agent:endpoint tag on the first page it fetches and switch to querying that endpoint, which costs fewer tokens than reading whole pages. Because the same instance can also be reached through a Workers binding, a REST endpoint or an MCP server, one index can serve your own chatbot and outside agents. If you build an agent client or a docs integration on top of this, you can share it on the ASAI projects page.

Sources

Build with people working on the same things

Join the Auckland Society for AI: NZ$599 a year with a ForgeBox and the members' projects area. Our Auckland meetups are open to everyone.

Become a member