AI agents are terrible houseguests. Ask one a question about a product’s docs and it will often fetch the homepage, then the sitemap, then dozens of pages one by one, burning your bandwidth and its own context window just to find a single number. Cloudflare thinks it has a better deal for both sides, and it launched it on November 25.
The feature is called Search for Agents. Flip one toggle in the Cloudflare dashboard and the company indexes your site, then serves a search endpoint on your own domain at /.well-known/search. Agents send a question and get back the most relevant passages from your pages as Markdown. Not a chatbot answer, just the raw material. It’s available to every Cloudflare customer, including the Free plan, and the docs label it beta.
There’s one detail that site owners should read twice: you pay for the queries, and billing for the underlying AI Search product starts on December 1.
The short version
- What it is: a one-click site search API for AI agents, hosted at
/.well-known/searchon your domain - What it returns: scored Markdown chunks, not a generated answer
- How agents find it: four
agent:meta tags Cloudflare adds to every HTML page - How agents ask: a plain GET, or the new HTTP QUERY method (RFC 10008)
- What it costs: 1,000 queries a month included, then $0.75 per 1,000, billed to the site owner from December 1
- The catch: no major AI assistant has publicly said it will look for the endpoint yet
What the toggle actually builds
You can switch it on from your zone’s Overview page under Quick Actions, or through the API. Behind the scenes, Cloudflare creates a regular AI Search instance in your account, named search-for-agents-<ZONE_ID>, points it at your domain and starts crawling.
The defaults, according to Cloudflare’s setup guide, look like this:
| Setting | Default |
|---|---|
| Crawl scope | Sitemaps and links, up to 100,000 pages and five link hops |
| Crawl speed on Free plan | 500 pages per day (no daily cap on Paid) |
| Re-sync | Every 24 hours |
| Search type | Hybrid vector plus keyword, with Qwen3 embeddings |
| Chunking | 1,024-token chunks with 10% overlap, up to 10 chunks per response |
| Similarity cache | On, reuses results for near-identical questions for 48 hours |
Because it’s an ordinary AI Search instance, you can tune it later: turn on reranking, change cache settings, expose it as a public REST or MCP endpoint, call it from a Worker, or embed a search box for human visitors. Search for Agents is really packaging on top of a product Cloudflare already sells.
How an agent finds and uses it
An endpoint nobody knows about is useless, so Cloudflare advertises it on every page. HTML responses get four new tags in the head. Here’s what Cloudflare’s own developer docs currently serve:
<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://developers.cloudflare.com/.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/">If you also run Cloudflare’s Markdown for Agents feature, an agent that requests Accept: text/markdown gets the same instructions as YAML front matter instead.
Then the agent asks its question. A normal GET with a q parameter works. So does QUERY, a new HTTP method that lets you put the search in a request body, which avoids awkward URL length limits. It was published in June 2026 as RFC 10008, co-authored by Cloudflare’s James Snell, and curl already supports it:
# Plain GET
curl --get "https://example.com/.well-known/search" \
--data-urlencode "q=What is your refund window?"
# HTTP QUERY with a JSON body
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: application/json" \
--data '{"q":"What is your refund window?"}'Cloudflare’s engineers Celso Martinho and Gabriel Massadas explain the “no generated answer” choice in the launch post. The agent “already has an AI model and a conversation with the user,” they write, so “all it needs is the relevant information from your site, not another AI model’s attempt to answer on its behalf.” That’s a sensible design. It also keeps Cloudflare from putting its own words in the mouth of your website.
What happens when you actually query it
Cloudflare has been running the feature on its own developer documentation, and several outlets tested it there. The results are useful for anyone thinking about switching it on:
- It finds the right page. Asked for the maximum push size for Cloudflare Artifacts, the top result was the correct limits page, listing 64 MiB.
- It returns a lot. Cloudflare’s docs instance sent back 50 results per query, around 45 to 57 KB of Markdown. That’s roughly 10,000 to 13,000 tokens, far more than the 10-chunk default most sites will get.
- It never says “I don’t know.” A completely off-topic question about pizza dough still returned 50 results, with an unrelated video model page scored as the top hit.
- Bot rules still apply. One tester got a 403 using Python’s default user agent, because requests still pass through the zone’s WAF and AI Crawl Control settings.
The takeaway for agent builders: one search call can eat more context than simply fetching the right page, at least with a generous configuration. For site owners, the 10-chunk default is the sensible starting point.
Who pays, and how much
This is the part that flips the usual arrangement. With a traditional crawler, the AI company pays to fetch and process your pages. With Search for Agents, you pay to hand agents the best passages, and you get no page view in return.
Each account gets 1,000 semantic and 1,000 full-text queries, 5 million ingestion tokens and 10 GB-month of storage per month. Beyond that, AI Search charges $0.75 per 1,000 semantic, vector or hybrid queries and $0.75 per million ingestion tokens. Since the endpoint uses hybrid search, here’s what agent traffic would cost at that rate, assuming no queries are served free from cache:
Indexing is cheap for most sites. A 3,000-page site averaging 1,500 tokens per page works out to just under 5 million billable tokens with the chunk overlap, so it fits inside the monthly allowance. The real constraint on the Free plan is time: at 500 pages a day, that same site needs six days for its first full index, and a 100,000-page site would need about 200.
Still unanswered: Cloudflare’s docs don’t say whether answers served from the 48-hour similarity cache count as billable queries, or whether the daily re-sync charges ingestion again for pages that haven’t changed. Those two details decide whether a busy site pays tens or hundreds of dollars a month.
Should you turn it on?
Good fit
Developer docs, help centers, product catalogs and API references, where a correct agent answer is the whole point and page views don’t pay the bills.
Maybe
SaaS marketing sites and ecommerce stores that want agents to recommend them accurately, as long as carts and account pages stay out of the index.
Think hard first
Publishers who live on ad impressions. You’d be paying to give agents your best paragraphs with no click in return.
That last group already has a complicated relationship with AI. The New York Times lawsuit against Brave over feeding articles to AI labs shows how much publishers care about who gets to retrieve their content, and on what terms. Search for Agents makes retrieval easier and cleaner, but it doesn’t solve the money question. It arguably makes it sharper.
If you do switch it on, a short checklist helps:
- Add a rate limiting rule for
/.well-known/search. The endpoint is public, and every query past the free tier is billed to you, whether it comes from a useful assistant or a script hammering it. - Use path filters. Keep carts, login pages, internal search results and staging copies out of the index. Cloudflare itself says to index only what you want publicly searchable.
- Keep the 10-chunk default unless you have evidence agents need more.
- Check your usage in the first week of December, once billing has actually started.
- Treat it like any other public API. Log queries and watch for patterns that look like someone trying to pull out content you didn’t mean to expose.
The real question is whether agents will look
Here’s the honest limitation. /.well-known/search isn’t registered with IANA, the body that keeps the official list of well-known web paths. For now it’s a Cloudflare convention, and Cloudflare’s launch materials don’t name any major AI assistant that checks for those agent: meta tags. The company says agents on its docs “do a good job of discovering the search API,” and it showed an OpenCode coding session using it, but it hasn’t published adoption numbers.
The web has seen this movie before. The llms.txt proposal promised a tidy way for sites to guide AI models, and the big crawlers mostly ignored it. What makes this attempt different is reach. Cloudflare sits in front of a huge share of the web, and if it turns the endpoint on by default for big customers, agent makers may decide supporting it is cheaper than crawling. As agents get more capable at browsing on their own, like Gemini clicking around a Mac for you, a structured shortcut like this becomes more attractive for everyone involved.
For now, Search for Agents is a cheap experiment for documentation sites and a harder call for everyone else. The thing to watch is simple: the first time OpenAI, Anthropic, Google or Perplexity says its agents read the agent:endpoint tag, this goes from a neat Cloudflare feature to something every site owner has to have an opinion on.
About this article: GeekBlog covers U.S. technology news, AI, phones, smartwatches and gaming. Every story is written and checked under our Editorial Policy. Spotted a mistake or have a story tip? Contact our editors.

