On November 25, 2026, Cloudflare launched Search for Agents. It is a toggle on your domain's Overview page. Turn it on and Cloudflare creates an AI Search instance for the domain, crawls and indexes the site, and answers search requests at /.well-known/search on your own domain, with results in Markdown. It also adds tags to your pages so agents can find that endpoint. Cloudflare's docs list it as a beta on all plans.
If your product site already runs through Cloudflare, this is a way to let an AI agent look things up on your site, such as pricing, docs or a changelog, without crawling it page by page. This guide covers what an agent gets back, how to turn it on, how to keep pages out of the index, how to check the endpoint, what it costs and what it does not do.
It is written from Cloudflare's blog post, changelog and developer docs, all read on November 30, 2026. We did not turn Search for Agents on for nicklaunches.com and did not change any Cloudflare setting, so the setup chapters come from the docs only and are marked "From Cloudflare's docs, not run on a live zone". The one thing we ran is read-only: curl requests against Cloudflare's own developer docs, which has the feature on. That output is real and dated, cut short where it says so. AI Search billing starts on December 1, 2026, so check the pricing page again before you rely on it.
Know what an agent gets back
From Cloudflare's docs, not run on a live zone
Search for Agents is built on AI Search, Cloudflare's service that indexes content and serves search over it. Until now, putting your website into AI Search meant creating and configuring an instance yourself and wiring up the endpoints. The announcement puts that behind one switch for a zone.
An agent sends a keyword search or a plain question to https://yourdomain/.well-known/search and gets back the passages from your site that match, as Markdown, each with its source and a score. Cloudflare's docs are explicit that it returns relevant content, not an AI-generated answer: the agent already has a model and a conversation, and only needs the content from your site.
The endpoint takes two kinds of request:
- GET with the search text in the
qquery parameter. - QUERY, the HTTP method published in June 2026 as RFC 10008, with the search text as a plain-text body or as JSON with a
qfield.
It sits next to Markdown for Agents, which converts a single page to Markdown when an agent asks for it. Markdown for Agents answers "give me this page"; Search for Agents answers "find the pages about this".
Turn it on
From Cloudflare's docs, not run on a live zone
Your domain has to be onboarded to your Cloudflare account. Then, according to the Search for Agents docs:
- In the Cloudflare dashboard, select your domain and go to Overview.
- Under Quick Actions, turn on Search for Agents.
- Review the default settings and the pricing notice, then confirm.
- Wait for AI Search to crawl and index your content before you run a search.
The blog post says you can also turn it on through the API; the docs page we read only shows the dashboard steps. Neither page describes turning it off or what happens to the instance afterwards, so if you need to undo it, check the Quick Actions toggle and your AI Search instances list.
What the toggle creates: an AI Search instance named search-for-agents-<ZONE_ID> in the default namespace, with https://<YOUR_DOMAIN> as its website data source. Turning it on means accepting these defaults, from the docs:
| Setting | Default |
|---|---|
| Parse type | discover, using both sitemaps and links |
| Crawl page limit | 100,000 pages, subject to instance limits |
| Crawl depth | Five link hops from the source URL |
| Crawl cache age | 24 hours |
| Include subdomains | Off |
| Sync interval | 24 hours |
| Search mode | Hybrid: vector and keyword search |
| Maximum results | 10 chunks |
| Match threshold | 0.4 |
| Query rewriting and reranking | Off |
| Similarity cache | On, strong threshold, 48 hours |
You can change most of these later in the instance's Settings tab. Some, including the embedding model and the data source, are fixed when the instance is created. The sync interval can be set anywhere from 15 minutes to 24 hours, per Cloudflare's November 2 changelog.
The website data source docs warn that Bot Management, WAF and Turnstile rules apply to the AI Search crawler too, and show a custom rule that skips them for Bot Detection ID 122933950. The Search for Agents docs add that requests to the search endpoint stay subject to your AI Crawl Control and WAF settings. If you block AI bots across the board, check what that does to the crawler and to agents calling the endpoint before you turn this on.
Decide what gets indexed
From Cloudflare's docs, not run on a live zone
Search for Agents uses the discover parse type: the crawler starts at your domain, collects URLs from your sitemaps and from the links on the pages it fetches, follows links up to the depth limit, and stops at the page limit. Each page is converted to Markdown, split into chunks and indexed. The docs put it plainly: only index content you intend to make publicly searchable.
Four ways to keep pages out:
- robots.txt. The crawler identifies itself as
Cloudflare-AI-Search. Pages your robots.txt disallows are recorded with theblocked_by_robots_txterror instead of being indexed. - Path filtering. Up to 10 include and 10 exclude patterns, set in the instance settings. Exclude rules win over include rules. Per the path filtering docs, patterns match the full URL and are case-sensitive, so
**/admin/**works where/admin/**does not. - Content selectors. Content selectors pair a URL pattern with a CSS selector, so only the matching part of each page is indexed. Use them to leave out navigation, sidebars and footers. Up to 10 entries; the first matching pattern wins.
- Subdomains. Include subdomains is off by default, so an app or docs subdomain stays out unless you turn it on.
The parse types docs say the crawler declares the search and ai-input crawl purposes, and a site that sets either one to no in a robots.txt Content Signals directive rejects the crawl. Not one page, the crawl. Read your robots.txt before you turn the feature on.
Discover follows links as well as sitemaps. A thank-you page, an old pricing page or a test page that is linked from anywhere the crawler reaches can end up in the index. The blog post says crawling starts as soon as the feature is on, and path filters live in the instance it creates, so disallow those paths in robots.txt first. Then search for them (chapter 4) to confirm.
AI Search's own docs call sitemap the more reliable of the two when your sitemap covers every page you want indexed: it re-crawls a page when its <lastmod> date changes, indexes by <priority>, and is not cut off by a page limit or depth. Discover ignores <lastmod> and re-fetches on its cache age, 24 hours by default. Search for Agents picks discover, which needs no sitemap. Changing the parse type on an existing instance triggers a full resync.
Check the endpoint yourself
Run on November 30, 2026, read-only, against Cloudflare's docs site
Cloudflare turned Search for Agents on for its developer docs before the launch, so you can see the real response shape today without touching your own zone. Everything in the grey boxes below is output we got on November 30, 2026. Where it says head, the output is cut to the first lines.
A GET request with a question:
$ curl -s -o /dev/null -w '%{http_code} %{content_type}\n' --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=How do I verify webhook signatures?"
200 text/markdown; charset=utf-8
$ curl -s --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=How do I verify webhook signatures?" | head -n 13
# Search results for: "How do I verify webhook signatures?"
## docs/rules/snippets/examples/jwt-validation/index.md (score: 1.000)
# Validate JSON web tokens (JWT) · Cloudflare Rules docs
Extract a JWT from the Authorization header, verify its HMAC-SHA256 signature using the WebCrypto API, and validate its claims.
---
## docs/stream/manage-video-library/using-webhooks/index.verify-webhook-authenticity.md (score: 0.950)
# Use webhooks · Cloudflare Stream docs
$ curl -s --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=How do I verify webhook signatures?" | grep -c '^## '
50The same question sent with QUERY and a JSON body, and what a POST gets:
$ curl -s -X QUERY "https://developers.cloudflare.com/.well-known/search" --header "Content-Type: application/json" --data '{"q":"How do I verify webhook signatures?"}' | head -n 3
# Search results for: "How do I verify webhook signatures?"
## docs/rules/snippets/examples/jwt-validation/index.md (score: 1.000)
$ curl -s -o /dev/null -w '%{http_code}\n' -X POST "https://developers.cloudflare.com/.well-known/search" --data 'test'
405A request with no query returns the endpoint's own usage notes:
$ curl -s "https://developers.cloudflare.com/.well-known/search"
# Search for Agents
`https://developers.cloudflare.com/.well-known/search` is the Cloudflare Search for Agents endpoint for this site. Send a natural-language question and get the most relevant passages from this site's content as Markdown.
## Usage
```sh
curl 'https://developers.cloudflare.com/.well-known/search?q=how%20do%20I%20get%20started'
```
URL-encode `q`. The response is `200` `text/markdown`: a `## <source> (score: <n>)` section per matching passage, or `No results found.`
## Notes
- Queries are trimmed and limited to 8000 characters.
- `QUERY` with a `text/plain` or JSON `{"q": "..."}` body (UTF-8, up to 64 KiB) is also supported.
- `503` means search is being set up or is unavailable; retry later (honor `Retry-After`).
Docs: https://developers.cloudflare.com/ai-search/how-to/search-for-agents/What we read from that output:
- The response is
text/markdown: a#heading with your query, then one## source (score: n)section per matching passage, separated by---. - Our question came back with 50 sections from Cloudflare's docs. The documented default for a new Search for Agents instance is 10 chunks, so Cloudflare's own instance is not on the defaults. Expect fewer results from yours unless you change Maximum results.
- A nonsense query still came back with results, and the first one scored 1.000, the same as the first result for a real question. Read the score as the order within one response, not as a sign of a good match.
- A
503means search is being set up or is unavailable, by the endpoint's own notes, so you may see it on your own domain while the instance is still being set up.
$ curl -s --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=zqxjvwk plorbtangle" | head -n 3 # Search results for: "zqxjvwk plorbtangle" ## docs/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/drizzle-orm/index.md (score: 1.000)
On your own site, after the first index, run the same checks with your domain in place of example.com. These commands follow the docs; only step 1 was run, and only against nicklaunches.com:
# 1. Before you turn it on: no endpoint yet (we got a 404 for nicklaunches.com, which does not have it on)
curl -s -o /dev/null -w '%{http_code}\n' "https://example.com/.well-known/search?q=pricing"
# 2. After: the discovery tags on your home page
curl -s https://example.com/ | grep -o '<meta name="agent:[^>]*>'
# 3. A keyword search and a question, with GET
curl --get "https://example.com/.well-known/search" --data-urlencode "q=pricing"
curl --get "https://example.com/.well-known/search" --data-urlencode "q=Does the free plan include custom domains?"
# 4. The same question with QUERY, plain text and JSON
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: text/plain" \
--data "Does the free plan include custom domains?"
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: application/json" \
--data '{"q":"Does the free plan include custom domains?"}'
# 5. Search for a page you excluded: it should not come back
curl --get "https://example.com/.well-known/search" --data-urlencode "q=admin dashboard"Use the questions from your support inbox and sales calls, not your page titles. If the top result for "how much is the team plan" is a two-year-old blog post, that is what an agent reads first. Fix the page, or exclude the old one, and search again after the next sync.
See how agents find it
Run on November 30, 2026, read-only, against Cloudflare's docs site
An agent can only use the endpoint if it knows it is there. Cloudflare's docs say it adds four agent: meta tags to the <head> of HTML responses. On Cloudflare's docs home page they look like this:
$ curl -s https://developers.cloudflare.com/ | grep -o '<meta name="agent:[^>]*>'
<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 Markdown for Agents is also on, an agent that requests a page with Accept: text/markdown gets the same information as YAML front matter at the top of the page:
$ curl -s -H "Accept: text/markdown" https://developers.cloudflare.com/ai-search/how-to/search-for-agents/ | head -n 6
---
agent:
instructions: "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."
endpoint: "https://developers.cloudflare.com/.well-known/search?q={query}"
method: "GET"
documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"So discovery happens on your pages: an agent that fetches any page on your site sees where to search and how. The blog post shows one example, an agent in an OpenCode session that found the endpoint on Cloudflare's docs home page and then searched it, and says an agent that has found the endpoint will likely reuse it during the same session.
Know the cost and the limits
From Cloudflare's docs, not run on a live zone
Search for Agents has no price of its own. Usage follows AI Search pricing: ingesting your content, storing it and serving queries. AI Search billing begins on December 1, 2026, after being postponed from November 1. Every account gets this much each month before charges:
| Usage | Included per month | Beyond that |
|---|---|---|
| Ingestion | 5 million tokens | $0.75 per million tokens |
| Storage | 10 GB-month | $2.00 per GB-month |
| Semantic, vector and hybrid queries | 1,000 | $0.75 per 1,000 queries |
| Full-text queries | 1,000 | $0.10 per 1,000 queries |
A few things on the same pricing page that change the math for a small site:
- Limits follow your Workers plan, not your zone plan. On Workers Free, AI Search crawls at most 500 pages a day and holds 100,000 files per instance. On Workers Paid there is no daily crawl cap, and an instance holds 1 million files, or 500,000 with hybrid search.
- The default instance runs hybrid search, which is in the $0.75 per 1,000 row once the included 1,000 queries are used.
- Ingestion tokens are counted on the final chunks with the
cl100k_basetokenizer, and text repeated by chunk overlap (10% by default) counts in each chunk it appears in. - Storage is the Markdown copy AI Search keeps of each indexed page. Narrower path filters mean less storage.
Two things we could not find in the docs: whether a search answered from the similarity cache counts as a query, and what the endpoint returns once a Workers Free account has used its included queries. If either matters to you, ask Cloudflare before you rely on an answer.
The endpoint is public. Any agent, or anyone else, can call it as often as your WAF and AI Crawl Control rules allow. Your crawl and storage costs depend on your site; your query costs depend on traffic you do not control. Look at your AI Search usage in the first weeks after December 1.
Know what it does not do
From Cloudflare's docs, not run on a live zone
- It does not rank you or get you cited. Cloudflare does not claim that any AI assistant or AI search product will query your endpoint, use the results, or cite your site. It makes your content easier to search for an agent that is already on your site.
- It does not write answers. Agents get passages and do their own answering. A page that is wrong or out of date will be quoted as it is.
- It does not update in real time. By default the instance syncs every 24 hours and discover re-fetches pages after a 24-hour cache age, so a change on launch day can take a day to show up.
- It does not keep anything private. Whatever is indexed can be searched by anyone who can reach the endpoint.
- It is not finished. Cloudflare labels it beta, and AI Search billing has already moved once.
Discovery happens on your own pages, so an agent has to land on one of them before it can search. Pages elsewhere that link to your product are still how agents and people get there, and launching on Nick Launches is free.
The whole setup, in order
- robots.txt read: no Content-Signal search=no or ai-input=no unless you mean it (3)
- Private, test and thank-you paths disallowed in robots.txt (3)
- Bot, WAF and AI Crawl Control rules checked against the AI Search crawler (2)
- Workers plan checked: Free crawls 500 pages a day (6)
- Old pages that answer customer questions wrongly fixed or removed (7)
- Domain Overview, Quick Actions, Search for Agents on (2)
- Defaults and pricing notice read before confirming (2, 6)
- Exclude patterns added in the instance settings, with **/ in front (3)
- Content selectors set if navigation and footers crowd the results (3)
- Sync interval set if 24 hours is too slow for you (2)
- agent: meta tags present on your home page (5)
- GET and QUERY searches return 200 text/markdown (4)
- Ten real customer questions searched, top results read (4)
- Excluded pages searched for and absent (4)
- AI Search usage checked in the weeks after December 1 (6)
FAQ
Yes. Cloudflare's docs say Search for Agents is available in beta on all plans, and the blog post says that includes Free, with limits. The limits that matter are those of your account's Workers plan: on Workers Free, AI Search crawls at most 500 pages a day, and every account gets 1,000 semantic and 1,000 full-text queries a month included.
Cloudflare does not say that any particular assistant does. Its blog post shows an agent in an OpenCode session finding the endpoint on Cloudflare's docs home page and using it, and says that on its docs site, which had the feature on before launch, agents do a good job of discovering the search API and using it. That is the only usage evidence in the announcement.
No. It returns retrieved passages from your site in Markdown, with a source and a score for each. Cloudflare's docs say generation model settings only apply when you use the instance through the chat completions API, not through Search for Agents.
No. The search endpoint works without it, and Cloudflare advertises it in the head of your HTML pages either way. With Markdown for Agents on, an agent that asks for a page as Markdown also gets the endpoint in the page's YAML front matter.
Yes. The instance is a standard AI Search instance, so Cloudflare's docs say you can use it from a Worker, turn on its separate public REST and MCP endpoints, or embed search and chat components for human visitors. None of those are needed for /.well-known/search to work.
Sources
- Cloudflare blog, Introducing Search for Agents, November 25, 2026
- Cloudflare changelog, Introducing Search for Agents, November 25, 2026, and AI Search billing postponed to December 1, 2026, November 2, 2026
- Cloudflare docs, Search for Agents (setup, default settings, discovery, request formats)
- Cloudflare docs, AI Search limits and pricing
- Cloudflare docs, Website data source, Parse types, Path filtering and Content selectors
- Cloudflare docs, Markdown for Agents
- IETF, RFC 10008: The HTTP QUERY Method
- The live endpoint on Cloudflare's docs site, developers.cloudflare.com/.well-known/search, requested read-only on November 30, 2026
Disclaimer: Nick Launches is not affiliated with Cloudflare and earns nothing from it. Read on November 30, 2026. Search for Agents is in beta and AI Search pricing starts on December 1, 2026, so both can change. We did not turn the feature on for any site; the only requests we ran were read-only requests to Cloudflare's docs site and one to nicklaunches.com.