A toggle, then a search endpoint

Cloudflare announced Search for Agents on 25 November: flip one switch on a zone and the network creates an AI Search instance, crawls and indexes the site’s content, and exposes a search API at /.well-known/search on the customer’s own domain. It is available to all customers, including the free plan, with limits, and it is billed under existing AI Search pricing.

The underlying index is not new — Cloudflare’s AI Search has crawled websites as a data source for a while. What is new is that the setup, the endpoint and the advertising of that endpoint are now automatic.

The part that matters is the advertisement

A search API nothing knows about is a search API nobody uses. Search for Agents writes its own discovery metadata into every page. For HTML responses, Cloudflare injects four meta tags into the <head>: agent:instructions, agent:endpoint, agent:method and agent:documentation. The instruction string tells the reader exactly what Cloudflare wants it to do — use the search API “instead of crawling individual pages”.

Ethernet cables plugged into the ports of a network switch
Stock image. Queries to the endpoint are subject to the zone's bot management and firewall rules. Brett Sayles · pexels · Pexels License

Sites that also run Cloudflare’s Markdown for Agents get the same four fields as YAML front matter when a client requests a page with Accept: text/markdown. Either way, an agent that fetches one page of the site learns, in that response, that it does not have to fetch the rest.

The endpoint returns retrieved content as Markdown, with per-document relevance scores — not a generated answer. Cloudflare’s reasoning is blunt: 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”.

QUERY, in production

Search for Agents also supports the HTTP QUERY method natively, with either a plain-text or a JSON request body. QUERY was published as RFC 10008 in June 2026 and is co-authored by Cloudflare’s James Snell. It lets a client send search criteria in a request body safely and idempotently, without the URL-length and caching awkwardness of stuffing a long natural-language question into a GET query string.

Directional arrows painted on a concrete floor
Stock image. Four meta tags tell an agent where the search endpoint is and how to call it. Jan van der Wolf · pexels · Pexels License

Cloudflare says adoption is in progress, with curl and undici among the clients that have added it. Shipping QUERY in a service every free-tier customer can turn on is a more concrete push than a standards-track document on its own.

What this is really about

Crawling is how agents currently read the web, and it is expensive on both sides: the agent burns tokens on pages it does not need, and the site serves traffic it would rather not. A per-site search endpoint replaces a crawl of n pages with one request. It is also, not incidentally, a control point. Requests to the endpoint are subject to the zone’s bot management, AI Crawl Control and firewall settings, which means the site owner decides which agents get the cheap path.

Cloudflare says it enabled the feature on its own developer documentation before the announcement and watched agents discover and reuse the endpoint across sessions.

What to watch

Whether the agent: meta convention spreads beyond Cloudflare. Four meta tags are easy to copy, and a discovery format that only works on one CDN’s zones is a product feature rather than a standard. The developer documentation is the place that will show whether anyone else adopts the field names.