Jones Web Designs & Development is now The Jones Foundry. What it means for clients

Cloudflare Search for Agents: Let AI Agents Search Your Site

Cloudflare now lets site owners switch on a search endpoint built for AI agents. Here is how it works, what controls you keep, and what to review first.

Cloudflare has introduced Search for Agents, a feature that lets site owners turn on a search service for AI agents from a single toggle in the dashboard. According to The Cloudflare Blog, enabling Cloudflare Search for Agents on a zone creates an index of your content and makes search available from your own domain. The goal is to let an AI agent ask your site a question instead of crawling page after page.

How Cloudflare Search for Agents works

Cloudflare already offers a product called AI Search, which indexes your content so you can add search to an application or an agent without building retrieval infrastructure yourself. It could already use a website as a data source. The catch, as Cloudflare describes it, was the setup: you had to create and configure an instance by hand, then do the integration work to expose search endpoints on your domain and make sure agents knew where to find them.

Search for Agents puts that behind a switch. You can enable it from the zone page in the dashboard under Quick Actions, or through the API. Once it is on, Cloudflare creates an AI Search instance, starts crawling and indexing the content in your zone, and exposes search APIs under your domain. The post says all of this happens at the network level.

The instance starts with default settings. You can later turn on reranking or change options such as cache settings, and Cloudflare points to its documentation for the full list.

How agents find your search endpoint

A search tool is only useful if agents know it exists. Cloudflare says Search for Agents advertises the endpoint on every page of your site. On HTML pages, it adds meta tags to the page head that give an agent instructions, the endpoint address, the HTTP method, and a link to documentation.

If you also use Cloudflare's Markdown for Agents feature, which converts HTML pages to Markdown for enabled zones, an agent that asks for a page as Markdown gets the same details as front matter at the top of the file.

An agent can then send a keyword query or, depending on your AI Search configuration, a natural-language question. One detail worth noting: the endpoint returns retrieved content in Markdown, not a generated answer. Cloudflare's reasoning is that the agent already has its own AI model and a conversation with the user, so it just needs the relevant material from your site.

Cloudflare tested this on its own developer documentation. In a demo with the OpenCode coding agent, the agent found the search endpoint on the homepage, asked its question, and returned a correct answer a few seconds later. The company also says agents tend to reuse the endpoint within a session, and that in its own docs they have done a good job of discovering and using it.

Support for the new HTTP QUERY method

The feature also supports a newer web method called QUERY. Cloudflare says it is an IETF Proposed Standard, published in June 2026 as RFC 10008 and coauthored by Cloudflare's James Snell. QUERY lets a client send search criteria in a request body in a safe, idempotent way, meaning it does not change anything on the server. Cloudflare considers that a good fit for AI search.

According to the post, adoption is underway: major browser vendors are discussing the RFC, and multiple frameworks and clients, curl and undici among them, are adopting it or discussing it. Search for Agents accepts QUERY with either a plain text or a JSON body. If you build or maintain web software, this is a signal to check whether your own tools and proxies handle unfamiliar HTTP methods gracefully.

What you still control

Turning the feature on does not open the door to everyone. Cloudflare says anyone or any agent can use the search once content is indexed, but only subject to your domain settings, such as bot management, AI Crawl Control, and web application firewall (WAF) configurations. If you have already set rules about which automated traffic you allow, those rules still apply.

Because it runs on an AI Search instance in your account, you also get the standard AI Search options. Cloudflare says you can enable public REST API or MCP endpoints, use the instance from Workers, or embed AI Search on your site for human visitors.

Practical steps before you turn it on

This is available to all Cloudflare customers, including Free (with limits), starting now. Usage follows AI Search pricing. Before you flip the switch, a little preparation helps:

  • Confirm your site is on Cloudflare. The feature is enabled per zone, so it only applies to domains you already run through the service.
  • Review what is publicly reachable. The service crawls and indexes the content in your zone, so check for old, draft, or sensitive pages that should not be easy to search.
  • Check your bot and WAF rules. Decide which agents you want to allow, since your current settings determine who can use the endpoint.
  • Read the pricing and limits. Look at the AI Search pricing page and the Free plan limits so a busy endpoint does not surprise you.
  • Test it yourself. After enabling, send a few queries and see whether the results match what you would want an agent to quote from your site.
  • Keep your content current. Agents will draw on whatever is indexed, so outdated pages can produce outdated answers.

Who should pay attention

If your site holds documentation, product details, policies, or help articles, this could make it easier for AI tools to find accurate answers from the source. Public sector teams and nonprofits with large archives of forms, notices, and guidance may find the same appeal. Smaller brochure sites may not need it right away, and there is no harm in waiting while the QUERY standard and agent behavior settle.

If you run WordPress or Formidable Forms behind Cloudflare and want help deciding what should be indexed, or how to set the related bot rules, talk to a Formidable Masterminds developer.

Sources

This post was drafted with AI from the reporting linked above and published by The Jones Foundry. For full details, read the original sources.

Found this useful? Pass it on to someone who would want to know.

All Web Development posts →