Cloudflare AI Search、エージェントのデータ検索を自動化
本文の状態
日本語全文を表示中
詳細モードで約12分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Cloudflare AI
Cloudflare は開発者体験を向上させるため、AI Search の新機能と予測可能な価格モデルを発表し、エージェントがデータ検索エンジンとして活用できる環境を整備した。
AI深層分析を開く2026年8月6日 22:28
AI深層分析
キーポイント
自動化による統合管理の簡素化
従来は複数のプリミティブ(Workers AI, Vectorize など)を組み合わせる必要があったが、AI Search がこれらを自動的に処理し、エージェントに専用検索エンジンを提供する。
予測可能な価格モデルの導入
デフォルトモデルを使用する場合、埋め込みと再ランク付けのコストを無料化することで、トークン数の予測不要なスケーラブルな課金体系を実現した。
サイト統合機能の拡張
サイトマップが必須だった従来の要件から解放され、「Discover」パースオプションにより、サイトマップなしでのウェブサイトソース追加が可能になった。
公開エンドポイントと独自ドメインの柔軟性
認証不要で複数インスタンスを検索できる公開 URL の提供に加え、カスタムドメインの適用や Cloudflare Access によるプライベート検索インスタンスの構築が可能になった。
複数インスタンストの統合検索
10個の別々のドメインにまたがるデータを一括で処理し、単一のクエリで全インスタンスを横断して検索できる。
重要な引用
Our goal is to give your agents their own search engine, where they can easily find data to provide better answers for themselves and their humans.
We modeled pricing in a way that makes it predictable and scalable: embedding and reranking are free when you use the default models
Now you can select the 'Discover' parsing option to add a website without a sitemap as a source.
Creating an instance is a single command, and for a site without a sitemap you add --parse-type discover to find pages by following links
編集コメントを表示
編集コメント
この発表は、AI エージェントの実装における最大のボトルネックである「データ検索基盤の構築コスト」を解消する重要な一歩となる。特に価格モデルの透明性向上とサイトマップ要件の撤廃は、大規模なドキュメントや Web サイトを持つ企業の導入障壁を下げるだろう。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
本日、Cloudflare AI Search の開発者体験を向上させるいくつかの改善を発表します。これにより、検索ソリューションをすぐに使い始められるようになります。以前は、Workers AI、AI Gateway、Vectorize、R2、Browser Run といった Cloudflare の各プリミティブを手動で組み合わせる必要がありましたが、AI Search はこれを自動的に行い、さらに優れた結果を提供します。私たちの目標は、エージェントが独自の検索エンジンを持つようにすることです。これにより、エージェント自身や人間に対してより良い回答を生成するために必要なデータを容易に見つけられるようになります。
また、AI Search の料金体系の早期プレビューも公開しました。これにより、サービスの拡張性がどのように機能するかを理解していただけます。料金は予測可能でスケーラブルになるように設計されています。デフォルトモデルを使用する場合、埋め込み(embedding)と再ランク付け(reranking)は無料です。トークン数の予測を気にする必要はありません。
AI Search では、ユーザーが以下を行えるようになりました:
- エージェント用のデータコレクションのインデックス作成:個々のファイルからあなたが所有するウェブサイトまで、構造化・非構造化データをエージェントが構築しやすいように簡単にアクセス可能にします(現在は Cloudflare アカウント内のゾーンである必要がありますが、所有権を確認する方法を今後さらに増やす予定です)。
- ウェブサイトのサイトマップの不要化:従来、AI Search でウェブサイトを統合するにはサイトマップが必要でしたが、今では「Discover」パースオプションを選択することで、サイトマップなしでウェブサイトもソースとして追加できます。
ネームスペース全体を検索できる単一の公開エンドポイントを取得できます。ネームスペースでパブリック URL を有効にすると、認証なしで複数のインスタンスや Web サイトを一度に検索できる /search および /mcp エンドポイントが利用可能になります。これにより、顧客との共有が容易になります。
パブリックエンドポイントに独自のドメインを設定できます。これで /search や /mcp エンドポイントをブランド化できるようになりました(例:search.example.com/mcp)。また、Cloudflare Access を追加してプライベートな検索インスタンスを構築することも可能です。
EmDash 上で構築されたサイトにセマンティック検索を追加できます。EmDash は当社のオープンソース CMS です。AI Search プラグインを使用すると、コンテンツ全体で意味に基づいた検索が可能になります。
AI Search の新しい料金モデルのプレビューも公開しました。料金を予測可能にし、お客様の成長に合わせてスケーリングできるようにするため、埋め込み(embedding)と再ランク付け(reranking)のコストを料金体系に組み込みました。Workers AI カタログから特定のモデルを利用する場合、これらの機能は無料です。
最後に、AI Search が当社のプラットフォーム全体でどのように活用されているかの実例も紹介します。Cloudflare.com や開発者向けドキュメント、EmDash 上での利用、Cloudflare Dev Stack MCP 内での活用、そして今お読みいただいているこのブログ記事自体(cmd+K をお試しください)などです。
AI Search の実用例:新 Cloudflare Dev Stack MCP の基盤として
AI Search の活用事例の一つとして、新たにリリースした「Cloudflare Dev Stack MCP」があります。これは AI プレイグラウンドで今日から試すことができます。この機能により、コーディングエージェントは Cloudflare 開発者エコシステム全体にわたる、最新かつ出典が明記されたドキュメントを参照できるようになります。これによって、エージェントは古くなったトレーニングデータではなく、最新の機能や修正に基づいて構築を進めることが可能になります。
AI Search の既存機能を活用してこれをどのように実装したか、その手順をご紹介します。
- 各ドメインのインデックス化
Cloudflare が所有する各ドキュメント領域(Docs、Blog、API Docs、Community、Astro、Vite、Vitest、Hono、Replicate、OpenNext)に対して、それぞれ個別に AI Search インスタンスを作成しました。これらはすべて Cloudflare 傘下のサービスです。
対象となるドメインは多岐にわたりますが、Web サイトのデータ自体が Cloudflare によって管理されているため、AI Search はこれらを単一のセットとして扱い、同じ方法で取り込むことができます。AI Search に特定のサイト、あるいは複数のサイトを指し示すだけで、クロール、インデックス作成、埋め込み(embedding)、検索といった処理をすべて自動で行います。インスタンスの作成は単一のコマンドで完了します。また、サイトマップが存在しない場合は、--parse-type discover オプションを追加してリンクを追跡することでページを検出できます(これは /crawl コマンドを利用した Browser Run の機能によるものです)。
- 複数のインスタンスを統合した検索
ここからが本題です。10 個の異なるインスタンスに対して、単一のクエリで回答を取得する方法には主に二つあります。
オプション A:Worker 内で処理する(Cloudflare Stack MCP で採用した手法)
名前空間を Worker にバインドしてリモート MCP サーバーを作成し、10 個のインスタンス全体でマルチインスタンス呼び出しを行いました。このアプローチを選んだのは、Stack Search を Cloudflare の MCP サーバーに組み込み、既存のツールに接続するエージェントが利用可能なツールの一つとして提供するためです。
wrangler.jsonc におけるバインド設定は以下の通りです:
次に、単一のツール呼び出しで指定したすべてのインスタンスに対して処理を分散します:
オプション B: パブリックエンドポイントを有効化(コード不要)
Worker を作成したくない場合は、名前空間のパブリック URL を有効にしてください。認証やデプロイは不要ですぐに /search および /mcp エンドポイントが利用可能になり、すべてのインスタンスをクエリできるようになります。
既存のアプリや MCP サーバーに検索機能を統合する場合は Worker を使用します(今回のケースのように)。一方、ワンクリックで共有可能な検索エンドポイントが欲しいだけなら、パブリックエンドポイントを利用してください。
- ブランド化とセキュリティ強化
パブリックエンドポイントはデフォルトで公開 URL が付与されますが、独自のカスタムドメインを割り当てることでブランド化が可能です(例:search.example.com/mcp)。
検索機能を非公開にしたい場合は、Cloudflare Access をドメインの前に設定します。これによりログインが必要になり、許可されたユーザー(またはエージェント)のみがクエリを実行できるようになります。
実際に試してみましょう:Dev Stack MCP の利用
Cloudflare Dev Stack MCP サーバーを使えば、任意のツールについて質問したり、構築したいアプリを説明したりするだけで、Cloudflare スタック上でどのように構築するのが最適かという、根拠のある最新情報を回答として得ることができます。
AI プレイグラウンドも確かに魅力的ですが、真の魔法は MCP をコーディングエージェントに接続することにあります。そうすれば、現在のスタックドキュメントはツール呼び出し 1 つで利用可能になります。
これは、通常使われる「ウェブ検索→フルページ取得」というフォールバック手法を置き換えるものです。従来の方法は遅く、トークン消費量が多く、間違った情報や古いソースにたどり着いてしまうことがよくあります。お気に入りのエージェントで使用するには、Dev Stack MCP の URL を MCP 設定に追加するだけです。例:
ブログ、開発者ドキュメント、Cloudflare.com で検索を駆動
AI Search は、お客様が利用する方法と同じアプローチで構築されています。すでに Cloudflare ブログの検索は AI Search で動作しており、本日からは開発者ドキュメントと Cloudflare.com も加わります。すべてハイブリッド検索を採用しており、1 つのクエリ内でセマンティック検索とキーワード検索を組み合わせます。これにより、「これは何をするものですか」といった自由な質問から、名称やキーワードの正確な照合まで、あらゆる検索ニーズに対応できます。
最近、ブログは新しいオープンソース CMS「EmDash」へ再構築されました。この EmDash への AI Search 統合が、現在の検索機能を支えています。また、ご自身の EmDash サイトにも同様の統合を追加すれば、コンテンツ全体を即座に検索可能にする機能が得られます。
AI Search はすべてのボットポリシーを尊重します
AI Search のバックグラウンドでは Browser Run /crawl が動作していますが、さらに一歩進んで独自のボットアイデンティティ「Cloudflare-AI-Search」で自身を識別しています。Browser Run と同様に、robots.txt を遵守し、不変かつ公開されたユーザーエージェントで自身を明示し、サイトが設定しているあらゆるボット制御を尊重します。
プレビュー価格:予測可能な料金体系
AI Search は現在ベータ版として無料で利用可能で、課金機能はまだ有効化されていません。開始前には十分な猶予を持ってメールでお知らせいたします。
一般提供に向けて進むにあたり、データ取り込み(ingestion)、保存、クエリ、そして埋め込み(embedding)と再ランク付け(reranking)に関する価格のプレビューをご紹介します。なお、プレビュー価格は課金開始前に変更される可能性があります。
† 月額 500 万トークンの単一プールがあり、現在サポートされているあらゆるファイルタイプ(テキストや画像など)をカバーします。
‡ 月額 2,000 クエリの単一プールがあり、両方のクエリ種別で共有されます。
当社の目標は、検索の基盤となるモデルから順に、予測可能な価格体系を提供することです。埋め込み(embedding)はテキストを検索がマッチングするベクトルに変換し、再ランク付け(reranking)は結果を並べ替えて最も関連性の高いものを上位に表示します。
AI Search のデフォルト設定を使用するか、Workers AI カタログから特定のモデルを選択して利用する場合、これらはいずれも無料で実行されます。つまり、インデックス作成や検索の背後にあるモデルがコストになることを心配する必要はありません。回答生成(answer generation)とクエリ再書き換え(query rewriting)は任意の手順であり、選択したモデル上で実行され、Workers AI の利用料として課金されるか、AI Gateway クレジットをあらゆるモデル・プロバイダに使用して対応できます。
プレビュー価格に基づく請求額の例
20,000 ドキュメント(テキスト約 2,000 万トークン)と画像 1,000 枚(各画像を約 1,000 トークンと仮定)からなるデータソースに対して、Workers Paid プランで AI Search インスタンスを作成した場合の、月次請求書のサンプルを示します。デフォルトの AI Search 埋め込みモデルおよび再ランク付けモデルを使用し、月間 30,000 回の意味検索クエリを実行するケースです。
取り込み(インジェスト)処理では、チャンキング時に約 10% のオーバーラップが発生するため、以下に示すように×1.1 の係数が適用されます。画像は基本の取り込みコストに含まれるほか、追加料金も発生します。ストレージコストは、ドキュメントあたり約 10 KB、画像あたり約 1 MB と見積もられています。
インデックス作成は基本的に一度きりのコストであるため、その後の月次請求では検索クエリが主となり、料金は約 21 ドルに近づきます。
今日から始めましょう
AI Search は現在、有効化してすぐに利用可能です。対象となるサイトへの接続を指定し、意味的検索とキーワード検索の両方に対応するハイブリッド検索をオンにするだけで、エージェントが使える独自のデータ用検索エンジンが完成します。次のコマンド一つでインスタンスを起動できます。
ai search create
これで、クエリを実行したり、/mcp を介してエージェントに接続したり、パブリックな /search エンドポイントにカスタムドメインを設定してユーザーと共有したりすることが可能になります。詳細は AI Search のドキュメントをご覧ください。
原文を表示
Today, we’re excited to announce a few developer experience improvements to Cloudflare AI Search to make it easy to manage a search solution out of the box. Previously, you had to stitch together components of the Cloudflare primitives (Workers AI, AI Gateway, Vectorize, R2, Browser Run) but now, AI Search can do this automatically — and better. Our goal is to give your agents their own search engine, where they can easily find data to provide better answers for themselves and their humans.
We’re also sharing an early preview of pricing for customers of AI Search so you can learn how this scales. We modeled pricing in a way that makes it predictable and scalable: embedding and reranking are free when you use the default models, so no need to worry about predicting token count.
In AI Search, users can now:
Index a collection of data for your agent: Make structured and unstructured data easily accessible for your agent to build with, from individual files to websites you own. (Today, it must be a zone on your Cloudflare account, but with more ways to verify ownership coming soon.)
Skip the sitemap for your websites: Previously, AI Search required that websites have a sitemap to use the website integration. Now you can select the “Discover” parsing option to add a website without a sitemap as a source.
Get a single public endpoint for searching across a namespace: When you enable public URLs on your namespace, you can get a /search and /mcp endpoint that can search through multiple instances or websites at once without authentication, so you can share easily with your customers.
Put your own custom domain over public endpoints: You can now add your own domains over your public URLs, so you can brand your /search and /mcp endpoints (e.g., search.example.com/mcp). You can also add Cloudflare Access to create private search instances.
Add semantic search to your sites built on EmDash with AI Search plugin: If your site runs on EmDash, our open-source CMS, the AI Search plugin adds semantic search over your content.
Preview the new pricing model for AI Search: We want pricing to be predictable and to scale with you, so we built in the cost of embedding and reranking: they’re free when you use select models from the Workers AI catalog.
Finally, we will also share examples of how AI Search is used across our own platform including Cloudflare.com, our Developer Docs, with EmDash, in Cloudflare Dev Stack MCP — and even the blog post you’re reading right now (try cmd+K).
AI Search in action: powering the new Cloudflare Dev Stack MCP
One of the ways we use AI Search is in our new Cloudflare Dev Stack MCP, which you can try today in our AI Playground. It gives coding agents current, cited docs from across the Cloudflare developer ecosystem, so they build on the latest features and fixes instead of stale training data.
Here's how we built it using the features available today in AI Search:
- Index each surface
We created one AI Search instance per Cloudflare-owned surface: Docs, Blog, API Docs, Community, Astro, Vite, Vitest, Hono, Replicate, OpenNext. (Each of these is Cloudflare-owned.)
They span different domains, but, because Cloudflare owns the website data, AI Search is able to treat them as a single set and ingest them all the same way. Point AI Search at a site, or set of sites, and it handles crawling, ingestion, embedding, and retrieval. Creating an instance is a single command, and for a site without a sitemap you add --parse-type discover to find pages by following links (powered by /crawl from Browser Run):
- Combine the instances into one search
Now the interesting part: answering a single query across all 10 instances. There are two ways to do it.
Option A: in a Worker (what we did for Cloudflare Stack MCP)
We bound the namespace to a Worker to create a remote MCP server and made one multi-instance call across all 10 instances. We took this path because we're adding the stack search into Cloudflare's MCP server, so it ships as a tool alongside the Cloudflare tools agents already connect to.
The binding, in wrangler.jsonc:
Then a single tool makes one call that fans out across the instances you name:
Option B: flip on public endpoints (no code)
If you'd rather not write a Worker at all, enable public URLs on the namespace. You immediately get /search and /mcp endpoints that query every instance, with no auth and nothing to deploy.
Reach for the Worker when you're folding search into an existing app or MCP server, as we are. Or reach for the public endpoint when you just want a shareable search endpoint in one click.
- Brand it and lock it down
Public endpoints come with a default public URL, but you can put your own custom domain over them to brand the endpoint (e.g., search.example.com/mcp).
If the search should be private, add Cloudflare Access in front of the domain. The endpoint now requires a login, so only authorized people (or agents) can query it.
Try it yourself: use the Dev Stack MCP
With the Cloudflare Dev Stack MCP Server, you can ask about any tool, or describe an app you want to build, and you'll get back current, cited answers on how best to build it on the Cloudflare stack.
The AI Playground is worth checking out, but the real magic is wiring the MCP into your coding agent, so the stack's current docs are one tool call away. That replaces the usual fallback (web search then fetching full pages), which is slow, token-heavy, and often lands on the wrong or stale source. To use with your agent of choice, drop the Dev Stack MCP URL into your MCP configuration. For example:
Powering search on our Blog, Developer Docs, and Cloudflare.com
We build with AI Search the same way our customers would: Cloudflare Blog's search already runs on it, and today Developer Docs and Cloudflare.com join it. All of it uses hybrid search, semantic and keyword together in one query, so it handles both open-ended "what does this do" questions and exact lookups of names or keywords. We recently rebuilt the Blog on EmDash, our new open-source CMS, and our new
EmDash AI Search integration is what powers that search now. You can also add it to your own EmDash site and get the same search over your content out of the box.
AI Search respects all bot policies
AI Search is powered by Browser Run /crawl in the background, but goes a step further to identify itself with its own bot identity: Cloudflare-AI-Search. Just like Browser Run, it follows robots.txt, identifies itself with an immutable, public user agent, and will respect whatever bot controls a site has in place.
Preview pricing: pricing you can predict
AI Search is currently free while in beta, and billing is not yet enabled; we'll email you with plenty of notice before it starts. As we move toward general availability, here's a preview of pricing across ingestion, storage, and queries, plus embedding and reranking (preview prices are subject to change before billing begins):
† A single pool of 5M ingestion tokens per month, covering any file type currently supported (e.g., text, images). ‡ A single pool of 2,000 queries per month, shared across both query types.
Our goal is to provide pricing you can predict, starting with the models your search leans on. Embedding turns your text into the vectors that search matches on, and reranking reorders results so the most relevant come first. Both run free with AI Search defaults or when using select models from the Workers AI catalog, so the models behind indexing and every search are not a cost you have to worry about. Answer generation and query rewriting are optional steps that run on a model you choose, billed as Workers AI usage, or you can use AI Gateway credits with any model/provider.
Example bill with preview pricing
Here's a sample monthly bill on the Workers Paid plan for creating a new AI Search instance for a 20,000-document data source (about 20M tokens of text) plus 1,000 images (assume about 1,000 tokens each), with 30,000 semantic queries a month using the default AI Search embedding and reranking model. Ingestion is chunked with roughly 10% overlap, which shows up as the × 1.1 below:
Images count toward base ingestion and also incur the image add-on cost. Storage assumes about 10 KB per document and 1 MB per image. Indexing is largely a one-time cost, so later months are mostly queries, closer to $21.
Get started today
AI Search is available to enable and use today. Point it at your site, turn on hybrid search for both semantic and keyword matching, and you have a search engine for your own data, ready for your agents. Spin one up with one command:
From there, query it, wire it into an agent over /mcp, or put a custom domain on a public /search endpoint to share it with your users. Check out the AI Search docs for more information.
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み