Cloudflare just dropped Search for Agents, a beta feature that turns any domain into a searchable knowledge base for AI agents. Launched on November 25, 2026, the feature indexes your site and serves a search API at https:///.well-known/search. Unlike RAG pipelines that hallucinate answers, this endpoint returns retrieved Markdown fragments with source paths, letting the agent's own model handle the synthesis. You activate it via a single toggle in the Cloudflare dashboard's Quick Actions, available on all plans.

The Mechanism: Discovery and Retrieval

The magic lies in auto-discovery. Cloudflare injects four meta tags into every page's , advertising the endpoint URL, the GET method, and documentation links. Agents can query using GET ?q= or the newer HTTP QUERY method (RFC 10008). The response is raw text/markdown containing ranked snippets. For example, querying the Cloudflare docs for 'How do I verify webhook signatures?' returns JWT validation and webhook authentication guides with relevance scores. It’s pure retrieval—no generation layer, no token waste on summarization.

Configuration and Cost Implications

Under the hood, it spins up an AI Search instance named search-for-agents-. Defaults include hybrid search (vector + keyword), 1024-token snippets, and a 24-hour sync interval. While the toggle is free, usage bills against AI Search pricing starting December 1, 2026. The included quota is tight: 1,000 semantic and 1,000 full-text queries per month. High-traffic documentation sites will burn through this fast, so monitor your limits. Also, beware: AI Crawl Control and WAF rules can block agents if misconfigured.

Testing with Apidog CLI

Verification is critical because scores are relative and meaningless queries can return 200s. The source recommends building a regression suite with Apidog CLI. You create test cases asserting that specific questions return expected file paths. For instance, asking 'how to rotate an API key' must return the authentication doc path. Running this via CI ensures that index drift or configuration changes don’t silently break agent access. The source details using QUERY method tests to validate body-based requests, ensuring robust coverage beyond simple GETs.

Key Takeaways

  • Search for Agents returns raw Markdown snippets, not generated answers, preserving token budget for the agent's own LLM.
  • The endpoint is discoverable via meta tags injected into every page, supporting both GET and HTTP QUERY methods.
  • Billing starts Dec 1, 2026, with a low free tier (1,000 queries/month), making it risky for high-traffic sites without monitoring.
  • Testing must verify specific file paths, not just status codes, as scores are relative and can be misleading.

The Bottom Line

Search for Agents is a pragmatic win for reducing token bloat, but the tight query quotas and potential for WAF self-sabotage mean you must treat it like production infrastructure, not a set-and-forget toggle.