Cloudflare has added a switch that lets AI agents find and query a website’s content through an API hosted on the domain itself. Search for Agents automatically creates and indexes the search engine, but its use is not unlimited and free: it follows AI Search pricing, which includes ingestion, index storage, and queries.
Cloudflare announced the feature on November 25, 2026. Once enabled for a domain added to the account, it creates an AI Search instance, crawls pages, and exposes an endpoint at /.well-known/search. The company presents the feature as a way to avoid the manual setup previously required to connect the index to the domain and explain to agents where to find it.
An index accessible from the site’s domain
Activation is done from the Cloudflare dashboard, under Quick Actions, or through the API. The service creates an instance named search-for-agents-<ZONE_ID> in the default namespace and uses the domain as its data source. It can also be opened from the domain’s Overview page or from the account’s AI Search section.
The feature is available on all plans, including Free, although its use is subject to each plan’s limits and AI Search pricing. The documentation asks users to review the settings and pricing notice when enabling it, and to wait for crawling and indexing to finish before testing a search.
The feature automates a task that AI Search customers previously had to handle themselves: creating and configuring an instance, integrating its endpoints with the domain, and ensuring agents knew how to locate the index. With Search for Agents, Cloudflare publishes the entry point on the site itself and allows a compatible agent to discover it when visiting a page.
What agents receive and how they find the API
In HTML responses, Cloudflare adds metadata in the <head> header with instructions, the endpoint address, the GET method, and a link to the documentation. If the site also uses Markdown for Agents, the same information appears as YAML metadata when the agent requests the page in Markdown format.
The agent can submit keywords or a natural-language question using the q parameter. The result is retrieved content in Markdown, with references and relevance scores; it is not an answer written by another model. Interpreting the snippets and responding to the user are left to the agent’s own model and conversation.
Cloudflare demonstrated how it works with OpenCode and its developer documentation. The agent found the endpoint on the homepage, submitted a question about the maximum size of a Cloudflare Artifacts push, and got the correct answer a few seconds later. The company says that once the search engine has been discovered, an agent can reuse it during the same session whenever it needs to query that site.
In addition to GET, the endpoint supports the HTTP QUERY method, with the search text in the body as plain UTF-8 text or as a JSON object with the q field. QUERY is defined in RFC 10008, published in June 2026. Cloudflare says the method allows search criteria to be sent securely and idempotently in the body, without changing the server’s state.

What the initial configuration crawls
The newly created instance uses the Discover crawl type, which finds pages through sitemaps and links without requiring the site to have a sitemap. The default configuration limits crawling to five link hops from the source URL, excludes subdomains, and schedules synchronization every 24 hours.
| Default setting | Value |
|---|---|
| Crawl limit | 100,000 pages, subject to instance limits |
| Depth | Five link hops |
| Crawl cache age | 24 hours |
| Subdomains | Excluded |
| Synchronization interval | 24 hours |
| Search | Hybrid: vector and keyword |
| Embedding model | @cf/qwen/qwen3-embedding-0.6b |
| Chunk size and overlap | 1,024 tokens and 10% |
| Maximum results | 10 chunks |
| Query rewriting and reranking | Disabled |
| Similarity cache | Enabled for 48 hours |
The system combines vector and keyword search, applies Reciprocal Rank Fusion (RRF) to merge results, and uses a match threshold of 0.4. Similarity caching is enabled with the “Strong (close_enough)” threshold. The embedding model and data source are fixed when the instance is created; other settings can be changed later from the AI Search Settings tab, including reranking.
The 100,000-page maximum does not guarantee that all pages will make it into the index. Unite.AI notes that per-instance file limits and daily crawl caps also apply: on Workers Free, the daily limit is 500 pages, so that cap restricts crawling before the general maximum does. Subdomains are also excluded by default, which may leave out documentation or support portals hosted separately.
Site controls remain in effect
Having the endpoint advertised on pages does not open unrestricted access. Queries remain subject to the domain’s configuration, including bot management, AI Crawl Control, and the WAF (web application firewall). The metadata helps an agent find the search; it does not override the rules already applied by the owner.
Cloudflare recommends indexing only content that you want to make publicly searchable. The feature can coexist with Markdown for Agents, which converts individual pages on demand; Search for Agents, by contrast, retrieves relevant material from the index. The search endpoint does not generate answers, and generative model settings apply only when the instance is used through a chat completions API.
The instance is also a standard AI Search instance. Its owners can enable public REST or MCP endpoints, use it from Workers, or embed search and chat components for human visitors. These options are separate from the /.well-known/search endpoint and do not need to be enabled for agent queries to work.
Queries are included in the AI Search bill
Cloudflare includes content ingestion, index storage, and searches in billable usage, all within the allowances and limits applicable to Workers Free and Paid. TechRepublic puts the start of billing on December 1, 2026; Unite.AI details the monthly allowances and overage prices published for AI Search.
| Item | Monthly allowance | Overage price |
|---|---|---|
| Base ingestion tokens | 5 million | $0.75 per million |
| Storage | 10 GB-months | $2 per GB-month |
| Semantic queries | 1,000 | $0.75 per 1,000 |
| Vector or hybrid queries | Not specified separately | $0.75 per 1,000 |
| Full-text queries | 1,000 | $0.10 per 1,000 |
According to TechRepublic, Free plans pause when they reach their monthly limits, while paid plans can incur additional overage charges. Unite.AI breaks down those charges and includes semantic, vector, and hybrid queries at the same rate of $0.75 per 1,000. The bill therefore depends on the number and type of searches as well as ingestion and the space occupied by the index.
Cloudflare recommends visiting its Agent Readiness page to review how to guide agents on authentication, what content they can see, what format they receive, and how they pay. The company also invites site owners to share feedback on its developer Discord.
Search for the agent, not an answer from the site
The proposal changes how agents connect to documentation: instead of browsing pages one by one, they can discover a search interface and retrieve snippets from the index. But the result depends on what has been crawled, the plan’s limits, and the domain’s controls; afterward, the agent must interpret the material using its own model.
Search for Agents remains in beta and can now be enabled on Cloudflare plans. The first AI Search bill reflecting the new usage will begin on December 1, 2026.
Sources: Cloudflare Blog, Unite.AI, Cloudflare Docs, TechRepublic