Skip to content
FossShelf
Home / Categories / For AI Engineers

Cloudflare Os

Open source AI workspace with sandboxed apps and Gatekeeper security

Replaces Dust, Retool, Glean

11.81K starsApache-2.0reviewed 4 Oct 2026last commit 15 Nov 2026
Screenshot of Cloudflare Os

Who it's for

IT and security teams deploying AI for the whole company

Cloudflare OS was designed to let non-technical employees use AI safely without requiring the security team to grant broad API permissions. The Gatekeeper framework enforces narrow access per session, logs all agent actions, and requires explicit human approval for any action with side effects.

If your organization needs an AI workspace with a polished user interface and production-grade support SLAs today, Cloudflare OS's early-access status and the undocumented self-hosted server path make it a poor fit without a dedicated engineering team.

Engineering teams building internal productivity tools

The AI coding agent builds, tests, and debugs custom gadgets on demand. Instead of maintaining shared SaaS tools, each engineer gets their own copy of any tool they need. Blueprints let teams distribute internal tools like mobile apps, with each recipient modifying their own instance using AI.

If your team needs collaborative tools where multiple users edit simultaneously against shared state rather than private instances, review the gadget sharing and multiplayer model carefully before assuming it maps to your workflow.

Companies under compliance restrictions on external AI services

Because every gadget runs in an isolated sandbox with no internet access by default, and each agent session gets only the permissions explicitly granted for that session, the architecture is auditable. Companies that cannot route employee data through third-party AI infrastructure have a credible self-hostable path here.

If compliance requires on-premises deployment with no cloud dependency, the workerd self-managed path is not yet documented. Verify its status before planning deployment.

The problem

Enterprise AI productivity today means giving a vendor's cloud service access to your employees' work. When your team uses a hosted AI workspace, every document, query, and agent action flows through infrastructure the vendor controls. For companies under compliance requirements or with strict data-handling policies, that model either fails security review or requires expensive contractual arrangements that still leave the fundamental control problem in place. The problem compounds when teams want to build custom tools. Traditional SaaS software runs one shared instance, and adding a feature means filing a request and waiting. Agents that access external systems, like GitHub or Google Drive, typically get broad ambient access configured once upfront, meaning every agent session runs with more permission than it needs. When agents act on the user's behalf, there is no standard mechanism to review those actions before they complete.

How it works

Sandboxed gadgets per user

Each app a user creates in Cloudflare OS is a private instance called a gadget, running in its own Dynamic Worker sandbox. The sandbox blocks all internet access by default; external services must be explicitly connected. This means a security bug in one user's gadget cannot affect another user's data.

AI coding agent that builds and tests apps

The built-in agent writes, tests, and debugs gadget code on demand. It uses Code Mode, writing and executing snippets immediately rather than generating code for a human to paste. Users can pick from multiple AI model providers or self-hosted models. Because the platform is purpose-built, the agent typically needs fewer tokens than a general-purpose coding agent on the same task.

Gatekeepers: asynchronous human-in-the-loop

When an agent takes an action with side effects, such as modifying a GitHub issue or updating a Google Doc, the Gatekeeper simulates the outcome locally and lets the agent proceed. The user reviews and approves or rejects actions in bulk afterward, not synchronously. This avoids the pattern where users give in and set agents to auto-approve everything.

Blueprint sharing without data sharing

Users can share the code for a gadget, called a Blueprint, without sharing their actual data. Recipients create their own private copy of the app and can modify it with AI. This is closer to distributing a mobile app than hosting a shared web service.

Real-time multiplayer via Durable Objects

Gadgets support live collaboration the same way an online office suite does. Each gadget is backed by a Cloudflare Durable Object, which makes real-time multiplayer a default capability. The AI coding agent generates multiplayer support automatically without being explicitly asked.

Capability-based access, not ambient permissions

Agents and gadgets start with access to nothing. Access to external services requires an explicit introduction for each session, either by the user pasting a link or selecting a resource in the UI. This contrasts with MCP-style configurations where broad service access is set up once and available to every agent session.

Features

  • Sandboxed gadgets per user
  • AI coding agent that builds and tests apps
  • Gatekeepers: asynchronous human-in-the-loop
  • Blueprint sharing without data sharing
  • Real-time multiplayer via Durable Objects
  • Capability-based access, not ambient permissions

How to install

Clone the repository and run locally with pnpm. Alternatively, deploy to your own Cloudflare account through the hosted deploy flow at os.cloudflare.app/deploy.

git clone https://github.com/cloudflare/cloudflare-os.git
cd cloudflare-os
pnpm install
pnpm run-local

Recommended for this setup

Strengths

  • Built and battle-tested inside Cloudflare: Cloudflare OS was developed for internal use at Cloudflare, where a large portion of the workforce from engineering to sales uses it daily. It is not a speculative product; the team building it uses the Workers Runtime and created Dynamic Workers and Facets specifically to support it.
  • Apache-2.0 license with no restrictions on commercial use: Apache-2.0 allows any company to run, modify, and deploy Cloudflare OS commercially without licensing fees or usage-based charges. Unlike proprietary AI workspace tools, there is no per-seat pricing and no vendor lock-in on the infrastructure side.
  • Runs fully on open source workerd runtime: Because Cloudflare Workers Runtime (workerd) is itself open source, Cloudflare OS can run entirely on your own servers. Deployment is not tied to the Cloudflare platform, though tooling for fully self-managed server deployment is documented as coming soon.
  • Security architecture prevents cross-user data leakage: Each gadget runs in a separate sandbox that cannot communicate with other gadgets. The client-side code runs in a sandboxed iframe behind Content-Security-Policy restrictions. These are structural guarantees, not configuration options.

Trade-offs

  • Early access with rough edges as of August 2026: The README describes version 2 as a complete rewrite with 'many rough edges.' The project is under heavy development. Teams that need production-ready stability should monitor the roadmap before committing infrastructure to it.
  • Self-managed server deployment is not yet documented: The option to run Cloudflare OS on your own servers using workerd is marked as 'COMING SOON' in the README. The current production path requires a Cloudflare account. Teams that need fully self-managed deployment without any Cloudflare dependency should wait for this path to be documented.
  • Gatekeeper OAuth setup requires developer effort: Each Gatekeeper that connects to an external service, such as GitHub or Google, requires OAuth client credentials that service providers do not make easy to obtain. Non-developer teams configuring integrations will need engineering support.

Tech stack

Languages
TypeScript, CSS, HTML, Python, JavaScript
Frameworks
React
Databases
—
Tooling
esbuild

FAQ

Is Cloudflare OS free to use and self-host?

Yes. Cloudflare OS is licensed under Apache-2.0, which means you can run it, modify it, and use it commercially at no cost. The current deployment path requires a Cloudflare account; a fully self-managed server option using the open source workerd runtime is listed as coming soon in the README.

Does Cloudflare OS require a Cloudflare account to run?

Currently, yes. The documented production path deploys to your Cloudflare account via the deploy flow at os.cloudflare.app/deploy. Running on your own servers using workerd is planned but not yet documented. Local development works without a Cloudflare account using pnpm run-local.

What AI models does Cloudflare OS support?

Cloudflare OS works with multiple major AI model providers and supports self-hosted models, with more providers being added over time. Users can choose their LLM; the specific provider list is not enumerated in the README but the architecture does not lock you to a single vendor.

What are Gatekeepers and how do they protect agent actions?

Gatekeepers are per-service security wrappers that control how agents and gadgets access external resources. Each Gatekeeper handles OAuth authorization, enforces narrow access to only the specific resource a user selected, logs every agent action, and requires human approval for any action with side effects. Approvals happen asynchronously; the agent simulates and queues actions while the user reviews them later.

What is the difference between a Gadget and a Blueprint?

A Gadget is your private running instance of an app, built by the AI coding agent for your specific needs. A Blueprint is the shareable code behind a Gadget. When you share a Blueprint, recipients get their own private copy of the app; they are not connecting to your instance or your data.

Similar tools

More in AI Engineers