
この記事の要約
- Cloudflareの社内AI作業環境を2026年8月にオープンソース化。ライセンス表示はApache-2.0
- 構成は、エージェント作業環境・セキュリティとガバナンスの仕組み・個人向けアプリの基盤の3つ
- エージェントは最初アクセス権ゼロ。認証情報はGatekeeperが持つ
- 公開は2リポジトリ。試すならローカル実行かデプロイ
- READMEはアーリーアクセスと明記。料金の記載は無い
Cloudflare OSはGitHubで公開されたAIエージェント基盤
Cloudflare OSは、Cloudflareが社内で使うAIエージェントの作業環境を、2026年8月にオープンソースとして公開したものです。2026年5月に社内の全員が第1版を使うことができるようにし、使って学んだことをもとに作成し直した新版が今回の公開分です。
ここでいうOSは、READMEが2つの意味を持たせた語であり、パソコンのOSのことではありません。1つは会社がAIを安全に使いこなすためのOS、もう1つはAIの仕事を管理するOSです。
入口はブラウザ上の会話で他の多くのAIツールと同じだと公式ブログは書き、違いは会話が組織の整えた文脈とスキルにもとづくことだとしています。構成は次の3つです。
Cloudflare OSの3つの構成要素
アプリの単位は「ファイル」です。1つ1つのファイルが、1人・1案件・1チーム向けにエージェントが書くアプリになることがあります。
そのアプリは書き出して別の場所へデプロイする試作品ではなく、クライアント・サーバー・API・永続状態を持つフルスタックのアプリです。デフォルトは非公開ですが文書のように共有できます。
READMEはこのアプリをGadgetと呼びます。ユーザーごとに独立した環境で動作する個人向けアプリのことです。
Gadgetのコードの写しがBlueprintで、共有すると受け取った人がそれをもとに自分用のアプリを作ることができます。Blueprintから作ったアプリは、元のSQLiteデータ(アプリ専用のデータベース)・会話履歴・認証情報・接続した資源を持ちません。
アプリの実体は、Worker(Cloudflare上で動作する小さなプログラム)です。サーバー側は、必要なときに読み込まれるDynamic Workerとして動作します。
第1版のアプリは静的で社内システムに接続していませんでした。手順がほぼ定まっている作業でも、毎回エージェントにスキルを実行させるため、そのぶんトークンを余計に消費していました。
人が作業環境やアプリを共有するようになったため、見る権限のない人に情報が流出しないようにする必要も出ました。新版は、アプリの静的さ・トークンの消費・共有時の情報漏れという3つの課題を解決するために作成し直したバージョンです。
In May of this year, we gave every person at Cloudflare access to the first version of Cloudflare OS. / Today, we are open sourcing a new version of Cloudflare OS. Any organization can deploy it, connect it to internal systems, and make it their own. / Cloudflare OS starts with a conversation in your browser, like many other AI tools. What makes it different is that each conversation is grounded in the context and skills your organization has curated. / Cloudflare OS combines three parts: / An agent workspace grounded in context and skills your company curates, with an isolated runtime where agents can write and run code. / A new security and governance framework for safe access to internal data and services. / A platform for personal, modifiable apps that people can build, share, and continue changing. / In Cloudflare OS, each “file” can be its own application, written by an agent for one person, one project, or one team. / Each one is a full-stack application with client code, server code, an API, and durable state. Apps are private by default, but can be shared like documents. / An app instantiated from a blueprint contains the original app’s code. But it does not contain its SQLite data, conversation history, credentials, or connected resources. / Apps were static rather than live software connected to internal systems, and mostly deterministic jobs still required running an agent skill again and consuming more model tokens. / Once people began sharing workspaces, apps, and outputs, we needed to ensure that collaboration could not expose information someone was not permitted to see. — 第1版の社内配布、オープンソース化、入口と3つの構成要素、アプリの単位、Blueprint、および第1版の課題に関する記述より公式情報を見る →
This is not a traditional computer operating system. We use the term "operating system" in two senses: / We call this a "gadget". This instance runs in a separate sandbox from everyone else's slide decks. / A Blueprint is essentially a copy of the code. / As of the August 2026 release, Cloudflare OS v2 is very capable, but still has many rough edges. — OS という語の断り書き、Gadget と Blueprint の定義、およびリリース時期に関する記述より公式情報を見る →
AIエージェントのセキュリティは鍵を持つGatekeeperが担う
Cloudflare OSで認証情報を持つのはエージェントではなくGatekeeperで、エージェントにはAPIキーが渡りません。社内でAIを試している人は、まず社内システムのAPIキーを求めることが多いとのこと。公式ブログは、APIキーを人やエージェントに与えるのは危険でスケールしないとしています。キーは広く長く有効なので、制限する・安全に共有する・監査するのが難しいと述べています。
そこでCloudflare OSは、誰が入場できるかを判定する役割と、入場した後の権限を設定する役割を分け、前者をCloudflare Access(接続を許可制にするサービス)に任せています。Cloudflare OSの中では、エージェントもアプリも最初は何にもアクセスできません。
エージェントは特定の資源へのアクセスを求めることができ、人が許可か拒否を選びます。生成されたコードには資源を使う許可を表す型つきのバインディングが渡り、認証情報はエージェントとコードから完全に隔離されます。
サーバー側のコードは外向きの通信を全て止めたDynamic Workerで動作し、クライアント側のコードはブラウザの隔離されたフレームで動作します。どちらも明示的に許可された手段以外ではインターネットに出られません。
Cloudflare OSが外部サービスを使うときは、間にGatekeeperが入ります。Gatekeeperはサービスごとに専用のWorkerで、そのサービスのAPIと資源と操作を理解していて、次の5つを担当します。
- OAuth(パスワードを共有せず利用許可だけを引き継ぐ方式)の処理
- 認証情報の保持
- ポリシーの適用
- 読んだものの記録
- 外に見える副作用がある操作の仲介
制限の内容は細かく設定できます。公式ブログには例として次の5つが書かれています。
- GitHubアカウント全体ではなく1つのリポジトリだけに通す
- issue(課題管理の投稿)は読むことができても、ソースコードは読むことができない
- 特定のデータをマスクする
- レート制限をかける
- プルリクエスト(コード変更の取り込み依頼)のマージ前に承認を求める
Cloudflare OSはエージェントが見た資源を全て記録し、別の人が作業環境や成果物を開くときは、Gatekeeperが記録された資源をその人が見てよいかをチェックします。エージェントが機密データを読んだ場合は、ポリシーで書き込み・共同作業者の招待・別のエージェントへの引き継ぎ・外部へのリクエストを個別に無効にできます。
副作用のある操作の承認は非同期です。READMEは、Gatekeeperが結果をローカルで模擬してエージェントを先へ進め、人は作業が終わった後にまとめてでも1件ずつでも承認か却下を選ぶことができるとしています。
MCP(AIが外部のツールを呼ぶ共通の取り決め)で呼べるツールを制限するだけでは十分でなく、エージェントがどの資源を見たかはMCPでは分からないと公式ブログは書いています。READMEはGatekeeperをMCPサーバーの強化版のようなものと説明し、既存のMCPサーバーもMCP Server Portals経由で使うことができると公式ブログは書いています。
As people begin experimenting with AI at work, one of their first requests is often for API keys to company systems. / But handing over API keys to people and agents is dangerous and does not scale. Keys often provide broad, long-lived access that is difficult to constrain, share safely, and audit. / MCP alone does not tell us which underlying resources an agent has observed. / Cloudflare Access controls who can enter Cloudflare OS. Inside, every agent and app starts with access to nothing. An agent can ask for access to a specific resource, which you can grant or deny. Generated code receives that resource as a typed binding: / The credential remains completely isolated from the agent and any generated code. / Server code runs in a Dynamic Worker with global outbound networking disabled. Client code runs in a sandboxed frame in the browser. Neither can reach the Internet except through capabilities you explicitly provide. / A Gatekeeper is a service-specific Worker that sits between Cloudflare OS and an external service. / A Gatekeeper can give it access to a single repository, allow it to read issues but not source code, mask particular fields, apply rate limits, and require approval before merging a pull request. / The Gatekeeper handles OAuth, holds the credential, enforces policy, records what was read, and mediates anything with an externally visible side effect. / Cloudflare OS records every resource agents observe. / When another person tries to open the workspace, interact with the agent, or view what it produced, Gatekeepers verify that person's access to the observed resources. / A read of sensitive data can prevent the agent from writing data to certain sources, inviting new collaborators, handing work to another agent, or making an outbound request. / It also supports existing Model Context Protocol (MCP) servers your organization already uses via MCP Server Portals. — API キー要求の問題、エージェントの初期権限、実行環境の隔離、Gatekeeper の定義と制御粒度、観測ログ、および MCP との関係に関する記述より公式情報を見る →
Each agent, and each Gadget, by default has access to nothing. / Gatekeepers are like supercharged MCP servers. / When the agent (or Gadget) performs an action that requires approval, the Gatekeeper will simulate the outcome locally, allowing the agent to proceed and queue up more actions. / Once the agent is done, the user may approve or reject the actions in bulk, or one-by-one, but either way, they can do it later, when it is convenient. — エージェントの初期権限、Gatekeeper と MCP サーバーの関係、および非同期の承認に関する記述より公式情報を見る →
使い方はローカルで試すかstarterでデプロイ、料金は公表されていない
試す方法はローカルで動作させるか自分のCloudflare環境にデプロイするかの2通りで、料金の記載は公式ブログにもREADMEにもありません。公開されたのはCloudflare OS本体(コア)と、Cloudflare社内の運用にもとづくデプロイ例の2つのリポジトリで、デプロイ側にはコアへパッチを当てないまま設定・独自UI・社内連携・分析・デプロイ経路を置きます。
社内のデプロイはCloudflareの用語や方針を映したものなので、利用側は自社の組織を映したデプロイにする前提です。画面の変更・社内向けGatekeeperの追加・組織固有の機能追加は、コアを変えずに行える設計だと公式ブログは書いています。
ローカルで試すにはpnpmを入れてpnpm run-localを実行し、http://localhost:8787を開きます。作ったデータは.wranglerフォルダに保存されるとのこと。wranglerとworkerd(Workersを動作させるオープンソースの実行環境)でスタック全体がローカルで動作しますが、これは本番用ではなく試用向けです。
自分のCloudflareアカウントへは、オンラインのデプロイ画面(os.cloudflare.app/deploy)からデプロイできます。Gatekeeperの追加やコードの変更を伴う場合は、デプロイ用雛形リポジトリであるstarter(cloudflare-os-starter)を使うとREADMEは案内しています。
公式ブログは、starterリポジトリを使うと数分でデプロイできるとしています。READMEは自前サーバーのworkerdへ展開する方法を「COMING SOON」と書き、ドキュメントとツールを整備中とのこと。
READMEが設定手順を用意するGatekeeperは、GitHub・Google・Cloudflare・Supabase・Notion・Confluence・Email Workers・Home Assistant・Slack・Spotify・ZoomInfoの11種です。多くは、外部サービス側でOAuthのクライアント資格情報を取得する必要があるとREADMEは案内しています。
Cloudflare OSはモデルを選ばず何でも使うことができるうえに、推論の呼び出しは全てCloudflare AI Gatewayを経由するので、使うことができるモデルを組織が一箇所で定められます。リクエストは出した人・チーム・作業環境に紐づけられ、管理者は支出の内訳を見て予算とレート制限を設け、上限に達したときの動作を設定できます。
2026年9月30日時点で、料金や無料枠は公表されていません。無料か有料かも明らかにされておらず、費用に関わる仕組みは上のAI Gatewayの予算とレート制限だけです。
2026年8月のリリース時点のv2は、できることが多い一方で粗い部分もまだ多いとREADMEは認めています。READMEによると、現時点のバージョンはアーリーアクセスとのこと。
外部からのコードの貢献は現時点では募っていないとREADMEは書いています。また提携先のPresidioとHappy Cogが、カスタマイズと全社展開を支援すると公式ブログは書いています。
We are releasing two repositories: the Cloudflare OS core and an example deployment based on how we run it internally at Cloudflare. The deployment repository consumes the core without patching it, providing a place for configuration, custom UI, internal integrations, analytics, and deployment pipelines. / Our internal deployment reflects Cloudflare’s systems, terminology, policies, and ways of working. Yours should reflect your organization. / Cloudflare OS is designed so you can customize the interface, add internal Gatekeepers, and build organization-specific features without changing the core product. / Cloudflare OS can be used with any model. Every inference call runs through Cloudflare AI Gateway, giving your organization one place to decide which models are available and which model should handle each job. / Every request is attributed to the person, team, or workspace that made it. Administrators can see where inference spend is going, set budgets and rate limits, and decide what happens when a limit is reached. / Cloudflare’s strategic partners, Presidio and Happy Cog, will work with you to customize Cloudflare OS around how your organization operates and roll it out across your workforce. / Cloudflare OS is available today on GitHub. You can explore the source code, try the demo, or deploy it into your own Cloudflare account in a few minutes using our starter repository. — 公開リポジトリの構成、社内デプロイの位置づけ、カスタマイズの想定、モデルと費用の管理、提携先、および始め方に関する記述より公式情報を見る →
To quickly run Cloudflare OS locally, install pnpm, then do: / pnpm run-local / Then visit: http://localhost:8787 / This runs the whole stack locally on wrangler and workerd. This is not meant for production use, but is a quick way to see what the product does. / Your data will be stored in a subdirectory named .wrangler. / We've built an online flow that helps you deploy to your own Cloudflare account: / https://os.cloudflare.app/deploy / Or, for more sophisticated deployment, with your gatekeepers and potentially code changes, check out our deployment starter repo: / https://github.com/cloudflare/cloudflare-os-starter / COMING SOON / We are still working on documentation and tooling to help you smoothly deploy the OS on top of workerd on your own servers. / Many Gatekeepers require configuration in order to be able to connect to third-party services, including obtaining OAuth client credentials for each service. / As of the August 2026 release, Cloudflare OS v2 is very capable, but still has many rough edges. We know, and we're working on it. For now, consider this an "early access" release. / At this time, we are not seeking outside contribution. — ローカル実行、デプロイ、workerd への展開、Gatekeeper の設定、成熟度、および外部貢献に関する記述より公式情報を見る →
認証情報をエージェントに与えない設計の公開
Cloudflare OSは、エージェントにAPIキーを与えない設計のオープンソース(表示はApache-2.0)として公開されたもの。使うことができる人はCloudflare Accessが定め、資源と操作はGatekeeperが管理します。料金の記載は公式ブログにもREADMEにもなく、READMEによると現時点のバージョンはアーリーアクセスです。
今後の予定として公式ブログに書かれているのは次の3つです。いずれも提供時期は書かれていません。
- Cloudflareダッシュボードでのフルマネージド製品化
- 開発ワークフロー向けコンテナの追加
- Slackなどのチャットツールへの作業環境の提供
We’re working on bringing Cloudflare OS to the Cloudflare dashboard as a fully managed product, adding containers for development workflows, and bringing workspaces into Slack and other chat tools. — 今後の予定に関する記述より公式情報を見る →
FAQ
- Cloudflare OSのライセンスは何ですか?
- GitHubのcloudflare/cloudflare-osリポジトリでは、表示がApache-2.0です。READMEは、他社がコピーして自社用に作り替えるために公開したとしています。商用利用や再配布の条件は、リポジトリのLICENSEファイルでチェックしてください。
- エージェントに社内システムのAPIキーを与える必要がありますか?
- 与えません。Cloudflare OSを使うことができる人はCloudflare Accessが定め、Cloudflare OSの中のエージェントは最初は何にもアクセスできません。認証情報を持つのはGatekeeperで、エージェントと生成されたコードからは隔離されます。
- 公開されたリポジトリはいくつありますか?
- 2つです。Cloudflare OSのコアと、Cloudflareが社内で運用している構成にもとづくデプロイ例です。デプロイ側はコアにパッチを当てずに使う構成で、設定・独自UI・社内連携・分析・デプロイ経路を置く場所になります。
- Cloudflare OSの料金はいくらですか?無料で使えますか?
- 2026年9月30日時点で、料金や無料枠は公表されていません。無料か有料かも明らかにされていません。費用に関わる仕組みは、推論をCloudflare AI Gatewayに通すと管理者が予算とレート制限を設定できることだけです。
- GadgetとBlueprintは何ですか?
- READMEは個人向けアプリをGadgetと呼び、Gadgetはユーザーごとに独立した環境で動作します。BlueprintはそのGadgetのコードの写しで、共有すると受け取った人がそれをもとに自分用のアプリを作ることができます。
- Cloudflare OSはMCPとは別のものですか?
- 別の仕組みです。READMEはGatekeeper(エージェントと社内システムの間に立つ部品)を、MCPサーバーの強化版のようなものとしています。



