Independent hosting research · no paid rankings

Desk checked

Data Centers & Routes

We are introducing Search for Agents.

Published: Last checked:

A dashboard toggle creates AI Search, indexes site content, and exposes discoverable Markdown search API access for agents using safe QUERY requests.

Cloudflare's Search for Agents changes AI Search from a service that required manual instance creation and integration into a dashboard toggle. When enabled for a zone, it creates an AI Search instance, starts crawling and indexing content, and makes search discoverable and available from the site's own domain. The core value is discoverability: AI agents can see on each page that a search API exists, then request Markdown results instead of crawling pages one by one. It is not a replacement for the site owner's controls or for the agent's own model. It supplies retrieved content from the indexed site, subject to AI Search pricing, included usage limits, bot management settings, AI Crawl Control, and web application firewall settings.

We are introducing Search for Agents.

What changes compared with manual AI Search setup

AI Search already lets site owners index content and add search to applications or agents without building retrieval infrastructure. It has also supported adding a website as a data source by crawling, converting, and indexing pages. The earlier workflow still required manually creating and configuring an AI Search instance for the website, then doing integration work so the search endpoints were available from the domain and so agents knew where to find the index and how to use it.

Search for Agents moves that setup behind a toggle in the Cloudflare dashboard. Turn it on for a zone, and the service creates the AI Search instance, starts indexing content, and makes search available from the domain. It can be enabled through the API or from the zone page in the dashboard under Quick Actions. After enabling, the instance can be accessed from that page or from the account's AI > AI Search instances view.

The instance is created with default settings, but owners can enable reranking or change configuration options such as cache settings at any time. Once content is indexed, the owner or any agent on the Internet can use Search for Agents, subject to domain settings such as bot management, AI Crawl Control, and web application firewall configurations.

Why the network layer matters

The feature follows the pattern of Markdown for Agents. In Markdown for Agents, Cloudflare's network converts web pages written in Hypertext Markup Language to Markdown in real time for enabled zones using content negotiation headers. Search for Agents uses the same network-level idea for retrieval: it automatically creates an AI Search index for the zone and exposes APIs that agents can discover and use under the site's own domain.

Discoverability is the main mechanism

Search is of limited use if agents do not know it exists. Search for Agents advertises the search endpoint on every page. For Hypertext Markup Language responses, it adds metadata to the page head, including instructions to use the search API to find relevant content across the site with keywords or natural-language queries instead of crawling individual pages, and notes that results are returned in Markdown. It also advertises the endpoint, the GET method, and the documentation address.

If Markdown for Agents is also enabled, an agent requesting a page with the Accept: text/markdown header receives the same information in front matter. The practical effect is that an agent visiting the site can learn what search API to call without prior knowledge of the site's custom integration.

The QUERY method gives agents a safer request pattern

Search for Agents supports the QUERY request method. QUERY is an Internet Engineering Task Force Proposed Standard published in June 2026 as Request for Comments 10008. James Snell coauthored it. QUERY allows a client to send search criteria in a request body safely and idempotently without modifying server state, which makes it suitable for AI search.

Adoption is underway. Major browser vendors are discussing the standard, and multiple frameworks and clients are adopting or discussing adoption, including curl and undici. Search for Agents supports QUERY natively with either a plain-text body or a JavaScript Object Notation body. Cloudflare's examples include asking what the maximum payload size per ingestion request is in Basin Pipelines, and asking how many bulk import requests per minute Email Service allows.

Agents get retrieved content, not another model's answer

A query for "cloudflare artifacts" returns Markdown results with scores. The example shows `docs/artifacts/api/workers-binding/index.md` at score 1.000 and `docs/artifacts/index.md` at score 0.951. A natural-language query for "What is the maximum push size for Cloudflare Artifacts?" returns the limits page at score 1.000.

The key detail is that the endpoint returns retrieved content in Markdown, not a generated answer. The agent already has an AI model and a conversation with the user. What it needs is relevant site content, not another model's attempt to answer on its behalf.

The indexed Artifacts limits show the kind of structured content search can surface

The natural-language example returns the Artifacts limits page. The indexed content includes these platform limits:

Limit areaValue
Control-plane request rate2,000 requests per 10 seconds per Artifacts namespace
Git request rate, per artifact2,000 requests per 10 seconds per artifact
Maximum storage per repository1 GB for repositories created on or after 2026-09-29; repositories created earlier have a 10 GB limit
Maximum storage per account1 TB, which can be raised on request
Maximum number of repositoriesUnlimited
Maximum number of namespacesUnlimited
Namespace name length2–63 characters
Namespace and repository namesMust start with a letter or digit; remaining characters may include letters, digits, dot, underscore, and hyphen
Maximum push size64 MiB per push, including all data sent in the push; larger work should be split into smaller pushes
Maximum objects per push50,000 objects, such as file versions, folders, and commits
Maximum file size32 MiB per file; already-compressed files, like images, video, or zip archives, may be rejected slightly below 32 MiB
Maximum reference updates per push1 MiB of branch and tag updates per push
Maximum entries per folder100,000 files and subfolders in a single folder

A live session shows discovery and reuse

Cloudflare enabled Search for Agents for its Developer Documentation ahead of this announcement. In an OpenCode session asking "What is the maximum push size for Cloudflare Artifacts?", the logs show the agent discovering the search endpoint on the homepage and then fetching the search path with the question. The answer comes back a few seconds later and is correct. Cloudflare says agents generally do a good job discovering the search API and using it during tasks.

Once an agent discovers the search API, it will likely reuse it multiple times in the same session whenever it needs to search the same site.

It is still an AI Search instance

Because Search for Agents is powered by an AI Search instance in the account, standard configuration options remain available. Owners can enable public Representational State Transfer API or Model Context Protocol endpoints, use the instance from Workers, or embed AI Search on the website for human visitors.

Pricing and limits determine the real-world cost

Search for Agents is available to all customers, including Free with limits. Usage follows AI Search pricing and includes ingesting content, storing the index's content, and serving queries. It is subject to the account's included usage and limits for both Workers Free and Paid plans.

For readers, the practical questions are therefore not only whether the toggle is easy to use, but how much content will be indexed, how much it will cost to store and query, and whether existing domain controls will allow agents to reach the endpoint. Cloudflare also recommends checking its Agent Readiness page to understand how to make sites optimized for agents, including guiding authentication, controlling what content agents can see, choosing the format they receive, and handling how they pay for it.

Sources and official references used in this article

The facts above come from Cloudflare's Search for Agents announcement and the referenced developer documentation: the zone page under Quick Actions, the AI > AI Search instances view, the Developer Documentation example, the Agent Readiness page, and the Request for Comments 10008 reference naming James Snell as coauthor.

Last updated: 2026-06-14

Spec tagsAI agentsAI SearchSearch for AgentsWebsite IndexingQUERY Method

Reader notes 0

  • No notes yet. Corrections and first-hand test results are welcome.