What is Cloudflare Search for Agents, and how do agents use it?

Cloudflare Search for Agents, announced November 25, 2026, indexes a site and serves Markdown results to AI agents at /.well-known/search.

한국어로 읽기

Key takeaways

  • Cloudflare announced Search for Agents on November 25, 2026; it is in beta on all plans.
  • It creates an AI Search instance and serves search at /.well-known/search on your own domain.
  • Agents find it through agent: meta tags and call it with GET or the HTTP QUERY method.
  • It returns Markdown chunks with scores, not answers, and is billed under AI Search pricing.
On this page
  1. What is Cloudflare Search for Agents?
  2. How does Search for Agents work?
  3. What is the HTTP QUERY method, and why does it matter here?
  4. What are the default settings?
  5. How much does Search for Agents cost?
  6. What does this mean for teams running AI agents?
  7. How do you turn it on?
  8. What are the limits and open questions?

Cloudflare Search for Agents is a zone setting, announced on November 25, 2026, that makes a website searchable by AI agents. When you turn it on, Cloudflare creates an AI Search instance for the domain, crawls and indexes the site, and serves search at /.well-known/search on your own domain. Agents find the endpoint through meta tags and get matching content back in Markdown, not a generated answer [1][2].

What is Cloudflare Search for Agents?

Search for Agents is a search endpoint for your site that Cloudflare builds and hosts, aimed at agents rather than people. It sits on top of AI Search, Cloudflare's indexing and retrieval service, and the documentation lists it as available on all plans, in beta [2]. The announcement says Free plan customers can use it too, within AI Search limits [1].

The point is to change how an agent reads a site. Without a search endpoint, an agent that needs one fact from a large documentation site has to fetch pages and follow links until it finds the answer. With Search for Agents, it sends one query and receives the most relevant chunks. Cloudflare's own developer documentation already runs it at developers.cloudflare.com/.well-known/search [1].

The endpoint returns retrieved content and leaves the reasoning to the caller. The announcement explains that the agent already has its own model, so the site sends source material and nothing more [1]. Generation model settings in AI Search apply only to chat completions, not to this endpoint [2].

How does Search for Agents work?

Search for Agents works in three stages: Cloudflare indexes the site, advertises the endpoint in every HTML page, and answers queries at the edge. The figure shows the path of one query.

Sequence diagram: an AI agent reads agent meta tags from an HTML page, sends GET or QUERY to /.well-known/search under the zone's WAF and AI Crawl Control, AI Search runs a hybrid search, and Markdown chunks return.
How one agent query reaches a site's Search for Agents endpoint and comes back as Markdown (sources [1], [2]).

Indexing. The dashboard toggle creates an instance named search-for-agents-<ZONE_ID> in the default namespace, with https://<YOUR_DOMAIN> as its data source and the Discover parse type, which follows sitemaps and links [2]. You have to wait for the crawl to finish before search returns results.

Discovery. Cloudflare adds four meta tags to the head of HTML responses: agent:instructions, agent:endpoint, agent:method and agent:documentation [2]. The instructions tell agents to use the search API instead of crawling pages and say results come back in Markdown. The endpoint tag carries a URL template such as https://example.com/.well-known/search?q={query}, and the method tag says GET. If Markdown for Agents is also enabled on the zone, a request with Accept: text/markdown gets the same information as YAML front matter under an agent: key [1][2].

Querying. The endpoint accepts GET with a q parameter and the HTTP QUERY method with a plain-text or JSON body [2]. Responses contain retrieved content in Markdown with source references and relevance scores. In the announcement's example, each result starts with a heading that names the file path and a score such as score: 1.000 [1].

Cloudflare tested the flow with an OpenCode session. Asked about push limits in Cloudflare Artifacts, the agent found the endpoint from the documentation homepage, queried it and returned a correct answer within a few seconds. The post adds that agents tend to reuse the endpoint for later questions about the same site in a session [1].

What is the HTTP QUERY method, and why does it matter here?

QUERY is a new HTTP method for requests that carry their search criteria in the body but do not change anything on the server. RFC 10008, "The HTTP QUERY Method", was published on the Standards Track in June 2026; its authors are J. Reschke of greenbytes, J. M. Snell of Cloudflare and M. Bishop of Akamai [4].

The RFC defines QUERY as safe and idempotent, so a client can retry it after a connection failure. Responses are cacheable, and the cache key must include the request content. A request must carry a Content-Type, and a server can advertise support and the media types it accepts with the Accept-Query response field [4].

For agents, this means a long, natural-language question no longer has to be squeezed into a URL query string. The announcement says curl and undici (v8.6.0) already support QUERY [1]. The three request shapes look like this [2]:

Bash
# GET with a q parameter
curl --get "https://example.com/.well-known/search" \
  --data-urlencode "q=How do I verify webhook signatures?"

# QUERY with a plain-text body
curl -X QUERY "https://example.com/.well-known/search" \
  --header "Content-Type: text/plain" \
  --data "How do I verify webhook signatures?"

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

What are the default settings?

Search for Agents starts with fixed defaults that you can review in the instance's Settings tab. The embedding model and the data source are fixed at creation; most other settings can be changed later [2].

SettingDefault
Crawl page limit100,000 pages, subject to instance limits
Crawl depth5 link hops from the source URL
Crawl cache age and sync interval24 hours each
SubdomainsOff
Embedding model@cf/qwen/qwen3-embedding-0.6b
Chunk size1,024 tokens with 10% overlap
Search modeHybrid (vector and keyword), fused with Reciprocal Rank Fusion
Maximum results10 chunks
Match threshold0.4
Query rewriting and rerankingOff
Similarity cacheOn, strong threshold, 48 hours

Source for every row: the Search for Agents documentation [2].

Two defaults deserve a look before you rely on the endpoint. Subdomains are off, so check whether content you care about lives on a subdomain such as docs.example.com. Reranking is off too; the announcement names reranking as one of the settings you can add later [1].

How much does Search for Agents cost?

Search for Agents has no separate price; usage is billed under AI Search pricing for content ingestion, index storage and queries [1][2]. The AI Search pricing page says billing begins on December 1, 2026 [3].

ItemIncluded per monthPrice beyond that
Ingestion5 million tokens$0.75 per million tokens
Storage10 GB-month$2.00 per GB-month
Semantic, vector and hybrid queries1,000$0.75 per 1,000
Full-text queries1,000$0.10 per 1,000

Prices and allowances from the AI Search limits and pricing page as of November 26, 2026 [3].

The plan limits matter more than the prices for small sites. On Workers Free, AI Search crawls at most 500 pages per day and holds 100,000 files per instance; on Workers Paid the daily crawl is unlimited and an instance holds 1 million files, or 500,000 with hybrid search [3]. At that rate, a first full crawl of a 20,000-page site on Workers Free would take at least 40 days.

What does this mean for teams running AI agents?

For teams whose agents read documentation, vendor sites and knowledge bases, Search for Agents turns a crawl into one request with a bounded answer. An agent that checks a limit, a price or an API detail on a site that has the tags can send one query and get at most 10 chunks back by default, which keeps context windows small and runs predictable [2].

Agent builders can add discovery now. Before crawling a site, read the head of its homepage for agent:endpoint and agent:method, and prefer the endpoint when it is present. Because the response is retrieved text, treat it like any other fetched content: it is data for the model, not instructions to follow. Teams that run agents together in a shared workspace such as Hardi AI can give every agent the same rule, so one research agent does not crawl a site while another queries it.

Site owners get a decision. The requests still pass through your AI Crawl Control and WAF configuration, and the announcement also names bot management settings [1][2]. If you block AI crawlers today, decide whether search should be the one door you leave open.

How do you turn it on?

You turn on Search for Agents from the domain's Overview page in the Cloudflare dashboard [2]:

  1. Select the domain and open Overview.
  2. Under Quick Actions, turn on Search for Agents.
  3. Review the default settings and the pricing notice, then confirm.
  4. Wait until AI Search has crawled and indexed the content.
  5. Test with the curl --get command above, then adjust the instance, which also appears under AI > AI Search in the account [1].

The domain must already be onboarded to your Cloudflare account. The announcement says the feature can also be enabled through the API [1], but the how-to page does not document that call as of November 26, 2026 [2]. Because the instance is a regular AI Search instance, you can also expose it as a public REST API, an MCP endpoint, a Workers binding or an embedded search box for human visitors; none of those is required for /.well-known/search [1][2].

What are the limits and open questions?

Search for Agents is in beta, and several details are still open [2]. The how-to page does not describe how to turn the feature off or how long a first crawl takes, and it does not include a sample response. The announcement gives no indexing timeframe either [1].

The agent: meta tags are Cloudflare's convention. Neither source points to a standard for them, so agents built elsewhere will only use the endpoint if their developers read the tags or the documentation link. QUERY is newer still: RFC 10008 dates from June 2026 [4], and the announcement says browser vendors and other frameworks are still discussing support [1], so GET with q remains the safe default for agents today.

Finally, answer quality depends on configuration. The announcement says natural-language questions work depending on the AI Search setup [1], and with query rewriting and reranking off by default, a site with similar pages may need tuning before agents get the right chunk first.

Frequently asked questions

Does Cloudflare Search for Agents generate answers?

No. The /.well-known/search endpoint returns retrieved content in Markdown with source references and relevance scores. The calling agent's own model writes the answer, and AI Search generation settings do not apply to this endpoint.

How does an AI agent find a site's Search for Agents endpoint?

Cloudflare adds agent:instructions, agent:endpoint, agent:method and agent:documentation meta tags to the head of HTML pages. With Markdown for Agents enabled, the same information arrives as YAML front matter under an agent: key.

Is Cloudflare Search for Agents free?

It is available on all plans, including Free, but usage is billed under AI Search pricing for ingestion, storage and queries. Each account gets 1,000 semantic and 1,000 full-text queries a month included, and AI Search billing begins December 1, 2026.

What is the HTTP QUERY method?

QUERY is an HTTP method defined in RFC 10008, published in June 2026. It carries the query in the request body and is safe and idempotent, so clients can retry it. Search for Agents accepts QUERY with a plain-text or JSON body.

Do WAF and AI Crawl Control rules still apply to Search for Agents?

Yes. Requests to the search endpoint remain subject to the zone's AI Crawl Control and WAF configuration, and Cloudflare also names bot management settings as applying.

Sources

  1. Introducing Search for Agents — Cloudflare, accessed
  2. Search for Agents — Cloudflare Docs, accessed
  3. AI Search limits and pricing — Cloudflare Docs, accessed
  4. RFC 10008: The HTTP QUERY Method — IETF (RFC Editor), accessed