Cloudflare Search for Agents: Audit Adoption Before Launch

Cloudflare Search for Agents: Audit Adoption Before Launch
Search for Agents can expose a site's indexed content through /.well-known/search, but the endpoint's presence does not establish that a target client will use it. A responsible launch starts with a limited public corpus and expands only after client adoption, index scope, retrieval quality, freshness, security, and cost have passed site-defined gates.
Quick Answer
Treat Search for Agents as a new public retrieval surface, then run a limited pilot. The feature publishes discovery fields, builds a website index, and returns sourced Markdown retrieval content through GET or HTTP QUERY. The cited sources do not independently establish adoption by mainstream AI products or any increase in citations, rankings, referrals, or conversions. Expand only when owned logs show a named target client using a tested method and media type, excluded content stays out, a frozen query set meets predeclared quality thresholds, a version canary meets the site's freshness target, both access paths are controlled, and measured usage fits the budget. Cloudflare currently documents separate 24-hour crawl-cache and sync defaults, a 48-hour similarity-cache default, and an AI Search billing start of December 1, 2026.[3][5]
What does Search for Agents expose?
The feature connects discovery metadata to a site-specific retrieval endpoint backed by a website index. When a site owner enables the beta, the current guide says the service creates search-for-agents-<ZONE_ID> in the default namespace and uses https://<YOUR_DOMAIN> as its website data source. Cloudflare's announcement shows four discovery declarations, agent:instructions, agent:endpoint, agent:method, and agent:documentation, in HTML metadata and, when Markdown for Agents is enabled, YAML front matter.[1][3]
The website crawler discovers allowed pages, fetches them, converts them to Markdown, splits them into chunks, and indexes them. New instances use hybrid retrieval: vector and keyword searches run in parallel, keyword scoring uses BM25, and Reciprocal Rank Fusion combines ranks.[4][12] The public endpoint accepts GET with q and HTTP QUERY with either a plain-text body or JSON containing q. It returns Markdown retrieval content with sources and relevance scores. It does not generate an answer; public REST and MCP endpoints are separate capabilities.[2]
What are the current new-instance defaults?
The following values are configurable defaults documented for new Search for Agents instances, read on November 27, 2026 UTC. They do not describe every existing instance or the configuration behind Cloudflare's public documentation endpoint.
| Setting | Current documented default | Audit consequence |
|---|---|---|
| Discovery | Discover, using sitemaps and links | Audit both sitemap coverage and the internal link graph |
| Crawl page limit | 100,000 pages, subject to instance limits | Confirm the crawl completed before treating missing pages as exclusions |
| Crawl depth | 5 link hops | Test important deep pages directly |
| Crawl cache age | 24 hours | Measure when the origin is fetched after a change |
| Include subdomains | Off | Inventory each required subdomain explicitly |
| Sync interval | 24 hours | A completed job is an intermediate event; endpoint evidence remains necessary |
| Search mode | Hybrid vector and keyword | Judge exact identifiers as well as semantic questions |
| Embedding and chunks | @cf/qwen/qwen3-embedding-0.6b; 1,024 tokens; 10% overlap | Include overlap in ingestion estimates |
| Fusion and result controls | RRF; maximum 10 chunks; 0.4 match threshold | Score the returned set against frozen evidence judgments |
| Query rewrite and reranking | Off; off | Record any later configuration change before comparing runs |
| Similarity cache | On; Strong (close_enough); 48 hours | Test exact and semantically similar canary queries separately |
What did the official live endpoint return during this audit?
Both supported request shapes worked in one point-in-time check, and that observation proves only reachability for those requests. The test sent exactly one sequential GET and one file-backed JSON QUERY to Cloudflare's own public endpoint. There was no retry, scan, concurrency, or third-party target.[6]
| Method | UTC interval | Status and media type | Body | First scored result |
|---|---|---|---|---|
| GET | 2026-11-27T10:23:27.3023701Z–10:23:28.3377647Z | 200; text/markdown; charset=utf-8 | 55,534 bytes; Accept-Query: text/plain, application/json | docs/ai-search/how-to/search-for-agents/index.default-settings.md; section Default settings; score 1.000 |
| QUERY with JSON file | 2026-11-27T10:23:28.3696053Z–10:23:29.3805849Z | 200; text/markdown; charset=utf-8 | 64,185 bytes; Accept-Query: text/plain, application/json | docs/ai-search/how-to/search-for-agents/index.retrieval-and-cache.md; section Retrieval and cache; score 1.000 |
Body size, rank, score, and first result can change. A 200 response does not show that a target client discovered the endpoint, consumed its Markdown, used the evidence, or cited a source.
Which parts are standards and which are product conventions?
RFC 10008 defines the HTTP QUERY method, while the search path and payload shape remain product choices. The RFC defines QUERY as safe and idempotent, makes the request body and Content-Type part of the query definition, and specifies Accept-Query for advertising accepted query media types.[8] The RFC does not define /.well-known/search, JSON member q, agent:*, or a Markdown result layout.
The IANA Well-Known URIs registry, last updated October 26, 2026 in the page read for this audit, did not list a search suffix.[13] The accurate description at this time is a Cloudflare product endpoint at a well-known path. Registration status can change, so check the registry again before a later publication.
What should you prepare before enabling it?
Prepare the evidence system before creating the public retrieval surface. A pilot without frozen inputs can produce a collection of screenshots and status codes that cannot support a launch decision.
- An asset inventory: list approved docs, help pages, and published articles; separately list drafts, previews, account pages, duplicate views, high-cardinality parameters, private content, and public pages that should remain outside bulk retrieval.
- A named target-client matrix: record the exact product surface, version, calling path, test UTC, owned test host, and available server logs. Do not substitute a generic list of popular assistants.
- A frozen 30-query set: store the query text, intended answer, canonical evidence URLs, evidence passage or hash, acceptable equivalents, stale evidence, and expected source count.
- A public version canary: choose a harmless fact that can change from version A to version B and can be located in Items, GET results, and QUERY results.
- Two-direction access telemetry: retain crawler-to-origin logs and target-client-to-endpoint logs, with request or trace IDs where available.
- Predeclared gates: set site-specific thresholds for relevance, source coverage, stale and duplicate results, end-to-end freshness, security exposure, rate behavior, and monthly budget before viewing test outcomes.
These are site-owned audit fields. They are neither dashboard fields nor an API schema supplied by the vendor.
Step 1: What should enter the index?
Start with the smallest coherent public corpus and prove every exclusion. Include only content that is both publicly accessible and intentionally available through bulk retrieval. A practical first scope is a bounded documentation or help directory whose owners can judge each returned passage.
Build an asset boundary with explicit outcomes:
| Asset class | Pilot action | Evidence required before launch |
|---|---|---|
| Canonical public docs and help pages | Include selected directories | Expected pages appear in Items and relevant query results |
| Draft, preview, account, and authenticated paths | Exclude | No item, source, or matching passage appears |
| Duplicate, print, tag, locale, and parameter variants | Narrow or exclude | Canonical source diversity is preserved and duplicates stay below the site's threshold |
| Public pages unsuitable for bulk retrieval | Exclude by full-URL pattern | Direct searches and synthetic canaries return no exposed passage |
| Subdomains | Keep off unless separately approved | Every enabled host has its own owner and boundary test |
Path filters match the full URL, including scheme, hostname, and subdomain. Discover uses sitemaps and links by default, stops at configured depth and page limits, ignores sitemap lastmod and changefreq, and can retain previously indexed pages when a crawl is incomplete or stops at its limit.[9] An exclusion rule's presence therefore cannot serve as deletion proof.
After the first completed crawl, inspect Items and run direct queries for every excluded category. Use a synthetic secret or synthetic PII marker that has no real-world value to verify the negative boundary. Remove any exposed test marker after the audit. The scope gate passes only when approved pages are findable and excluded material is absent from both the index view and returned chunks.
Step 2: Will target clients discover and use the endpoint?
Adoption requires a server-side observation from each named target client. Discovery metadata, a manual curl result, and a correct final answer are useful diagnostics, but none of them alone shows that the client called the endpoint.
Use observed, not observed in this test, and not testable as the only status values. The second status describes one test; it does not establish permanent incompatibility.
| Evidence event | What it establishes | Adoption-gate value |
|---|---|---|
HTML request followed by parsing of all four agent:* declarations | The tested path can read the product discovery convention | Necessary discovery evidence for that path |
| Markdown request followed by parsing of YAML front matter | The tested path can read the alternate discovery representation | Necessary only if that path relies on Markdown discovery |
Owned log shows /.well-known/search with GET or QUERY | The named client called the endpoint in this test | Core adoption evidence |
| Response body was consumed and source/score fields were retained or used | The tested method and media type worked beyond transport | Compatibility evidence |
| Final response uses evidence traceable to the returned source | The retrieval affected the observed task | Outcome evidence for that query |
| Client bypasses the endpoint and requests pages individually | A page-fetch fallback remains active | Record as a distinct page-fetch behavior; endpoint adoption remains unobserved |
For each row in the target-client worksheet, capture the product surface and version, test UTC, owned host, discovery representation, method, request media type, response media type, source handling, fallback behavior, final evidence use, and the log or trace ID. If the client list is empty or the endpoint call is absent from owned logs, the expansion gate remains open.
Use reproducible request forms when isolating transport behavior. These examples access only the official public endpoint:
curl.exe --request GET --get `
"https://developers.cloudflare.com/.well-known/search" `
--data-urlencode "q=Cloudflare Search for Agents default settings"
[IO.File]::WriteAllText(
"query.json",
'{"q":"What is the default crawl cache age for Search for Agents?"}',
[Text.UTF8Encoding]::new($false)
)
curl.exe --request QUERY `
"https://developers.cloudflare.com/.well-known/search" `
--header "Content-Type: application/json" `
--data-binary "@query.json"
A QUERY 400 should first trigger a check of the file bytes, JSON validity, Content-Type, and transmitted body. Inline shell quoting can create a malformed request that looks like a service failure.
Step 3: How should Markdown compatibility be tested?
Test the exact discovery, method, request type, and response media-type combination used by each target client. A Markdown response from the endpoint demonstrates the server's format; it does not demonstrate universal client support.
The independent warning comes from Fetch, Read, Reuse, arXiv:2611.30546v1, a non-peer-reviewed preprint.[7] Controlled runs started between September 15 and November 10, 2026. The authors served one byte-identical 2 KB body under five Content-Type values from two controlled origins: probe.attentionhub.org behind Cloudflare with cache bypass, and agentfetchlab.com served directly by Caddy on a public IP without a CDN intermediary. In the tested OpenAI gpt-5-mini path called through OpenRouter, with origin logs showing OpenAI's fetcher, text/html and text/plain were read while text/markdown, application/xml, and text/csv produced an unsupported-content-type result. The tested Anthropic claude-sonnet-5 API path and xAI grok-4.3/OpenRouter path read all five. Every fetcher downloaded the files, and both origins produced the same result.
That result is a compatibility warning for one measured path. It does not establish the behavior of every OpenAI product, ChatGPT, or every agent. The paper did not test Search for Agents discovery or adoption. Its approximately $400 cost limited the parameter space; it used two new controlled domains; public checks lacked origin logs and extracted-text visibility; internal chunking, storage, and deduplication were invisible; behavior changed during the study; and images, video, ads, many vendors, and the frequency of reuse remained outside its measured scope.
For each target client, run at least these combinations on an owned test host:
- HTML discovery metadata → GET →
text/markdownresponse. - Markdown YAML discovery → GET →
text/markdownresponse, if the client requests Markdown pages. - Direct QUERY with
text/plain→text/markdownresponse. - Direct QUERY with
application/jsonand a file-backedqbody →text/markdownresponse. - Endpoint unavailable or rejected → observe whether the client continues with authorized page-by-page fetching.
The compatibility gate passes for a client only when its required combination is present in logs and the returned evidence is consumed correctly. Preserve page fetching as a fallback when endpoint use is absent or the response media type is rejected.
Step 4: How should retrieval quality be measured?
Freeze the judgments first, then compare endpoint retrieval with the existing page-fetch path on the same authorized corpus. This article uses 30 queries, within the requested 20–50 range, to make review manageable without reducing coverage to a few demos.
| Query category | Count | Primary judgment |
|---|---|---|
| Exact page or fact location | 6 | Known canonical evidence enters the returned top 10 |
| Natural-language how or why | 6 | The authoritative explanation is recalled with enough context |
| Multi-source synthesis | 6 | Two or three expected sources appear with useful source diversity |
| Identifier, version, or error code | 4 | Exact tokens benefit from keyword retrieval |
| Ambiguity and near-duplicate pages | 4 | Wrong source, parameter variants, and duplicate chunks are controlled |
| Freshness and negative controls | 4 | Current canary evidence replaces stale text and irrelevant questions stay low-confidence or empty |
Each judgment should contain query_id, query text, intent, gold canonical URLs, a gold evidence passage or hash, accepted equivalents, explicit stale or wrong evidence, expected source count, and applicable version. For each result, record rank, canonical source, score, chunk hash, relevance, staleness, duplication, wrong-source status, and missing evidence.
Calculate and report:
- Recall@10: the share of registered gold evidence units present in the first 10 returned chunks.
- Precision@5: the share of relevant chunks among the first five results, or among all returned chunks when fewer than five exist.
- Top-k source diversity: unique relevant canonical sources compared with the query's registered expectation.
- Stale rate and duplicate rate: stale or duplicate chunks divided by assessed returned chunks.
- Wrong-source and missing-evidence counts: keep these explicit failure counts separate from any blended score.
- Path difference: endpoint-arm result minus the page-fetch baseline under the same corpus snapshot and test window.
Do not invent a universal passing score. Site owners should register thresholds before the run according to the consequences of missing or stale evidence. If a client cannot be forced into two isolated paths, report only the observable path and its limitations. The quality gate remains open when judgments, thresholds, or critical-query labels were created after seeing results.
Step 5: How should end-to-end freshness be tested?
Use one public version canary and measure every layer from origin publication to exact and similar query results. Three documented defaults can affect freshness, but they govern different mechanisms and cannot be added into a fixed worst-case delay.
| Layer | Current default | What it governs | Required canary observation |
|---|---|---|---|
| Discover crawl cache | 24 hours | How old cached page content may be before the crawler refetches the origin | Record the first origin request or newly fetched content after version B |
| External-source sync | 24 hours | How often a scheduled indexing job starts | Record job start/end and when Items first shows B |
| Similarity query cache | 48 hours, Strong / close_enough | Reuse of responses for similar queries | Record exact GET, JSON QUERY, and several semantic variants until all return B and A disappears |
Cloudflare documents a default 24-hour sync schedule, configurable intervals from 15 minutes through 24 hours, and automatic pausing after 31 days without search traffic.[10] Its general similarity-cache documentation gives a 48-hour default and says cache entries are tied to document chunks, so a changed or deleted chunk can clear related entries.[11] No cited source supports treating 24 + 24 + 48 as an end-to-end SLA.
Change a harmless public fact from A to B and record these UTC events:
- Origin publishes B.
- Sync job starts and ends.
- Items first contains B.
- An exact GET first returns B.
- A JSON QUERY first returns B.
- All registered semantic variants return B.
- A disappears from the assessed result set.
A completed sync job proves only that the job completed. The freshness gate passes when exact and similar queries meet a target set before testing and old evidence disappears as expected. Report the measured distribution for the canary; do not turn one run into a permanent product guarantee.
Step 6: How should crawler and endpoint access be secured?
Audit two independent network directions and retain useful security controls on both. The first direction is Cloudflare-AI-Search crawler traffic to allowed origin paths. The second is target-client traffic to the public /.well-known/search endpoint. Bot Management, WAF, Turnstile, and AI Crawl Control can affect these paths, so a broad security bypass can hide the real launch condition.[4]
For an owned or explicitly authorized zone:
- Verify that the crawler reaches each allowed directory and that blocked pages produce explainable indexing errors.
- Verify that draft, preview, account, parameter-noise, and excluded public pages remain absent from Items and the frozen query set.
- Search for synthetic secret and PII canaries. Use no real credential or personal information.
- Apply endpoint-specific rate controls that preserve the intended target clients, then test normal requests and a small number of malformed requests without load generation.
- Confirm that endpoint 4xx, 429, 5xx, challenge actions, and unusual query volume are observable in logs.
- Confirm that crawler rules and endpoint rules are separate. A crawler exception should not become a general endpoint bypass.
- Repeat deletion checks after any path-filter, authentication-header, or source-scope change.
The security gate fails immediately when excluded or sensitive content appears. It also remains open when normal allowed content requires disabling broad protections, errors cannot be traced, or deletion has not been verified from both index and retrieval views.
Step 7: How should limits and cost be estimated?
Calculate cost from measured indexed content and query traffic, using the current pricing page as a dated input. Page count alone misses chunk overlap, storage, semantic query volume, full-text query volume, and separately billed capabilities.
Cloudflare's pricing page, last updated November 17 and read November 27, 2026 UTC, currently says AI Search billing begins December 1, 2026.[5] The page lists these monthly included amounts and overage rates per account:
| Meter | Included each month | Current overage rate |
|---|---|---|
| Base ingestion | Shared 5 million ingestion-token allowance | $0.75 per million tokens |
| Image processing | Shares the 5 million ingestion-token allowance | Additional $0.50 per million tokens |
| Storage | 10 GB-month | $2.00 per GB-month |
| Semantic, vector, and hybrid queries | 1,000 semantic queries | $0.75 per 1,000 queries |
| Full-text queries | 1,000 full-text queries | $0.10 per 1,000 queries |
The same page currently lists 100,000 pages per Discover crawl; Workers Free allows 500 crawled pages per day and 100,000 files per instance; the Paid daily-crawl row is unlimited, and a hybrid Paid instance allows 500,000 files. Several limits apply at once, so the binding limit controls actual capacity.
Before expanding, record indexed pages, final chunks, base-ingestion tokens, image-processing tokens, stored Markdown GB-month, semantic/vector/hybrid queries, full-text queries, plan, and any generation, query rewrite, file summary, or external-provider use. The 10% chunk overlap repeats text in neighboring chunks and therefore repeats ingestion tokens. Embedding and reranking Workers AI usage is currently included in AI Search usage; generation, query rewriting, file summaries, and external providers follow their applicable billing paths.
Estimate each meter from its current included amount and rate, then compare the total with a budget approved before the pilot. Reconcile the estimate with actual usage and billing records. Cache-hit billing behavior should be taken from current account evidence when it matters; this article makes no assumption about it. The cost gate passes only when measured or defensible forecast usage stays within both plan limits and the approved budget.
How do you decide whether to expand, limit, or disable it?
Choose one of three outcomes from the evidence, with expansion reserved for a fully passed gate set. A reachable endpoint or a successful demo cannot override an unresolved adoption, scope, quality, freshness, security, or cost finding.
| Decision | Required evidence | Operational action |
|---|---|---|
| Expand scope | At least one named target client is observed using the required method/media type; scope, 30-query quality, canary freshness, two-direction security, and budget gates all pass | Add the next reviewed directory, then rerun the complete audit |
| Keep a limited directory | Security boundary is controlled, while adoption, quality, freshness, or cost still has an unknown | Retain the approved docs/help corpus and continue collecting evidence |
| Disable | Sensitive or excluded content is exposed, required protections are unacceptable, budget cannot be brought within limits, or an owned test clearly misses a predeclared critical target | Turn off the surface, preserve evidence, remediate, and restart from a limited scope if justified |
A failed site audit supports a decision for that site and configuration. It does not establish that the product has no value elsewhere. Likewise, report missing adoption or citation evidence as an evidence gap and preserve the distinction from a no-effect claim.
How do you troubleshoot failures?
Return to the first missing piece of evidence, fix that layer, and rerun the failed path plus related regression queries. A new 200 response alone cannot close a retrieval or adoption failure.
| Symptom | Check first | Corrective action and retest |
|---|---|---|
| Manual GET is 200, target client never calls the endpoint | Discovery parsing and owned request logs | Verify HTML/YAML discovery for that exact client path; keep status not observed in this test; retest endpoint and page-fetch fallback |
| QUERY returns 400 | File bytes, valid JSON, Content-Type, transmitted body | Use UTF-8 no-BOM file input with --data-binary @file; rerun the same query |
| Crawler indexes only a small share | 5-hop depth, 100,000-page crawl limit, Free 500-page daily limit, subdomains off, robots/WAF, path filters | Narrow the approved corpus or adjust owned settings; wait for a complete crawl and recheck Items plus expected queries |
| Excluded page still appears | Full-URL pattern, crawl completion, retained old item, deletion state | Correct the pattern, complete the crawl or documented deletion flow, then query the exact old passage and related variants |
| Parameter pages or duplicate chunks dominate | Include/exclude scope and canonical-source judgments | Exclude noisy variants; rerun duplicate-rate and source-diversity judgments without assuming vendor canonicalization |
| Sync is complete, results still show A | Crawl cache, Items version, exact query, similar-query cache | Trace the canary through each layer; retest GET, JSON QUERY, and semantic variants |
| Endpoint receives challenges or 429s | Client path versus crawler path, WAF and rate logs | Adjust the narrow rule for the intended path; rerun normal and controlled error cases without a broad bypass |
| Cost exceeds estimate | Final chunks, 10% overlap, duplicate pages, query mix, additional features | Reduce corpus noise or query volume; update the dated worksheet and rerun the budget gate |
| Target client rejects Markdown | Exact client surface, GET/QUERY choice, request type, response Content-Type | Test all required combinations on an owned host; retain authorized page fetching when the endpoint path cannot be consumed |
Frequently Asked Questions
Is /.well-known/search an IANA-registered standard endpoint?
No. The IANA registry read for this audit was last updated October 26, 2026 and did not contain a search suffix. Describe this implementation as a Cloudflare product endpoint at a well-known path. RFC 10008 standardizes HTTP QUERY semantics; it does not standardize this search path or the agent:* declarations.[8][13]
Does an HTTP 200 response prove agent adoption?
No. A 200 proves that the tested request was processed at that time. Adoption requires an owned or authorized log showing that a named target client discovered and called the endpoint with a method and media type it could consume. The official live check in this article supplies transport evidence and carries no adoption evidence.
Does the endpoint generate answers?
No. The current product guide says /.well-known/search returns retrieved Markdown content with source references and relevance scores. The target client may use that content in its own model and conversation. Answer generation through other AI Search interfaces is a separate path.[3]
Will every agent accept a Markdown response?
No universal compatibility evidence is available. The cited v1 preprint observed rejection of text/markdown on one specific OpenAI gpt-5-mini/OpenRouter fetch path during its controlled 2026 study, while the tested Anthropic and xAI paths read it. That result requires target-client testing and cannot be generalized to every OpenAI product, ChatGPT, or every agent.[7]
How fresh are the results?
Freshness depends on several configurable layers. Current new-instance defaults include a 24-hour crawl cache, a 24-hour sync interval, and a 48-hour Strong similarity cache. These periods govern different mechanisms, related chunk changes can clear cached responses, and the values do not form an additive SLA. Measure a public version canary through Items, exact GET, JSON QUERY, and similar queries.
Is Search for Agents free?
Cloudflare currently documents the beta as available on all plans, while AI Search included usage, plan limits, and overage rates still apply. Its pricing page says billing begins December 1, 2026 and lists the dated included amounts and rates in Step 7. Recheck the page and the account's actual usage before launch.[2][5]
Bottom Line
Start with a limited Search for Agents directory, then expand only after evidence closes every gate. The mechanism can publish discovery declarations, crawl a bounded public corpus, run hybrid vector and BM25 retrieval, and return a small set of sourced Markdown chunks through GET or QUERY. Owned logs must still prove target-client adoption, because endpoint reachability does not do that. Test Markdown on the exact client path, retain the preprint's narrow model/origin/date boundary, measure the separate 24-hour crawl, 24-hour sync, and 48-hour similarity-cache layers with a canary, and budget against the current December 1, 2026 billing start and posted rates. Expand one reviewed directory at a time; keep the pilot limited or disable it when any boundary remains unacceptable.
References
- Introducing Search for Agents — Cloudflare Blog
- Introducing Search for Agents — Cloudflare Changelog
- Search for Agents — Cloudflare AI Search docs
- Website — Cloudflare AI Search docs
- Limits & pricing — Cloudflare AI Search docs
- Cloudflare Developers Search for Agents live endpoint (observed 2026-11-27 10:23:27–10:23:29 UTC)
- Fetch, Read, Reuse: How AI Search Agents Bend the Web's Rules (arXiv:2611.30546v1)
- RFC 10008: The HTTP QUERY Method
- Parse types — Cloudflare AI Search docs
- Syncing — Cloudflare AI Search docs
- Similarity cache — Cloudflare AI Search docs
- Hybrid search — Cloudflare AI Search docs
- Well-Known URIs — IANA