Search for Agents: Making Your Site Searchable by AI Agents
Most AI agents still read the web the hard way: fetch a page, strip the noise, follow a link, repeat, and hope the answer turns up before the context window fills. On 25 November 2026, Cloudflare shipped a shortcut. Search for Agents turns any Cloudflare-managed domain into a site AI agents can query directly, through a standard endpoint at /.well-known/search that returns relevant passages in Markdown.
One dashboard toggle builds the index, keeps it in sync, and advertises the endpoint so agents can find it on their own. For teams building agents, it promises fewer crawls and fewer wasted tokens. For teams publishing content, it raises a different question: what exactly are you about to make searchable, and what will it cost?
The context
Agents browsing the web hit two recurring problems. The first is noise: an HTML page carries navigation, scripts, cookie banners and footers that burn tokens without adding information. The second is discovery: finding the one relevant page in a documentation site with thousands of entries means chaining requests, following links and frequently guessing wrong.
Cloudflare already addressed the first problem with Markdown for Agents, which serves a Markdown version of pages to agents that ask for it. Search for Agents goes after the second. It is built on AI Search, Cloudflare's managed retrieval service: a pipeline that crawls a source, splits content into chunks, computes embeddings, and answers queries by combining vector and keyword search. Conceptually this is standard RAG. What is new is the packaging: no code to enable it, and a conventional URL that agents can discover without prior configuration.
How Search for Agents works
According to the official documentation, you enable it from your domain's Overview page in the Cloudflare dashboard, under Quick Actions. The only prerequisite is that the domain is already onboarded to your Cloudflare account. Cloudflare then creates an AI Search instance named search-for-agents-<ZONE_ID> and starts indexing.
Default indexing and retrieval settings
The instance uses the Discover parse type, meaning the crawler starts from your sitemaps and follows links. The documented defaults are:
- a limit of 100,000 pages and a crawl depth of 5 link hops;
- a 24-hour cache age and a 24-hour sync interval;
- hybrid search (vector plus keyword), returning at most 10 chunks;
- 1,024-token chunks with 10% overlap, embedded with
@cf/qwen/qwen3-embedding-0.6b; - a similarity cache, enabled for 48 hours.
Reranking and cache settings can then be adjusted from the AI Search instance dashboard.
Retrieval, not generation
The detail that matters most: Search for Agents does not generate answers. The documentation is explicit that responses contain retrieved content with source references and relevance scores, and no model-written answer. The calling agent does the reasoning. That is the right design for engineering teams. There is no second LLM rewording your content on the server side, no extra layer of hallucination risk, and every passage comes with a source you can cite.
Discovery: how agents find the endpoint
A search endpoint is only useful if agents know it exists. Cloudflare advertises it in two places:
<meta>tags injected into the HTML head of your pages, such asagent:endpoint(the search URL with a{query}template) andagent:method;- YAML front matter at the top of Markdown responses, when Markdown for Agents is turned on.
The launch post uses Cloudflare's own developer docs as the example, with the endpoint https://developers.cloudflare.com/.well-known/search?q={query}. An agent landing on any page of that site can read the metadata and, instead of navigating, ask the site a natural-language question directly.
GET or the new QUERY method
The endpoint accepts a plain GET with a q parameter. It also natively supports the new HTTP QUERY method, which Cloudflare says was standardised as RFC 10008 in June 2026. QUERY lets the client send the search in the request body, as plain text or JSON with a q field, while remaining a safe, idempotent and therefore cacheable request. For long natural-language questions, that beats URL-encoding several hundred characters into a query string.
Because everything sits on a regular AI Search instance, you also get the usual access paths: a REST API (including a public endpoint), an MCP endpoint, a Workers binding, and an embeddable search widget for human visitors. The MCP endpoint is the one AI teams will care about: it exposes a site's search as a tool in any compatible client, with no custom integration code.
Security, control and cost of Search for Agents
Search for Agents stays subject to your domain's existing controls: bot management, AI Crawl Control and WAF rules. You keep control over who queries the site. But one consequence deserves attention: anything the crawler can reach becomes searchable in natural language. A forgotten page still listed in a sitemap, an old docs version that is still linked, an outdated pricing page: they will surface in results with the same apparent authority as everything else.
Billing follows AI Search pricing, covering content ingestion, index storage and served queries. The feature is available to all customers, Free plan included, with limits. The pricing page states that billing starts on 1 December 2026, with a monthly allowance of 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries. Beyond that, semantic or hybrid queries are billed at $0.75 per 1,000.
The Free plan crawl ceiling
On Workers Free, the same page caps crawling at 500 pages per day. For a small marketing site this is irrelevant. For documentation with thousands of pages, the initial crawl will take days, and the index will be partial the whole time. Agents querying the site will get incomplete results without knowing it. Check indexing status before you tell anyone the endpoint exists.
The other thing to watch: a public semantic search endpoint is, by design, something any agent can call. With 1,000 semantic queries included per month, a reasonably visible site can exhaust the allowance quickly. Set usage alerts on day one.
What this means for AI teams
Search for Agents is one more sign that the web is growing a second interface, designed for agents, alongside the one designed for people. For DevOps and MLOps engineers, the implications land on both sides.
If you publish content (product docs, a knowledge base, a catalogue):
- Clean up your sitemap first. The crawler starts from sitemaps and follows links five levels deep. Whatever it finds gets served to agents. Remove stale pages or block them with your existing rules.
- Write for chunking. With 1,024-token chunks, a page that mixes several topics produces ambiguous fragments. Clear headings and short, single-purpose sections directly improve retrieval quality.
- Read the queries. Natural-language questions from agents are a valuable product signal: they show exactly where your documentation falls short.
- Run the endpoint like a production API: cost alerts, per-bot limits, and a regular check on index freshness. The default sync runs every 24 hours, so a docs fix is not visible to agents immediately.
If you build agents:
- Check for
/.well-known/searchbefore crawling. Reading theagent:endpointtag costs one request. Crawling an entire docs site costs hundreds, plus the tokens to read them. - Carry the sources through. Results include references, so propagate them into the final answer and let users verify.
- Treat results as untrusted input. A site's own search returns what that site chose to index. For anything sensitive, cross-check with other sources, and handle returned content like any raw web page, including as a potential prompt-injection vector.
- Keep a fallback. Plenty of sites will never enable this. Your agent needs to drop back to ordinary browsing when the endpoint is missing or errors out.
For your internal knowledge bases, the question is different: is a one-click managed RAG good enough, or do you need control over chunking, the embedding model and reranking? The documented defaults (a 0.6-billion-parameter embedding model, at most 10 chunks per query) are sensible for public docs, but they deserve an evaluation against your own questions before anything critical depends on them.
Key takeaways
- Launch: Cloudflare released Search for Agents on 25 November 2026, a one-click toggle for any managed domain, Free plan included (with limits).
- Mechanics: an AI Search instance indexes the site (sitemaps and links, hybrid vector and keyword search) and exposes it at
/.well-known/search, via GET or the HTTP QUERY method. - No generated answers: agents receive Markdown passages with sources and scores, and reason over them themselves.
- Discovery:
agent:endpointmeta tags in HTML, YAML front matter in Markdown, plus REST, MCP and a Workers binding. - Watch out for: AI Search billing from 1 December 2026, a 500-pages-per-day crawl cap on the Free plan, and the hygiene of what you expose. Before enabling Search for Agents, audit what your site is about to make searchable by AI agents.
Industrialising AI agents? SeedVision offers 3-5 day AI audits and 15-30 day production rollouts. See the packages or book a 30-min call.