· via Cloudflare blog
Cloudflare's Search for Agents lets websites expose AI search with a single toggle
Cloudflare's new Search for Agents feature automatically indexes a site and exposes a discoverable search API on its own domain, so AI agents can query content instead of crawling pages one by one.

Cloudflare has launched Search for Agents, a feature that lets any website on its network expose a searchable index to AI agents with a single dashboard setting. According to the Cloudflare blog, announced on November 25, the feature wraps the company's existing AI Search indexing service and removes the manual setup that previously stood between a site and agent-ready search.
What launched
AI Search, Cloudflare's indexing service, has been able to crawl, convert and index a website's pages for some time. Until now, though, an AI Search instance had to be created and configured by hand, and site owners still had to wire up the search endpoints, host them under their own domain, and somehow signal to agents that the index existed and how to query it.
Search for Agents collapses that work into a toggle. Turn it on for a zone — either through the dashboard's Quick Actions section or via the API — and Cloudflare says its service will provision the AI Search instance, begin crawling and indexing the zone's content, and expose search from the site's own domain, all at the network level.
The feature builds on Markdown for Agents, an earlier Cloudflare capability that converts HTML pages to Markdown in real time for enabled zones using content negotiation. Cloudflare describes Search for Agents as the natural follow-up: rather than an agent fetching page after page, it can query a prepared index.
Availability and configuration
Per the Cloudflare blog, the feature is open to all customers, including those on the Free plan, subject to limits. Instances start with default settings, but owners can enable reranking or adjust options such as cache settings later from the AI Search view in their account.
Importantly, search traffic remains subject to the zone's existing rules. Bot management settings, AI Crawl Control and WAF configurations all still apply, so site owners keep control over which agents can actually reach the index.
How agents discover the search endpoint
A search API is only useful if agents know it exists. To solve that, Search for Agents advertises the endpoint on every page of an enabled site. For HTML responses, Cloudflare injects metadata into the page's head — tags named agent:instructions, agent:endpoint, agent:method and agent:documentation — telling agents to use the search API with keyword or natural-language queries instead of crawling individual pages, along with the endpoint URL, HTTP method and a documentation link. The example endpoint in the blog lives at a /.well-known/search path taking a query parameter.
For sites that also have Markdown for Agents enabled, the same information is delivered as YAML front matter when an agent requests a page with a Markdown content type.
Results, not generated answers
Queries can be plain keyword searches or full natural-language questions. The endpoint returns retrieved documents formatted in Markdown, with relevance scores attached — not a synthesized answer.
Cloudflare's reasoning, as laid out in the blog: the agent already has its own model and a conversation with the user; what it needs is the relevant source material from the site, not another model's attempt to answer on its behalf.
The company demonstrated the flow in an agentic coding session with OpenCode: when asked about Cloudflare Artifacts' maximum push size, the agent discovered the search endpoint on the site's homepage, fetched it with the question, and produced a correct answer within seconds.
Native support for the QUERY HTTP method
Search for Agents also supports the recently standardized HTTP QUERY method. According to the Cloudflare blog, QUERY is an IETF Proposed Standard published in June 2026 as RFC 10008 — coauthored by Cloudflare's own James Snell. It lets a client send search criteria in a request body safely and idempotently without modifying server state, which makes it a good fit for AI search. Cloudflare notes adoption is underway, with curl and undici already implementing it and major browser vendors discussing the RFC.
The search endpoint accepts QUERY requests with either a plain-text or a JSON body carrying the query.
Why it matters
As AI agents become a significant class of web traffic, the dominant interaction pattern today is crawling: agents fetch pages one by one, duplicating work and straining origin servers. Search for Agents proposes a different contract — publishers expose a queryable index under their own domain, and agents retrieve only what they need.
The approach also shifts leverage toward publishers. Because search runs behind the zone's bot management, AI Crawl Control and WAF rules, sites decide which agents get access and on what terms, while metadata-based discovery means agents need no bespoke integration for each site.
With a free tier included, the barrier to trying it is low. If the pattern catches on, the /.well-known/search convention — paired with emerging standards like QUERY — could become a standard channel between agents and websites, replacing brute-force crawling with something closer to a structured query.
- #cloudflare
- #ai-agents
- #search
- #http
- #web-infrastructure