Menu
Cloudflare Blog·November 25, 2026

Automated AI Search Integration for Agents via Cloudflare's Network

Cloudflare introduces "Search for Agents," a new feature simplifying the integration of AI Search into websites. It automatically creates and configures an AI Search instance for a given zone, exposing a discoverable search API directly from the domain. This allows AI agents to efficiently query website content using keywords or natural language, leveraging Cloudflare's network for automated setup and discoverability.

Read original on Cloudflare Blog

Cloudflare's "Search for Agents" streamlines the process of integrating AI-powered search capabilities into any website managed through their network. This service eliminates the manual effort traditionally required to set up, configure, and integrate a search infrastructure, making it significantly easier for AI agents to interact with and retrieve information from web content.

Automated Setup and Discovery

The core architectural decision behind Search for Agents is to provide a fully automated, network-level solution. By simply toggling a setting in the Cloudflare dashboard, the system automatically provisions an AI Search instance, initiates content crawling and indexing, and exposes a discoverable search API under the website's own domain. This approach leverages Cloudflare's existing infrastructure to manage the complexities of search deployment and content synchronization.

💡

Network-level Integration

This feature highlights a trend towards pushing application-layer functionalities (like search APIs) closer to the network edge, simplifying integration for end-users and agents while offloading infrastructure management.

Agent Discoverability Mechanism

A key challenge for any agent-based system is discoverability. Search for Agents addresses this by automatically injecting metadata into the HTML header of every page (or YAML front matter for Markdown responses). This metadata includes instructions, the search endpoint URL, and the supported HTTP method, enabling agents to easily identify and utilize the site's search capabilities without prior knowledge or manual configuration.

html
<meta name="agent:instructions" content="Use this search API to find relevant content across this site...">
<meta name="agent:endpoint" content="https://developers.cloudflare.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">

Leveraging the HTTP QUERY Method

The service supports both traditional GET requests and the newer HTTP `QUERY` method (RFC 10008). The `QUERY` method is significant for system design as it allows clients to send complex search criteria in a request body safely and idempotently, without modifying server state. This makes it particularly well-suited for advanced AI search scenarios where query parameters might be extensive or structured.

This feature showcases how a managed service can abstract away complex infrastructure, offering a simplified interface for developers and agents to interact with content. It emphasizes the importance of discoverability and standardized API interactions in the evolving landscape of AI-driven web services.

CloudflareAI SearchAgentAPINetwork EdgeContent IndexingDiscoverabilityHTTP QUERY

Comments

Loading comments...