Cloud Services PaaS Clouds

Cloudflare automates website search setup for AI agents

Cloudflare has introduced Search for Agents, a feature that automatically creates and configures an AI Search instance for a website zone and makes its search endpoint discoverable to AI agents. The company says customers can enable it through a toggle in the Cloudflare dashboard or through the API, avoiding the manual setup and integration work previously required.

After activation, Cloudflare starts crawling and indexing content on the zone. It then exposes a search API under the site’s own domain, allowing agents to retrieve relevant site content rather than crawl pages individually. The feature is available to all customers, including those on the Free plan, with limits. Usage follows AI Search pricing and is subject to the included usage and limits of Workers Free and Paid plans.

Discovery is built into site responses

Cloudflare’s approach extends the model used by Markdown for Agents, which can convert HTML pages to Markdown in real time for zones where the feature is enabled. Search for Agents similarly uses Cloudflare’s network to connect a site’s existing content to an automatically created AI Search index.

To help agents locate the search service, Cloudflare adds metadata to HTML responses. The metadata provides instructions to use the site’s search API, identifies its endpoint and HTTP method, and links to documentation. For a site using Markdown for Agents, equivalent information can be included in YAML front matter when an agent requests a page with the Accept: text/markdown header.

The endpoint follows a /.well-known/search path on the site’s domain. Agents can submit a keyword query using GET, or use natural-language wording when the AI Search configuration supports it. Search responses return retrieved material in Markdown, along with results and relevance scores; Cloudflare says the endpoint does not generate an answer. The agent’s own model can use the retrieved material to respond to the user.

Cloudflare demonstrated the process with its developer documentation and an OpenCode session. In the example, an agent found the endpoint from the site’s homepage and queried it for the maximum push size for Cloudflare Artifacts. The company says it has observed agents discovering and reusing the endpoint during tasks on its documentation site.

QUERY method offers another way to send searches

Search for Agents also supports the HTTP QUERY method, which lets a client send search criteria in a request body while keeping the request safe and idempotent. Cloudflare describes QUERY as a fit for search requests and says the service accepts either plain-text or JSON bodies. GET remains available for queries passed in the URL.

The method is an IETF Proposed Standard published in June 2026 as RFC 10008. Cloudflare notes that its coauthor James Snell works at the company, and says browser vendors are discussing the RFC while clients and frameworks, including curl and undici, have adopted or are considering adoption.

Existing AI Search options remain available

Because Search for Agents creates an AI Search instance in the customer’s account, the instance retains AI Search configuration options. Customers can enable reranking or change settings such as caching. Cloudflare also says the underlying service can provide public REST API or MCP endpoints, be used from Workers, or be embedded on a site for human visitors.

Search access remains subject to each domain’s existing controls, including bot-management settings, AI Crawl Control and web application firewall configurations. That means enabling an endpoint does not remove those site-level policies. Cloudflare points site owners to its Agent Readiness guidance for broader decisions about authentication, the content agents may access, response formats and payment arrangements.

The feature shifts several setup steps into Cloudflare’s platform: creating the index, beginning the crawl, publishing an endpoint on the site’s domain and advertising how agents can use it. For organizations evaluating agent access to their web content, the practical change is a managed route to search existing indexed material, with configuration and access still governed by AI Search settings, plan limits and domain controls.