All news
VIBPS / NEWS • AI DEVELOPER TOOLS

How does Cloudflare Search for Agents make a site searchable?

Cloudflare's new beta crawls a zone, builds an AI Search index and advertises a same-domain endpoint to agents. Owners should review what is public, the crawl limits and usage charges before switching it on.

Cloudflare's Search for Agents turns a website on its network into a searchable source for AI agents. Announced November 25, the beta is a dashboard toggle that creates an AI Search instance for a domain, crawls and indexes its pages, then advertises a search endpoint on the same domain. That saves a site owner from wiring together a crawler, index and agent-specific discovery instructions, but it also means deciding which public pages should be retrieved and checking how the resulting usage is billed.

The new feature sits on top of Cloudflare AI Search. It does not put a chatbot on a website or generate an answer for a visitor: the endpoint returns relevant indexed passages in Markdown, with source references and relevance scores. An agent still needs its own model and conversation to interpret those results.

What happens when a site owner switches it on?

A domain must already be onboarded to the Cloudflare account. The owner can enable Search for Agents under Quick Actions on the domain's Overview page, review the suggested settings and pricing notice, and confirm. Cloudflare creates an AI Search instance named for the zone in the default namespace and starts crawling the domain as a website data source. The feature is described as beta in the developer documentation and is available on all plans, including Free.

The default Discover crawl follows both links and sitemaps; a sitemap helps but is not required. The documented instance setting permits up to 100,000 pages, but that is a ceiling rather than a promise that every zone will be fully indexed. Files-per-instance and plan limits also apply. On Workers Free, Cloudflare lists a maximum of 500 pages crawled per day. The defaults include five link hops from the starting URL, subdomains off, and a 24-hour sync interval. Owners can tune configurable settings in the AI Search instance, although some choices such as its initial data source and embedding model are fixed at creation.

How do agents find and query the index?

After the index is ready, Cloudflare adds metadata to the HTML head that tells an agent a search API exists, where to call it and where to find its documentation. The URL follows the site's own hostname at `/.well-known/search`, so a documentation site can point agents to its own index instead of asking them to crawl pages one by one. If Markdown for Agents is also enabled, Cloudflare can put the same discovery details in YAML front matter when a client requests a page as Markdown.

The documented endpoint accepts a GET request with a `q` query parameter or an HTTP QUERY request with plain text or a JSON `q` field. QUERY, defined in IETF RFC 10008, is a safe and idempotent way to send criteria in a request body. Cloudflare's endpoint returns retrieved passages rather than a generated answer, and its default search configuration returns up to ten chunks. Results can therefore be incomplete or rank a passage poorly; an agent should still inspect the linked source and not treat retrieval as proof that an answer is correct.

Cloudflare says QUERY support is part of the service, while support in other clients and network components is still developing. A site integrating the endpoint should test its actual agent runtime and HTTP path rather than assuming every intermediary accepts the newer method. GET is also documented, so there is a query-string option for a basic request.

What content becomes exposed, and what does it cost?

Cloudflare's setup guide says to index only content intended to be publicly searchable. Once pages are indexed, agents on the Internet can query the endpoint, subject to the site's bot-management settings, AI Crawl Control and Web Application Firewall rules. The toggle is not a reason to place private, customer-only or otherwise restricted material in the index. Owners should review the crawl scope and test the public endpoint after setup; ordinary site access controls and data boundaries still matter.

Usage is billed as AI Search usage, covering ingestion, indexed-content storage and queries. Cloudflare's current pricing page says billing begins December 1, 2026. It lists monthly included allowances of five million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries per account. Usage beyond those amounts is priced separately; the current page lists rates of $0.75 per million base-ingestion tokens, $2 per GB-month of storage, $0.75 per 1,000 semantic/vector/hybrid queries and $0.10 per 1,000 full-text queries. Image processing has an additional per-token charge. Check the live limits page before enabling a production zone because allowances and plan-specific crawl limits shape the actual bill and coverage.

For context, Workers Free accounts can create up to 100 AI Search instances and are limited to 500 crawled pages per day; the general 100,000-page crawl ceiling does not override those tighter limits. Paid accounts have higher default instance and file limits and no daily page-crawl cap listed on the limits page, but that does not make every site's indexing or cost unlimited.

A practical checklist for makers

  • Inventory what the crawler can reach through links and sitemaps; exclude paths that are not meant for public search.
  • Review bot-management, AI Crawl Control and WAF rules so the intended crawl and query traffic behaves as expected.
  • Inspect the generated index, sample queries and the source references returned by `/.well-known/search`.
  • Estimate token, storage and query use against the account's included monthly allowance and plan limits before billing starts.
  • Test both GET and QUERY from the agent runtime that will use the service, and decide how the agent checks retrieved source material.

For makers, this is a new distribution surface for public documentation: an agent can ask a site a question and retrieve relevant pieces without a custom search integration. It does not guarantee that agents will find the site, cite it or send visitors. Cloudflare's own early usage observations are vendor-reported, not an independent adoption study. A clear public page still matters when introducing an app to people; making its documentation retrievable by an agent is a separate layer of that experience.

How to introduce your app on VIBPS

How does Brave Search's x402 payment work for AI agents?

Brave's x402 article covers the agent paying an external search provider for web results. Cloudflare's announcement addresses the other side of that exchange: a website owner building and exposing a queryable index of the site's own public material. The two features serve different jobs, even though both put search into agent workflows.

More software stories, with sources and context.

More news