CloudflareNelson DuarteAnnouncement
Introducing Search for Agents
Summary
Cloudflare introduced Search for Agents, a feature that lets website owners make their content searchable by AI agents with a single dashboard toggle. When enabled, Cloudflare automatically creates an AI Search instance, crawls and indexes the zone’s content, and exposes a search API under the site’s own domain. The search endpoint is advertised on every page via HTML meta tags or YAML front matter, so agents can discover and use it without manual configuration. Agents query the endpoint using GET or the new HTTP QUERY method and receive retrieved content in Markdown, not a generated answer. The feature is available to all customers, including Free plan users, and follows existing AI Search pricing.
Context
Cloudflare’s AI Search already allowed indexing website content for search, but required manual setup and integration. Search for Agents automates this by letting zone owners flip a single toggle, after which Cloudflare creates the index, starts crawling, and makes the search endpoint discoverable to any AI agent on the internet.
Approach / What changed
Enabling a toggle in the Cloudflare dashboard automatically creates an AI Search instance for the zone, starts crawling and indexing content, and exposes a discoverable search API under the zone’s domain. The search endpoint is advertised via HTML meta tags or YAML front matter, and agents can query it using GET or the new HTTP QUERY method.
Takeaways
Search for Agents automatically creates an AI Search instance, crawls content, and exposes a discoverable search API under the zone’s domain when the toggle is enabled.
The search endpoint is advertised on every page via HTML meta tags or YAML front matter, allowing agents to discover and use it without manual integration.
Agents query the endpoint using GET or the HTTP QUERY method and receive retrieved content in Markdown, not a generated answer, preserving the agent’s own conversation context.
FAQ
Who can use Search for Agents and how is it priced?
Search for Agents is available to all Cloudflare customers, including Free plan users (with limits). Usage follows AI Search pricing, covering content ingestion, index storage, and query serving, subject to the account's included usage and plan limits.
Does the search endpoint return answers or raw content?
The search endpoint returns retrieved content in Markdown format, not a generated answer. The agent already has its own AI model and conversation; it only needs relevant information from the site, not another model's attempt to answer on its behalf.
How do agents discover the search endpoint?
The search endpoint is automatically advertised on every page of the site via HTML meta tags (e.g., agent:endpoint, agent:instructions) or YAML front matter if Markdown for Agents is enabled. Agents discover these metadata and know how to query the search API.
Source and freshness
- Source
- blog.cloudflare.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.