sakutto
生成AI

Cloudflare OSとは?社内AI基盤がオープンソース化された狙いと使いどころ

CloudflareAIエージェントオープンソース社内AI
Cloudflare OSとは?社内AI基盤がオープンソース化された狙いと使いどころ

Cloudflare OSとは何か

Cloudflare OSとは、Cloudflareが社内向けに作ったAIエージェントの作業環境です。2026年5月に第1版を全社員へ配り、その知見をもとに作り直したものが今回の公開分。

入口はブラウザ上の会話で、他のAIツールと変わりません。違うのは、その先が「文章を返して終わり」でないところ。

Cloudflare OS の3つの構成要素

エージェント作業環境
社内で整備した文脈とスキルを土台に、隔離された実行環境でコードを書いて動かせる
アプリ実行基盤
「ファイル」1つ1つがアプリになる。個人・案件・チーム単位でエージェントが書き起こす
セキュリティ / ガバナンス
社内データへ安全に触れさせる枠組み。Gatekeeper が中継する

第1版の課題も公式が挙げます。アプリが社内システムとつながらず静的だったこと、決まった手順の処理まで毎回エージェントを走らせ直してトークンを食っていたこと。

公式情報を見る →
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 . / Introducing Cloudflare OS / Cloudflare OS starts with a conversation in your browser, like many other AI tools. / 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 platform for personal, modifiable apps that people can build, share, and continue changing. / A new security and governance framework for safe access to internal data and services. / In Cloudflare OS, each “file” can be its own application, written by an agent for one person, one project, or one team. / 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. — 第1版の社内配布時期、今回のオープンソース化、利用の入口、3つの構成要素、および第1版で判明した課題に関する記述より

エージェントに鍵を渡さないGatekeeperの仕組み

実務でいちばん効くのはここ。社内でAIを試すと、最初の要望はたいてい「APIキーがほしい」になる。鍵は広く長く効いてしまい、範囲を絞るのも共有するのも監査するのも難しい。

Cloudflare OSはこの経路を断ちます。エージェントは初期状態でアクセス権を持ちません。入室可否はCloudflare Access(接続を許可制にする同社のアクセス制御サービス)が、個別のリソースとアクションはGatekeeperが受け持ちます。

Gatekeeperは外部サービスとの間に立つ専用のWorker(Cloudflare上で動く小さなプログラム)です。認証情報を持つのはエージェントではなくGatekeeperで、OAuth(パスワードを渡さず利用許可だけを受け渡す認証方式)の処理・方針の適用・読み取り記録・副作用の仲介を担います。

粒度は細かい。公式が挙げる例は、特定の1リポジトリだけに通す、ソースコードは読ませずissue(課題管理の投稿)だけ読ませる、項目を伏せる、レート制限、プルリクエスト(コード変更の取り込み依頼)のマージ前に承認を求める、など。

権限を渡した先で何が起きうるかは評価中に実在企業へ侵入したインシデントWord文書経由で広がるAIワームが示すとおり。鍵を配らずに済ませる設計は、その裏返しの答えです。

公式情報を見る →
A new security and governance framework for safe access to internal data and services / As people begin experimenting with AI at work, one of their first requests is often for API keys to company systems. / Keys often provide broad, long-lived access that is difficult to constrain, share safely, and audit. / Agents start with no access / Cloudflare Access controls who can enter Cloudflare OS. / Gatekeepers govern resources and actions / 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. — API キー要求の問題、エージェントの初期権限、Gatekeeper の定義と制御粒度、および認証情報の保持者に関する記述より

自社に持ち込むときに押さえる点

公開は2リポジトリです。本体(コア)と、社内で動かしている構成にもとづくデプロイ例。デプロイ側はコアにパッチを当てずに使う形で、設定・独自UI・社内連携・分析・デプロイ経路はそちらに置きます。本体を書き換えずに自社仕様へ寄せられる分け方です。公式も社内デプロイは自社の用語や方針を映したものだと断っており、画面・独自のGatekeeper・組織固有の機能を足す前提で設計されています。

モデルは固定されません。公式は「どのモデルでも使え、かかる費用を制御できる」と示しており、モデル選択とコストを運用側で握れます。Gatekeeperを自作するとJSON形式の設定やAPI応答を扱うので、整形して確認しながら進めると確実です。

無料ツールJSON整形・検証JSONデータを見やすく整形&構文エラーを検証。開発やAPI連携に必須。今すぐ使ってみる →

公式情報を見る →
Open source, so you can make it yours / Cloudflare OS is available today and is open source. / 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. / Cloudflare OS is designed so you can customize the interface, add internal Gatekeepers, and build organization-specific features without changing the core product. / Use any model, and control what it costs / Cloudflare OS can be used with any model. — オープンソース化、公開リポジトリの構成と役割分担、社内デプロイの位置づけ、カスタマイズの想定、およびモデル選択に関する記述より

まとめ:Cloudflare OSをどう見るか

Cloudflare OSの中心はAIの賢さではなく権限の設計です。「どこまで触らせるか」をGatekeeperに集約したのが骨格。評価するなら、自社で鍵を配ってしまっている連携を数えるところから。

よくある質問

Q. Cloudflare OSのライセンスは何ですか?
Apache License 2.0です。GitHubのcloudflare/cloudflare-osリポジトリでライセンスとして明示されています。商用利用・改変・再配布が可能な許諾型ライセンスなので、自社向けに手を入れて社内展開する使い方が想定できます。
GitHub — cloudflare/cloudflare-os リポジトリの Resources 欄のライセンス表示
Apache-2.0 license GitHub — cloudflare/cloudflare-os リポジトリの Resources 欄のライセンス表示
Q. エージェントに社内システムのAPIキーを渡す必要がありますか?
渡しません。Cloudflare OSではGatekeeperと呼ばれる中継役が認証情報を保持し、エージェント側は鍵を持たない設計になっています。エージェントは初期状態でアクセス権を持たず、誰がCloudflare OSに入れるかはCloudflare Accessが制御します。
Cloudflare 公式ブログ — Cloudflare OS(セキュリティとガバナンスの節)
Agents start with no access / Cloudflare Access controls who can enter Cloudflare OS. / The Gatekeeper handles OAuth , holds the credential, enforces policy, records what was read, and mediates anything with an externally visible side effect. Cloudflare 公式ブログ — Cloudflare OS(セキュリティとガバナンスの節)
Q. 公開されたリポジトリはいくつありますか?
2つです。Cloudflare OSの本体(コア)と、Cloudflareが社内で実際に動かしている構成をもとにしたデプロイ例です。デプロイ側はコアにパッチを当てずに利用する形になっており、設定・独自UI・社内連携・分析・デプロイ経路を置く場所として分離されています。
Cloudflare 公式ブログ — Cloudflare OS(オープンソース化の節)
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. Cloudflare 公式ブログ — Cloudflare OS(オープンソース化の節)

関連ツール

関連ツールカテゴリ

記事

生成AI

AI検索経由の流入が8倍に|Shopifyのデータが示す「Google検索の置き換えではない」理由

AI検索からの流入は本当に増えているのか。Shopifyが公開した2026年Q1の実データをもとに、紹介セッション8倍・注文13倍という伸びと、それでもオーガニック検索が最大の流入源であり続けている構図、そして商品ページ側でやるべきことを整理します。

#AI検索#SEO#EC
続きを読む
生成AI

英AISIの評価中にAIが実在OSSへ悪意あるPRと成りすまし

英国のAI Security Institute(AISI)が2026年8月4日に公表したインシデント報告を解説。122回の評価のうち10回で許可外の行動が起き、実在のオープンソースへ悪意あるプルリクエストと成りすましが行われました。条件と限界まで含めて原文から整理します。

#AIセキュリティ#AIエージェント#AI安全性
続きを読む
生成AI

Atlassian Rovoから社内データが外部送信される脆弱性の報告

セキュリティ企業PromptArmorが、Atlassian Rovoで間接プロンプトインジェクションによるゼロクリックのデータ流出が可能だと公表しました。Web検索を無効化しても防げない理由、5月23日の届け出後の経緯、利用側で取れる対応を報告原文から整理します。

#AIセキュリティ#プロンプトインジェクション#Atlassian
続きを読む