Cloudflare has quietly shipped a beta feature that fundamentally changes how AI agents interact with the web. Launched on November 25, 2026, "Search for Agents" creates an AI Search instance for your zone, crawls public pages, and exposes a standardized search endpoint at https:///.well-known/search. This isn't about generating answers; it's about providing raw, ranked Markdown chunks directly to the agent's context window, assuming the agent already has the intelligence to synthesize the data.

How the Endpoint Works

The feature is designed for discovery. When enabled, Cloudflare injects specific meta tags into the of every page, including agent:endpoint and agent:instructions, allowing compliant agents to find and use the API without human intervention. Agents can query the endpoint using a standard GET request with a ?q= parameter or the newer HTTP QUERY method (RFC 10008). The response is a Markdown document containing source paths, relevance scores, and the actual text chunks, not a hallucinated summary.

Configuration and Costs

Enabling the feature is a one-click toggle in the Cloudflare Dashboard under "Quick Actions," available on all plans including Workers Free. However, usage is billed according to AI Search pricing, which went into effect on December 1, 2026. The default configuration includes a 24-hour sync cycle, hybrid search (vector plus keyword), and 1,024-token chunks with 10% overlap. While the toggle is free, heavy usage can quickly exceed the included monthly quotas of 1,000 semantic and full-text queries, making cost monitoring essential for high-traffic documentation sites.

Testing with Apidog CLI

The source article highlights a critical gap: verifying that the agent actually retrieves the correct pages. The author demonstrates using Apidog CLI to build regression suites where coding agents (like Claude Code or Codex) generate test cases based on question-path pairs. By asserting that specific pages appear in the response for given queries, developers can ensure their content remains discoverable. The example run against Cloudflare's own docs showed 28 assertions passing with zero failures, proving the endpoint's reliability for structured retrieval.

Key Takeaways

  • No Answer Generation: The API returns raw Markdown chunks and paths, not synthesized answers, leaving reasoning to the agent's LLM.
  • Standardized Discovery: Uses /.well-known/search and meta tags to allow agents to self-discover the API.
  • Cost Implications: While the switch is free, API usage is billed via AI Search pricing starting Dec 1, 2026.
  • Beta Status: The feature is in beta, with defaults like 10-result limits and hybrid search modes that can be tweaked in the instance settings.

The Bottom Line

This is the infrastructure layer AI agents have been waiting for. By moving from scraping HTML to querying a structured, indexed API, Cloudflare is effectively turning websites into databases for LLMs. If you run documentation or a knowledge base, enabling this is a no-brainer, but keep an eye on those query quotas.