Cloudflare introduces Search for Agents. With a single dashboard toggle, the company creates an AI Search index of a website and sets up a search endpoint on the website’s own domain. As a result, AI agents no longer need to crawl pages one by one.
Cloudflare’s AI Search service has long been able to use websites as data sources. Pages were automatically crawled, converted, and indexed. However, administrators had to manually create and configure an instance, and then ensure that the search endpoints were accessible via their domain. And agents still had to be able to find that index.
Search for Agents reduces that setup to a single toggle under “Quick Actions” on the zone page in the dashboard. You can also enable it via the API. Cloudflare then creates an AI Search instance with default settings, begins crawling and indexing, and makes the search function available under the customer’s domain. All of this happens at the network level.
Agents find the endpoint themselves
Search for Agents adds metadata to the HTML head on every page: instructions, the endpoint (/.well-known/search), the HTTP method, and a link to the documentation. If Markdown for Agents is also enabled, the agent receives the same information as YAML front matter.
The endpoint returns retrieved content in Markdown. According to Cloudflare, the agent already has its own AI model and is engaged in a conversation with the user. The only thing missing is the relevant information from the site. Searches can be performed using keywords or, depending on the configuration, with natural-language queries.
In addition, the service supports the new HTTP method QUERY. It has been an IETF Proposed Standard (RFC 10008) since June 2026, with Cloudflare employee James Snell as a co-author. With QUERY, a client sends search criteria in the request body without changing the server status. curl and undici already support the method.
Cloudflare had already been running Search for Agents in its developer documentation before the announcement. During an OpenCode session, an agent discovered the endpoint on the homepage and retrieved the correct answer to a question about Cloudflare Artifacts within seconds. According to the company, agents often reuse the API multiple times within the same session.
Search for Agents is available immediately to all users, including those on the free plan (with limits). Pricing follows the AI Search rates for ingestion, storage, and queries. Since it’s built on a standard AI Search instance, customers can also enable REST API or MCP endpoints or integrate the search feature for human visitors.
Tip: Cloudflare reports many more, but much smaller, DDoS attacks