Back Blog.Cloudflare Introducing Search for Agents
AI , our service that indexes your content and lets you add to any application or agent without having to build an entire retrieval infrastructure, has supported adding your website as a data source for a while now, automatically crawling, converting and indexing its pages.
Still, setting up an AI instance for your website requires manually creating and configuring it initially, and then doing all the integration work to get the endpoints available from your domain and to make sure that agents know where to find the index and know how to use it.
Today we're introducing for Agents , which puts that setup behind a toggle in your Cloudflare dashboard. Turn it on for your zone, and our service will create your AI instance, start indexing your content, and make discoverable and available from your own domain.
The idea follows naturally from Markdown for Agents , where Cloudflare's network converts any HTML page to Markdown in real time for enabled zones using content negotiation headers. Similarly, for Agents leverages the power of AI by automatically creating an index for your zone and exposing APIs that any AI agent can discover and use to your website, under your domain, all done at the network level.
You can enable for Agents using the API, or by going to the dashboard in your zone page, under Quick Actions :
for Agents is available to all customers, including Free (with limits ). Once it’s enabled, Cloudflare will automatically create an AI instance, start crawling and indexing the content in your zone. Refer to our developer documentation to understand how the crawling process works.
You can access your instance directly from this page, or by going to directly to your account’s AI > AI instances view:
The AI instance for your zone is created with default settings, but you can enable reranking or change configuration options like cache settings at any time. Refer to our documentation for the full list of options.
Once AI indexes your content, you or any agent on the Internet can start using for Agents, subject to your domain settings (e.g. your bot management settings, AI Crawl Control and web application firewall ( WAF ) configurations).
isn't much use if the agents don’t know it's there. To facilitate discoverability, for Agents automatically advertises the endpoint on every page of your site.
For example, for HTML responses, we add metadata to the page's :
If you also have Markdown for Agents enabled, an agent requesting a page with Accept: text/markdown receives the same information in YAML front matter:
The agent will easily pick up these instructions and know what to do to your site.
Once the agent knows that your site has a endpoint, it can start using it:
Depending on your AI configuration, the agent can also use natural language and ask questions to the endpoint:
Note that this endpoint returns retrieved content, in Markdown, not a generated answer. The agent already has an AI model and a conversation with the user; all it needs is the relevant information from your site, not another AI model's attempt to answer on its behalf.
Supporting a new HTTP method: QUERY
The new HTTP QUERY method is an IETF Proposed Standard, incidentally coauthored by our own James Snell , published in June 2026 as RFC 10008 . A QUERY allows a client to send criteria in a request body safely and idempotently without modifying server state. This makes it a good fit for AI .
The adoption of QUERY is underway with major browser vendors discussing the RFC and multiple frameworks and clients either adopting ( curl and undici , for example), or discussing adoption.
for Agents supports QUERY natively either using a plain text or JSON request body:
Let’s see it in action during an agentic session. for Agents is enabled for our Developer Documentation . When we open an OpenCode session and ask “What is the maximum push size for Cloudflare Artifacts?”, in the logs we can see the agent discovering the endpoint on the homepage and then fetching /.well-known/ with the question for the results.
The answer comes back a few seconds later and it’s correct.
Once the agent discovers the API, it will likely reuse it multiple times within the same session whenever it needs to for content in the same site.
We enabled for Agents for our developer documentation ahead of this announcement and we’ve found that agents do a good job of discovering the API and using it during their tasks.
It’s still an AI instance
Because for Agents is powered by an AI instance in your account, you get all the standard configuration options and features as well. For example, you can enable public REST API or MCP endpoints, or use it from Workers , or even embed AI on your website for human visitors.
Start using for Agents
Starting today, for Agents is available to all customers. The usage follows the AI pricing ; that includes ingesting content, storing the index's content, and serving queries, subject to the account's included usage and limits for both the Workers Free and Paid plans.
We also recommend you check our Agent Readiness page (see announcement ) and understand how you can make your sites optimized for agents, from guiding agents on how to authenticate, to controlling what content agents can see, the format they receive it in, and how they pay for it.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
