Free · WaitlistJoin the waitlist for the free 2-day Vibecoding & AI Agents Intensive (autonomous Hermes + DeepSeek agent · led by Jemal Hamidun, Head of AI at Alpina Digital & MIPT)Join the waitlist →
ReleaseAPI / Product · ActionableCloudflare AI Blog→ original

Cloudflare Turns On Search for AI Agents on Any Site With One Toggle

Until now, letting an AI agent search your website meant manually creating an index and wiring up endpoints. Cloudflare has launched Search for Agents: you flip a toggle in the zone dashboard, and the service creates an AI Search instance, indexes your pages, and opens search on your domain at /.well-known/search. It also adds hints for agents on every page, and responses come back in Markdown. For site owners, this is a way to make content available to agents without building their own RAG.

AI-processed from Cloudflare AI Blog; edited by Hamidun News
Cloudflare Turns On Search for AI Agents on Any Site With One Toggle
Source: Cloudflare AI Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceCloudflare AI Blog ↗
Editor-in-Chief
Key metric #1Available on all plans, including Free, with limits; billed at AI Search pricing
Key metric #2The endpoint returns matched snippets in Markdown, not a generated answer
Key metric #3Supports the new QUERY HTTP method from RFC 10008, published in June 2026

If you own a site with documentation, a knowledge base, or a catalog, your readers are increasingly AI agents rather than people. They move from page to page, spend tokens on HTML scaffolding, and often fail to find what they need. Cloudflare offers another option: give the agent a ready-made search box right on your domain. The service is called Search for Agents, and you turn it on with a single toggle.

What changed compared to regular AI Search

Cloudflare's AI Search could already index a site: it crawled pages, converted them, and built an index. But setup was manual. You had to create an instance, configure it, expose the search endpoints on your domain, and somehow tell agents that search existed at all.

Now all of this sits behind a toggle in the Quick Actions section of the zone page in the Cloudflare dashboard; the feature can also be enabled via the API. After activation, Cloudflare creates an AI Search instance itself, starts crawling and indexing the zone's content, and publishes search on your domain. The idea extends the Markdown for Agents feature, which converts HTML to Markdown on the fly for agents. Here, too, everything happens at the network level.

The instance is created with default settings. Later you can enable reranking (re-sorting of results) or change cache parameters. Agent access depends on your rules: bot management, AI Crawl Control, and WAF continue to work.

How an agent discovers search and what it gets

Search is useless if nobody knows about it. So Cloudflare adds an endpoint description to every page. In HTML, these are meta tags in the head: an instruction, an address of the form /.well-known/search?q={query}, the method, and a link to the documentation. If Markdown for Agents is enabled and an agent requests a page with Accept: text/markdown, the same information arrives in YAML front matter.

The agent then simply makes a request. It can search by keywords and, depending on settings, by a plain-language question, for example about the maximum push size in Cloudflare Artifacts. The response is a list of matched snippets in Markdown with a relevance score.

An important detail: the endpoint returns found content, not a ready answer from a language model. The logic is simple: the agent already has its own model and its own conversation with the user. It needs facts from your site, not another neural network trying to answer on its behalf.

Separately, Cloudflare has added support for the new HTTP method QUERY. This is an IETF standard, RFC 10008, published in June 2026, with Cloudflare employee James Snell as a co-author. QUERY lets you send search conditions in the request body safely and idempotently, meaning without changing server state. The request can be sent as plain text or JSON. curl and undici are already implementing or discussing support, and browser makers are discussing the RFC itself.

Testing in practice and limitations

Cloudflare enabled the feature for its own developer documentation. In an OpenCode session, asked about the maximum push size in Artifacts, an agent found the search endpoint on the home page, queried /.well-known/search, and returned the correct answer (64 MiB per push) within seconds. According to the company's observations, once discovered, agents reuse search within a session and generally handle it well.

There are caveats. The feature is available to all customers, including Free, but with limits. Costs follow AI Search pricing: content ingestion, index storage, and query serving. If your site is large and has many agents, estimate the bill in advance. Answer quality depends on AI Search settings, and the success figures in the blog post are not backed by independent measurements: the company showed only its own case and a sample of logs.

This is just a regular AI Search instance in your account. So you can enable a public REST API or MCP endpoint, use it from Workers, or embed search on the site for people.

What to do

If you maintain documentation or a content product, enable the feature on a test zone and see how your agents, for example Claude Code or OpenCode, find information. Also check Cloudflare's Agent Readiness page: it shows how to prepare a site for agents, from authentication to content payments. For product managers, the takeaway is simple: an 'agent-ready' search box is becoming as standard a site element as the sitemap once was.

Story

Key Questions Answered

What changed compared to regular AI Search?

Cloudflare's AI Search could already index a site: it crawled pages, converted them, and built an index. But setup was manual. You had to create an instance, configure it, expose the search endpoints on your domain, and somehow tell agents that search existed at all. Now all of this sits behind a toggle in the Quick Actions section of the zone page in the Cloudflare dashboard; the feature can also be enabled via the API.

How an agent discovers search and what it gets?

Search is useless if nobody knows about it. So Cloudflare adds an endpoint description to every page. In HTML, these are meta tags in the head: an instruction, an address of the form /.well-known/search?q={query}, the method, and a link to the documentation. If Markdown for Agents is enabled and an agent requests a page with Accept: text/markdown, the same information arrives in YAML front matter. The agent then simply makes a request.

What are the key details on Testing in practice and limitations?

Cloudflare enabled the feature for its own developer documentation. In an OpenCode session, asked about the maximum push size in Artifacts, an agent found the search endpoint on the home page, queried /.well-known/search, and returned the correct answer (64 MiB per push) within seconds. According to the company's observations, once discovered, agents reuse search within a session and generally handle it well. There are caveats. The feature is available to all customers, including Free, but with limits.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Private AI Builders Community · Vibe Club

Ship AI Faster with Founders, Engineers & Weekly Architecture Reviews

Inside Vibe Club (hamidun.com/club) — weekly live masterminds with Zhemal Khamidun, Tech Radar, full LMS access, and 370+ production Claude Code skills.

Join Vibe Club →Free intensive — waitlist
What do you think?
Loading comments…