Cloudflare's AI Search indexes a site's content so that applications and agents can query it without building retrieval infrastructure from scratch. Adding a website as a data source already crawls, converts and indexes its pages automatically, but standing up an instance has so far meant manual configuration plus integration work: making the search endpoints reachable from your domain and ensuring that agents can locate and use the index. Search for Agents reduces that to a single toggle in the Cloudflare dashboard, which creates the AI Search instance, starts indexing the zone's content, and makes search discoverable and available under your own domain.
Enabling a zone
The feature builds on Markdown for Agents, which lets Cloudflare's network convert HTML to Markdown in real time for enabled zones through content negotiation headers. Search for Agents applies the same network-level approach to AI Search: an index is created for the zone and the search APIs are exposed for any agent to find and use on your domain.
Activation is possible through the API or via Quick Actions on the dashboard's zone page.

Search for Agents is open to all customers, including Free, subject to limits. After activation, Cloudflare creates the AI Search instance with default settings and begins crawling and indexing the zone; the developer documentation describes how crawling works. The instance can be opened from that page or from the account's AI > AI Search instances view.

Defaults can be adjusted later — reranking can be enabled and options such as cache settings changed; the configuration docs list every supported option. Access to indexed content by you or any Internet agent is governed by domain settings, including bot management, AI Crawl Control and web application firewall (WAF) configurations.
Advertised endpoint and querying
Discoverability is handled by advertising the search endpoint on every page of the site. HTML responses carry metadata in the page's <head>:
<meta name="agent:instructions" content="Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown.">
<meta name="agent:endpoint" content="https://developers.cloudflare.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">
With Markdown for Agents also enabled, and an agent sending Accept: text/markdown, the same instructions arrive as YAML front matter:
---
agent:
instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
endpoint: "https://developers.cloudflare.com/.well-known/search?q={query}"
method: "GET"
documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---
An agent that picks these up knows where to search the site.
$ curl "https://developers.cloudflare.com/.well-known/search?q=cloudflare+artifacts"
# Search results for: "cloudflare artifacts"
## docs/artifacts/api/workers-binding/index.md (score: 1.000)
# Workers binding · Artifacts · Cloudflare Artifacts docs
Call Artifacts from a Worker binding.
---
## docs/artifacts/index.md (score: 0.951)
# Artifacts · Cloudflare Artifacts docs
Store, version, and share filesystem artifacts across Workers, APIs, and Git-compatible tools.
...
Depending on how AI Search is configured, the endpoint also accepts natural-language questions:
$ curl --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=What is the maximum push size for Cloudflare Artifacts?"
# Search results for: "What is the maximum push size for Cloudflare Artifacts?"
## docs/artifacts/platform/limits/index.limits-cloudflare-artifacts-docs.md (score: 1.000)
# Limits · Cloudflare Artifacts docs
Section: Limits · Cloudflare Artifacts docs
title: Limits
description: Review Artifacts platform limits.
pcx_content_type: reference
products:
- artifacts
Limits that apply to creating, importing, cloning, and pushing Artifacts are detailed below.
These limits cover naming rules, storage, request rates for control-plane and Git operations, and the size of each push.
FeatureLimitControl-plane request rate2,000 requests per 10 seconds per Artifacts namespaceGit request rate, per artifact2,000 requests per 10 seconds per artifactMaximum storage per repository1 GB for repos created on or after 2026-09-29. Repos created earlier have a 10 GB limit. See size limit change.Maximum storage per account1 TB (can be raised on request)Maximum number of repositoriesUnlimitedMaximum number of namespacesUnlimitedNamespace name length2–63 charactersNamespace and repo namesStart with a letter or digit. Remaining characters may include letters, digits, ., _, and -.Maximum push size64 MiB per push. Includes all data sent in the push. Split larger work into several 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 ref updates per push1 MiB of branch and tag updates per push.Maximum entries per folder100,000 files and subfolders in a single folder.
...
The endpoint returns retrieved content in Markdown rather than a generated answer: the calling agent already holds the model and the conversation, and needs the relevant site content rather than another model's attempt to answer for it.
QUERY support
Search for Agents natively supports the HTTP QUERY method, an IETF Proposed Standard with James Snell as a coauthor, published in June 2026 as RFC 10008. QUERY sends search criteria in a request body safely and idempotently while leaving server state unchanged, which suits AI search. Browser vendors are discussing the RFC and clients and frameworks are either adopting it (curl and undici, for example) or discussing adoption. Both plain-text and JSON request bodies are supported:
# Plain text
curl -X QUERY 'https://developers.cloudflare.com/.well-known/search' \
--data 'What is the maximum payload size per ingestion request in Basin Pipelines?'
# JSON
curl -X QUERY 'https://developers.cloudflare.com/.well-known/search' \
--header 'Content-Type: application/json' \
--data '{"q":"How many bulk import requests per minute does Email Service allow?"}'
In an agent session
Search for Agents is enabled for the Developer Documentation. In an OpenCode session asked "What is the maximum push size for Cloudflare Artifacts?", the logs show the agent discovering the search endpoint on the homepage and then calling /.well-known/search with the question.

The correct answer arrives a few seconds later.

Agents typically reuse the search API across a session whenever they need content from the same site. In the period before the announcement, during which the feature has been active on the developer documentation, agents have done well at finding and using the API for their tasks.

Underneath: a standard AI Search instance
Because the feature is powered by an AI Search instance in your account, the usual configuration options apply: you can turn on public REST API or MCP endpoints, call the index from Workers, or embed AI Search on your site for human visitors.

Usage follows AI Search pricing for content ingestion, index storage and query serving, within the usage and limits included with the Workers Free and Paid plans. Cloudflare also points site owners to its Agent Readiness page for guidance on optimizing sites for agents — how they authenticate, which content they can see, the format they receive and how they pay for it. The Search for Agents developer docs cover the feature's details.




