Cloudflare Search for Agents lets site owners expose a discoverable search API to AI agents
AI builders can now enable an automatic, domain-hosted search endpoint for their websites without building custom retrieval infrastructure.
- Availability
- All Cloudflare customers, including Free plan with limits
- Activation
- API or zone dashboard under Quick Actions
- Discovery
- HTML head metadata or YAML front matter with Accept: text/markdown
- Query endpoint
- /.well-known/search via GET; returns Markdown results
- Access controls
- Follows bot management, AI Crawl Control, and WAF settings
Once enabled, Cloudflare advertises the /.well-known/search endpoint in HTML head metadata, or in YAML front matter when Markdown for Agents is active. Agents can send keyword or natural-language GET requests to receive Markdown results, while site owners can adjust default settings such as reranking and caching.
Developer Tools
Site owners can activate the feature via the API or under Quick Actions on their zone page, then manage the created instance from that page or under AI > AI Search instances. While agents can query the /.well-known/search endpoint with keywords, natural-language questions are supported depending on the site's AI Search configuration. When Markdown for Agents is also enabled, agents requesting a page with the Accept: text/markdown header receive the endpoint details in YAML front matter.