Cloudflare gives websites a search endpoint built for AI agents

Search for Agents indexes a site and serves Markdown results at /.well-known/search, so agents can query a site instead of crawling it page by page.

Illustration of a small robot with a magnifying glass at the door of a house-shaped website, under a glowing orange search bar, as stacks of document pages flow out and a wall toggle sits switched on. Image: AgenticFeed illustration

Cloudflare has launched Search for Agents, a beta feature that indexes a website and lets AI agents search it through an endpoint at /.well-known/search on the site's own domain. The company announced it in a November 25 blog post and said it's available on every plan, including the free tier with usage limits.

Site owners turn it on with a toggle under Quick Actions in the Cloudflare dashboard or through the API, according to the post written by Cloudflare's Celso Martinho with colleagues Gabriel Massadas and Nelson Duarte. Cloudflare then creates an AI Search instance, its hosted retrieval service, and starts crawling and indexing the site.

Why agents need it

AI agents that answer questions from the web usually fetch and read pages one by one. A search endpoint lets an agent send a question and get back only the relevant passages.

The endpoint returns retrieved content in Markdown, a lightweight text format that models read easily, according to Cloudflare's documentation. Each result carries a source reference and a relevance score, and the endpoint doesn't generate an answer.

The blog post explains that choice. "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," the authors wrote.

How agents find the endpoint

The /.well-known/ path is a long-standing web convention for files and services that clients can expect at a fixed address on any domain. Cloudflare puts the search endpoint there, and the post says it also advertises the endpoint on every page.

For HTML pages, Cloudflare adds meta tags named agent:instructions, agent:endpoint, agent:method and agent:documentation that tell an agent what the API does and how to call it, according to the post. Sites that also use Cloudflare's Markdown for Agents feature return the same details as front matter when an agent asks for a page in Markdown.

The post doesn't present the agent meta tags as part of a published standard. They're Cloudflare's own format for now.

Agents can query with a plain GET request and a q parameter. The endpoint also accepts the new HTTP QUERY method, which the post says was published in June 2026 as RFC 10008 and coauthored by Cloudflare's James Snell. QUERY lets a client send search terms in the request body without changing anything on the server.

Early results and controls

Cloudflare said it switched the feature on for its developer documentation before the launch. In one test, an agent running in the open source coding tool OpenCode found the endpoint on the docs homepage and used it to send its question. A correct answer came back a few seconds later, the post says.

"Agents do a good job of discovering the search API and using it during their tasks," the authors wrote, based on that early traffic. Cloudflare didn't publish usage numbers.

Requests to the endpoint still pass through each site's security settings, including bot management and AI Crawl Control, according to the company. Its documentation advises owners to index only content they intend to make publicly searchable.

The index is a regular AI Search instance named search-for-agents followed by the zone ID, and it finds pages through sitemaps and links, according to the docs. Owners can turn on reranking, a second pass that reorders results by relevance, or expose the same index through a REST API or an MCP server, the Model Context Protocol interface many agents use to connect to tools.

What it costs

Usage follows Cloudflare's AI Search pricing, which charges for indexing content and for serving queries, the post says. It's subject to each account's included usage and limits on both the Workers Free and Paid plans.

The post says Search for Agents follows from Markdown for Agents, an earlier Cloudflare feature that converts web pages to Markdown for agents on request. The company also pointed site owners to its Agent Readiness page, which checks how a site handles agent access and payment.

Source: Cloudflare Blog, Celso Martinho, Gabriel Massadas and Nelson Duarte, Cloudflare (company source), “Introducing Search for Agents”

Additional sources: Cloudflare AI Search docs, Cloudflare (company source), “Search for Agents”; Cloudflare changelog, Cloudflare (company source), “Introducing Search for Agents”

Get the AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam, and you can unsubscribe at any time.

Want to reach readers following AI agents? Advertise with AgenticFeed

Next event · 30 Nov, 2026

AWS re:Invent 2026 in Las Vegas

AWS’s annual conference runs Nov. 30 to Dec. 4. Matt Garman’s CEO keynote is on Dec. 1, and the catalog lists more than 2,200 sessions.

The AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam.