FOR THE BUILDERS, THE MAKERS & THE SMALL TEAMS WITH BIG IDEAS ✳
AI Infrastructure · News Analysis

Cloudflare Search for Agents: Evaluate Retrieval Before Relying on Agent Discovery

Cloudflare introduced Search for Agents on November 25, 2026, giving website owners a way to create a searchable index and advertise its endpoint to visiting agents. For a small team maintaining developer documentation, the practical opportunity is easier access to relevant source material. Start by checking whether the index retrieves the right passages, then whether your chosen agent discovers and uses it.

ai-infrastructure: Official update → Team impact → Adoption decision. Editorial workflow illustration.
Source-based news analysis of Cloudflare’s November 25, 2026 announcement and official documentation accessed November 27, 2026. No instance was created, endpoint queried, or agent workflow tested. Evaluation steps are editorial proposals; vendor demonstrations are not independent results. Documentation may change.

1. The release connects indexing with discovery

Cloudflare’s announcement describes a dashboard toggle that creates an AI Search instance, starts indexing a website, and exposes search on its own domain. The product documentation identifies Search for Agents as a beta and requires the domain to be onboarded to the owner’s Cloudflare account.

The useful change is the connection between those pieces. A website index alone does not tell a visiting agent where to search. Cloudflare adds discovery metadata to pages and provides a predictable endpoint at /.well-known/search. That gives an agent a route from encountering a page to searching the broader site.

This article evaluates the documented design. We have not created an instance, queried the endpoint, or measured agent behavior. Cloudflare’s examples establish what the vendor reports; the pilot below is our proposed evaluation.

2. Retrieved Markdown leaves the answer to the agent

The endpoint returns retrieved content in Markdown, including source references and relevance scores. It does not generate an answer. The visiting agent uses the returned material within its existing conversation and model context. This distinction matters when assessing a failure: an incorrect response could reflect missing source material, poor retrieval, or the agent’s interpretation.

The documentation supports keyword and natural-language searches through a GET request with a q parameter. It also documents HTTP QUERY requests with plain-text or JSON bodies. A first evaluation can use the documented GET interface without making another request method part of the pilot.

For a documentation team, inspect the retrieved passages before judging the final response. A plausible answer can conceal a missing version constraint or an incomplete example. Our guide to designing a reliable AI workflow provides a useful framework for defining acceptable outputs at each step.

3. Automatic indexing still needs a coverage check

Search for Agents explicitly selects Discover crawling, which finds pages through sitemaps and links. Its documented defaults include five link hops from the source URL, subdomain inclusion turned off, and a 24-hour sync interval. These are configuration defaults, not a guarantee that every relevant documentation page appears immediately.

That distinction is especially relevant when a product homepage and documentation live on different subdomains. Before evaluating answer quality, inspect which pages actually reached the index. Cloudflare’s website data-source documentation says indexed items are visible in the instance’s Items tab. It also explains that pages are converted to Markdown and split into chunks.

Our proposal is to choose a small set of essential pages: a quickstart, an API reference, a troubleshooting page, and documentation for an older version. Confirm their presence and inspect whether the relevant examples survive conversion. This separates missing coverage from weak ranking before either problem gets blamed on the agent.

4. Freshness has more than one moving part

The documented defaults include a 24-hour crawl cache age, alongside the 24-hour sync interval. Retrieval also has a similarity cache enabled with a 48-hour duration. These settings describe separate stages; they should not be added together and presented as a guaranteed delay.

For frequently changing documentation, evaluate freshness explicitly. As a proposed check, update a harmless factual example on a pilot page, record when the published page changes, and observe when retrieval begins returning the revision. Repeat a previously used question as well as a new wording. We have not performed this experiment or established propagation timing.

Retrieval defaults also include hybrid vector and keyword search, a maximum of 10 chunks, and reranking turned off. Treat those as a starting configuration. If results omit a necessary caveat, compare the source page with the returned chunks before changing settings. A relevance score alone does not establish completeness.

5. Discoverability needs its own agent trial

Cloudflare documents discovery metadata in the HTML head. When Markdown for Agents is also enabled, equivalent information appears in YAML front matter for Markdown responses. That advertises the endpoint, but it does not independently establish that every agent will read the metadata or choose to use search.

The announcement shows an OpenCode session discovering and querying Cloudflare’s documentation endpoint. Cloudflare also reports that agents have used it during tasks. Those are vendor observations, without an independent success rate established here.

Our proposed trial should separate two cases. First, give the agent the endpoint directly and assess retrieval. Then start a fresh task with only the documentation homepage and inspect whether the agent discovers search itself. Record discovery, query choice, retrieved evidence, and final answer separately. The task-based approach in our agent evaluation analysis can help structure that review.

6. Adopt when the evidence improves documentation access

A reasonable pilot uses questions your documentation should already answer: an exact option name, a conceptual question, a version-specific behavior, and a question the site cannot answer. Define the expected supporting passage beforehand. For the unanswered question, assess whether the agent acknowledges the gap instead of inventing a response.

Consider broader adoption when important pages are indexed, retrieval preserves necessary context, and the agents your users actually employ can make use of the endpoint. Keep direct page navigation available while evaluating the beta. If discovery is inconsistent, that is a different finding from an index that retrieves irrelevant material.

For small teams, the decision should rest on observable access to documentation. Cloudflare has packaged crawling, retrieval, and endpoint discovery together; whether that produces a dependable documentation workflow remains something each team should verify with representative questions and inspectable evidence.

Sources & further reading

Primary references used for product and technical information. Features and terms can change; check the provider before committing.

No affiliate links are included in this article. Read our disclosure.