Back Home

AI 基礎設施

Cloudflare Opens Agent Search for Websites, Letting Owners Control Indexing Scope

The Search for Agents beta combines website indexing and a search endpoint in the dashboard. It is available on all plans, but site owners still decide what to make public, how to limit crawling, and whether to use the service as usage-based billing begins.

0036947a · CC BY-SA 4.0 · Image source
zh-Hant

Site maintainers who use Cloudflare to manage documentation or product websites can now enable search in the dashboard, allowing AI agents to look up relevant content on their domains. Launched on November 25, Search for Agents automatically creates an AI Search index and provides a /.well-known/search endpoint, saving site owners the work of wiring up an endpoint themselves. The feature is currently in beta and available on all plans. Official announcement

Agents retrieve content and answer with their own models

AI Search could already crawl websites and create indexes, but site owners still had to manually create and configure a service, connect search to their domain, and tell agents how to use it. This update brings those steps together in a toggle under Quick Actions on the domain’s Overview page. After enabling it, site owners still need to wait for crawling and indexing to finish. Official introduction, setup guide

Cloudflare adds metadata for the search endpoint to HTML pages, giving agents a way to discover the service automatically. This provides a discovery mechanism; it does not mean that all AI tools will recognize or use it. Endpoint documentation

Agents can submit keyword or natural-language queries using the GET q parameter or the HTTP QUERY method. The response contains relevant content in Markdown, with source references and relevance scores, which the agent’s own model can then use to compose an answer. Markdown for Agents converts an individual webpage; this feature can find relevant content across a website index. Query and response format

Indexing scope and request access are controlled separately

By default, the Discover crawling method finds content by following the sitemap and links between pages, and it can start even if a site has no sitemap. However, it stops at the configured depth or page limit, so it may miss pages deeper in the site. It also recrawls based on the cache duration and does not use the sitemap’s lastmod update-time field. Crawling behavior documentation

Site owners can limit indexing with path rules—for example, including only the documentation section or excluding pages they do not want searchable. Exclusion rules take precedence, and matching is case-sensitive. The Jobs logs show which items were skipped by rules. Discover also does not index pages disallowed by robots.txt. Path filtering, crawler restrictions

Requests to the search endpoint remain subject to AI Crawl Control and web application firewall (WAF) settings. Cloudflare says to index only content intended to be publicly searchable. Site owners should therefore confirm what will be exposed before enabling the feature; creating an index does not configure content permissions. Activation considerations

Available on all plans, with usage costs and indexing delays

As of November 26, Cloudflare’s pricing page states that AI Search billing will begin on December 1, 2026. Each account includes 5 million content-ingestion tokens (a unit of text usage), 10 GB-month of storage, and 1,000 each of semantic and full-text queries per month. Beyond those allowances, basic ingestion costs $0.75 per million tokens, storage costs $2 per GB-month, and hybrid search costs $0.75 per 1,000 queries. Search for Agents uses hybrid search by default, combining vector and keyword retrieval. Pricing documentation, default settings

Workers Free also limits crawling to 500 pages per day. For larger websites, enabling the endpoint does not make the entire site searchable immediately. Owners should first choose which content to include, then expand the scope based on indexing progress. This article was checked against Cloudflare’s announcements and documentation; the endpoint, search quality, and agent adoption were not independently tested. Plan limits

Sources

  1. Introducing Search for Agents · Changelog
  2. Introducing Search for Agents | Cloudflare Blog
  3. Search for Agents · Cloudflare AI Search docs
  4. Limits & pricing · Cloudflare AI Search docs
  5. Path filtering · Cloudflare AI Search docs
  6. Parse types · Cloudflare AI Search docs