Vibeleaderboard
← All Intel
Intel / article

Cloudflare ships one-toggle site search for AI agents

Source
blog.cloudflare.com
Author
Cloudflare
Date

Context

Cloudflare's Search for Agents gives a website a search endpoint that AI agents can find on their own, so an agent looking for something on the site can ask a question instead of fetching pages one by one (Cloudflare). A site owner turns it on with a toggle in the dashboard or through the API. Cloudflare then creates an AI Search instance for the site, crawls and indexes its pages, and answers searches at the site's own address, under /.well-known/search. It is open to every customer, including the Free plan with limits, and usage is billed under AI Search pricing, which covers ingesting content, storing the index and serving queries. AI Search itself, Cloudflare's managed indexing and retrieval service, became generally available in October with billing from November 1 (earlier coverage).

Discovery works through the pages themselves. Cloudflare adds tags to the head of every HTML page that name the search address, the HTTP method to use, a documentation link, and a short instruction telling an agent to search rather than crawl. If the site also uses Markdown for Agents, Cloudflare's feature that serves a Markdown version of a page to clients that ask for it, the same details appear at the top of that Markdown. An agent that reads any page on the site therefore learns where to search.

The endpoint returns the matching passages from the site in Markdown, each with a score, rather than a written answer. Cloudflare's reasoning is that the agent already has its own model and conversation with the user and needs source material, not another model's summary. Queries can go in the URL as an ordinary GET request, or in the body of a QUERY request. QUERY is a new HTTP method, published in June 2026 as RFC 10008 and co-authored by Cloudflare's James Snell, that lets a client send search criteria in the request body while promising, like GET, that the request changes nothing on the server. Cloudflare says curl and the Node.js HTTP client undici are among the tools adopting it.

Site owners keep control of who can use it: agent searches are still subject to the site's bot management, AI Crawl Control and firewall settings. The evidence that agents actually find and use the endpoint so far comes from Cloudflare. It enabled the feature on its own developer documentation, showed an OpenCode session that discovered the endpoint from the homepage and answered a question about Cloudflare Artifacts correctly, and says agents have done a good job discovering the search API during their tasks.

Key takeaways · AI-distilled
  • The endpoint returns retrieved site content as Markdown, not a generated answer; Cloudflare's reasoning is that the calling agent already has a model and only needs the source material.
  • Discovery works through agent:instructions, agent:endpoint, agent:method and agent:documentation meta tags in each page's head, or the same fields as YAML front matter when Markdown for Agents serves the page.
  • Agent access still passes through the zone's bot management, AI Crawl Control and WAF settings, so enabling search does not bypass a site's existing controls.
  • It is a regular AI Search instance in the account, so owners can add , change cache settings, or expose it as a or endpoint; usage counts against AI Search pricing, including on the Free plan with limits.
Terms in this piece · Glossary
  • Metadata — Data about a file, such as its name, size and timestamps, as distinct from its contents.
  • reranking — A second pass that re-scores retrieved candidates by reading each one against the query, fixing the ordering that fast vector search got approximately right.
  • HTTP and JSON API — A common way for software to request data or actions from another service.
  • Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source blog.cloudflare.com
Tools in this story
More from Cloudflare
Recommended reads