Search for Agents is a Cloudflare feature, announced on 25th November 2026, that makes a website searchable by AI agents. Turn it on for a domain and Cloudflare crawls and indexes the site, then serves a search endpoint at https://<your-domain>/.well-known/search. Agents find the endpoint on their own, send a keyword or a question, and get the matching passages back in Markdown. No generated answer: the agent already has a model, it only needs the content.


Why it exists
An agent that needs 1 fact from a site today crawls it: fetch the home page, follow links, read whole pages, guess. Slow, token-hungry, and often wrong. A site search built for humans doesn't help, because the agent can't find it or use it.
Search for Agents gives the agent a shortcut: 1 known URL, 1 query, the right chunks back.
It's the sequel to Markdown for Agents, where Cloudflare converts any HTML page to Markdown on the fly when a client sends Accept: text/markdown. Markdown for Agents serves 1 page. Search for Agents searches the whole site.
How it works
Under the hood it's Cloudflare AI Search, the managed retrieval service (indexing, embeddings, vector and keyword search). Before, you had to create and wire up an AI Search instance yourself. Now the toggle does it:
- In the Cloudflare dashboard, open the domain's Overview and turn on Search for Agents under Quick Actions. The API works too.
- Cloudflare creates an AI Search instance called
search-for-agents-<ZONE_ID>, with the site as its data source. - It crawls the site through sitemaps and links (the Discover parse type), so no sitemap is required.
- Once indexed, the endpoint answers under your own domain.
The domain must be on Cloudflare. Requests still pass through your bot management, AI Crawl Control and WAF rules, so you decide which agents get in.
Discovery
Cloudflare advertises the endpoint on every page. HTML responses get 4 meta tags in the <head>:
<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}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">
With Markdown for Agents on as well, a Markdown request gets the same 4 fields as YAML front matter.
Cloudflare tested it on its own developer docs with OpenCode: the agent spotted the endpoint on the home page, queried it, and reused it for the rest of the session.
Querying
A plain GET with q:
curl --get "https://example.com/.well-known/search" \
--data-urlencode "q=How do I verify webhook signatures?"
Or the new HTTP QUERY method, with the search in the body, plain text or JSON:
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: application/json" \
--data '{"q":"How do I verify webhook signatures?"}'
QUERY is RFC 10008, a Proposed Standard from June 2026, co-authored by Cloudflare's James Snell. It's a safe, idempotent request that carries a body: what GET with a body should have been. curl and Node's undici already support it.
The response is Markdown: 1 section per matching chunk, with the source path and a relevance score.
Seen in the wild
I hit it by accident: Conqueror, the agentic SEO tool, runs it on conquerorapp.com. A request for "how much does it cost" returned the pricing page first, with its title and description as front matter, then other pages that mention price. More on that tool: see Conqueror: agentic SEO and AI citations
Default settings
The toggle accepts a preset. Most settings can change later in the instance's Settings tab; the embedding model and the data source are fixed at creation.
| Setting | Default |
|---|---|
| Crawl | Discover (sitemaps + links), 5 link hops |
| Page limit | 100,000 pages |
| Subdomains | Off |
| Re-crawl | Every 24 hours |
| Search mode | Hybrid: vector + keyword, fused with RRF |
| Embedding model | @cf/qwen/qwen3-embedding-0.6b |
| Chunks | 1,024 tokens, 10% overlap |
| Results | Top 10 chunks, match threshold 0.4 |
| Query rewriting | Off |
| Reranking | Off |
| Similarity cache | On, 48 hours |
Because it's a normal AI Search instance, you can also expose it as a public REST or MCP endpoint, call it from a Worker, or embed a search box for human visitors. The Cloudflare blog's own search box runs on AI Search.
Pricing
Search for Agents is in beta on every plan, Free included. You pay AI Search usage, and billing starts on 1st December 2026.
Included each month, per account:
- 5 million ingestion tokens
- 10 GB-month of storage
- 1,000 semantic queries
- 1,000 full-text queries
Beyond that:
| Usage | Price |
|---|---|
| Ingestion | 0.75 USD per 1M tokens |
| Storage | 2 USD per GB-month |
| Semantic, vector and hybrid queries | 0.75 USD per 1,000 queries |
| Full-text queries | 0.10 USD per 1,000 queries |
The catch on the Free plan is crawling: 500 pages a day. A 1,300-page site like mine takes about 3 days to index the first time. Paid Workers plans have no daily crawl limit.
The other thing to watch is the query count. Every agent that discovers the endpoint spends your queries. With hybrid search on by default, 1,000 included queries can go fast on a popular site.
Strengths and limits
Strengths:
- 1 toggle, no retrieval stack to build or host.
- Retrieval, not generation. No second model paraphrasing your content, no hallucinated answer under your brand.
- Your domain, your rules. WAF and AI Crawl Control apply to the endpoint.
- A standard place to look.
/.well-known/searchplus theagent:*meta tags is easy for any agent to learn.
Limits:
- Cloudflare only. The domain must be proxied by Cloudflare.
- Beta, with a fresh billing model.
- Convention, not standard. The
agent:*meta tags are Cloudflare's. Agents that don't read them still crawl. - Public content only. Anything crawlable gets indexed; keep private pages out of reach first.
Would I use it for these notes?
Not today. This site's DNS sits at IONOS and it's served from my own host, not through Cloudflare. A test request to notes.nicolasdeville.com/.well-known/search returns 404. The site already has Pagefind search for humans, but that runs in the browser and agents can't use it.
If I move the DNS to Cloudflare one day, this is the cheapest way to make 1,300 notes searchable by Claude and others. Cloudflare's Agent Readiness checker shows what else a site needs for agents.
Further reading



Cloudflare's headless browser service, which AI Search uses to crawl: see Cloudflare Browser Run (formerly Browser Rendering)