Cloudflare 推出 Search for Agents:一键为 AI 智能体提供站点搜索
Cloudflare 推出 Search for Agents,将 AI Search 实例的配置简化为控制面板中的一个开关。为某个 zone 启用后,Cloudflare 会自动创建 AI Search 实例、开始抓取并索引站点内容,并在站点自有域名下的 /.well-known/search 路径暴露搜索 API。
为了让智能体能够发现该端点,Cloudflare 会自动在每个页面通过 meta 标签(agent:instructions、agent:endpoint、agent:method、agent:documentation)进行宣告,若启用了 Markdown for Agents,还会在 YAML front matter 中提供同样信息。智能体可以使用关键词或自然语言查询,返回的是 Markdown 格式的检索内容而非生成的答案,因为智能体自身已有模型。该服务还原生支持新的 HTTP QUERY 方法(RFC 10008,2026 年 6 月发布),支持纯文本或 JSON 请求体。
Search for Agents 面向所有客户开放,包括有限制的 Free 计划,用量按 AI Search 定价计费,涵盖内容摄取、索引存储和查询服务。由于它本质上是一个标准 AI Search 实例,站点所有者可以启用重排序、公开 REST 或 MCP 端点、Workers 集成,或为人类访客嵌入搜索。Cloudflare 已在其开发者文档站启用该功能,并报告 OpenCode 等智能体在任务中能够发现并复用该 API;访问仍受域名的机器人管理、AI Crawl Control 和 WAF 设置约束。
Cloudflare Introduces Search for Agents: One-Toggle Site Search for AI Agents
Cloudflare has launched Search for Agents, a feature that puts the setup of an AI Search instance behind a single toggle in the Cloudflare dashboard. When enabled for a zone, Cloudflare automatically creates the AI Search instance, starts crawling and indexing the site's content, and exposes a search API under the site's own domain at /.well-known/search.
To make the endpoint discoverable, Cloudflare automatically advertises it on every page via meta tags (agent:instructions, agent:endpoint, agent:method, agent:documentation), and via YAML front matter when Markdown for Agents is enabled. Agents can query with keywords or natural language and receive retrieved content in Markdown rather than a generated answer, since the agent already has its own model. The service also natively supports the new HTTP QUERY method (RFC 10008, published June 2026) with plain text or JSON request bodies.
Search for Agents is available to all customers, including Free plans with limits, and usage follows AI Search pricing covering ingestion, storage, and queries. Because it is a standard AI Search instance, owners can enable reranking, public REST or MCP endpoints, Workers integration, or embed search for human visitors. Cloudflare has enabled it on its developer documentation and reports that agents such as OpenCode discover and reuse the API during tasks; access remains subject to the domain's bot management, AI Crawl Control, and WAF settings.
猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。