4Geeks chosen to deliver AI education in the Bahamas alongside Harvard, Oxford, and Columbia.See more
Image: 4geeks-devs-logo_1763162063433
SIGN IN
ai-powered-learning

What Is Cloudflare OS: The Open Source Agent Workspace Where Every App Is Yours

Cloudflare's open source agent workspace: per-user private app instances (Gadgets), capability-based security, and asynchronous approval.
Image: images (4)
13 min read

Cloudflare OS is an AI agent work environment, open source under Apache 2.0, that Cloudflare released on August 5, 2026. It isn't a traditional operating system: it's a platform where every employee gets an agent that researches, produces documents, and builds small personal applications, called Gadgets, each running in its own sandbox, under a capability-based security framework called Gatekeepers that mediates all access to internal data. It runs on Cloudflare Workers, and you can deploy it to your own account or run it on your own servers with the open workerd runtime.

It cleared 3,900 GitHub stars on day one and sparked a 271-comment Hacker News debate. There are good reasons for both, and this article covers both sides.


Who built it, and where does the idea come from?

The official version: it was built by the Cloudflare Workers team, the same people who built the serverless platform it runs on. Cloudflare gave it to its entire workforce in May 2026, and by August thousands of employees, not just engineers, were using it daily to write documents, assemble slide decks, and knock together small internal apps. What ships now is version 2, a complete rewrite based on what the first version taught them.

The story that isn't in the press release came from Kenton Varda, Workers' tech lead and creator of Cap'n Proto, on X, launch day, with unusual honesty: "Today we are releasing Cloudflare OS, a chatbot with connectors, just like every other tech company is doing. Except actually, it's different. This is a remake of Sandstorm.io, my startup from 10 years ago, except this time built on Cloudflare Workers."

That lineage explains the design better than any marketing document. Sandstorm (2014) proposed something that sounded eccentric at the time: every user running their own private instance of every application, with capability-based security instead of permission lists. It failed commercially: it was too early, and modifying software still required programmers. Ten years later, AI removes exactly that barrier: if anyone can ask an agent to add a feature, personal-instance software stops being a curiosity and starts making economic sense. Cloudflare OS is that bet, retried with better timing and better infrastructure.


How does it work under the hood?

This is where the "OS" name stops being marketing and becomes a defensible technical analogy. The README formalizes it:

Traditional OSCloudflare OS
Kernelworkshop-backend
Device driversgatekeeper-* (one per external service)
Shellworkshop-frontend
ProcessesGadgets
ExecutablesBlueprints
UsersUsers
ACLsShared permissions
???Agents

The actual mechanics, piece by piece:

Every workspace is a Durable Object: Workers' mechanism for persistent state with a unique identity. Every Gadget runs in a Dynamic Worker Facet: a worker spun up on the fly, isolated, with its own SQLite database. There is no shared application server: there are thousands of micro-instances, one per document, raised on demand.

Each Gadget's client and server communicate over Cap'n Web, a capability-based RPC system. That seemingly technical decision carries an enormous consequence: because a Gadget's entire interface goes through typed RPC, any app you build automatically has an agent-friendly API. No MCP server to write, nothing to integrate: if you can use your tool, your agent can too.

The agent is a Code Mode agent: instead of chaining tool calls one at a time, it writes snippets of code and executes them immediately. Cloudflare's claim is that this is why, on the same underlying models, its agent completes tasks with fewer tokens than a general-purpose coding agent.

The network is closed by default. Gadget server code runs in Dynamic Workers with global outbound networking disabled; client code runs in sandboxed browser frames. The only external connectivity is what comes in explicitly as a capability. That isn't a policy someone configures. It's the architecture.

Several Workers runtime features (Dynamic Workers, Facets) were added to the platform specifically to support Cloudflare OS. Reading this repository is, literally, seeing how the team that built Workers thinks Workers should be used.


What are Gadgets, and why do they change the software model?

When you create a slide deck in Cloudflare OS, you're not using a shared slides SaaS. The system creates a private instance of the slides software just for you, in its own sandbox. That's a Gadget.

Two consequences the README states plainly:

  1. The software can't leak your data through its own bug, because the sandbox controls all access to your instance. The classic multi-tenant SaaS security failure, one tenant seeing another's data, stops existing structurally.
  2. You can freely modify the code. Slides app missing a feature? Ask your agent to add it. And because point 1 still applies, doing so is safe.

Blueprints are the equivalent of office templates, with one difference: a Word template is content; a Blueprint is a complete application. Share your Gadget's Blueprint and the recipient gets an independent copy, without your data, your conversation history, or your credentials. They can then ask their own agent to reshape it, without filing a feature request with anyone.

It's the exact inversion of the last 25 years of SaaS: instead of a thousand users on one centralized app that evolves by roadmap, a thousand personal copies that evolve by conversation. Whether that scales is an open question. Whether it's the most interesting idea in the launch is not.


What are Gatekeepers, and what problem do they actually solve?

Gatekeepers are the security framework, and they contain the launch's most quotable innovation.

Every external service (GitHub, Google, Slack, Notion, Linear) gets its own Gatekeeper: an independent Worker that wraps the service's native API, handles auth, narrows access to the specific resource the user intended, and logs every action for review. The credential never touches the agent or its generated code. It lives inside the Gatekeeper. The repository ships fifteen out of the box, including GitHub, Google, Slack, Notion, Confluence, Linear, Supabase, Home Assistant, email, a scheduler, and an MCP portal that connects any existing MCP server without exposing credentials to it.

The permission model is capability-based and zero-trust: an agent starts with access to nothing, and every resource arrives as an explicit, typed grant. The system also records every resource an agent observes, and those observations stay attached to whatever it produces: share a dashboard an agent built by reading a repository, and the Gatekeeper checks that whoever opens it has direct access to that repository. Without that, sharing agent output is a silent data leak.

And then the piece that solves a problem anyone who uses agents recognizes instantly: asynchronous approval. Traditional human-in-the-loop is synchronous: the agent wants to do something sensitive, stops, and waits for you. You hand it a task, walk off for a coffee, and come back to find it stuck on step one. The practical consequence is well known: people give in and turn on auto-approve, the infamous --dangerously-skip-permissions, which is exactly the unsafe thing.

Gatekeepers do something different: when the agent requests an action that needs approval, the Gatekeeper simulates the outcome locally and lets the agent continue. The agent believes the action completed, reads simulated results, and keeps queuing work. When it's done, you approve or reject the actions, in bulk or one by one, whenever it suits you. The agent never blocks; the human never becomes the bottleneck; and nobody has an incentive to switch the safety off.

That idea is stealable for any agent system, and it's probably what gets copied most from this project.


What can you do with it today?

The README's own examples, which give you the measure of the product:

  • "Make slides for my upcoming meeting with a customer": uses the built-in slides Blueprint.
  • "Make a collaborative whiteboard app": builds an app from scratch, with real-time shared state.
  • "Make a tic tac toe game," then: "I'll be X and you be O. I've made my first move. Your turn." Because every app has an agent API, the agent can play inside the app it just built.
  • "Make an issue dashboard for this GitHub repo": attach the repo; the GitHub Gatekeeper mediates access.
  • "Fix the typos in this Google Doc": with the Google Gatekeeper configured.

The underlying pattern is the same one we saw with Buzz: this isn't "chatting with an AI," it's work, data, and apps living in the same place as the agent. The difference is that here every result is a living application you can keep reshaping.

For background automation there are deterministic workflows with targeted AI steps, plus a scheduler Gatekeeper for recurring tasks.


How do you try it, and what do you need?

Three paths, from least to most commitment:

Local, in five minutes. With pnpm installed:

pnpm run-local

Then open http://localhost:8787. The whole stack runs on wrangler and workerd on your machine. Not for production. For seeing what it does.

Deployed to your Cloudflare account, from os.cloudflare.app/deploy. You'll also want Cloudflare Access for authentication and AI Gateway for model routing.

Genuinely self-hosted: the Workers runtime, workerd, is open source, and Cloudflare OS can run entirely on top of it on your own servers. Being built on Workers doesn't mean it only runs on Cloudflare, though let's be honest: the first-class experience is on their cloud, and that's the commercial logic of giving you the software for free.

Models: you choose the provider. All inference routes through AI Gateway, which gives real organizational control: which models are available, which task uses which, budgets and limits per person, team, or workspace. Their own documentation's example: you probably don't want the most expensive frontier model summarizing your unread email every morning.

Free resource, in progress

The full Cloudflare OS setup walkthrough is coming. This companion will cover install, deploy, and every Gatekeeper.

Written from a real hands-on run, not just the README.

The Cloudflare OS Setup Companion

Coming soon · 4Geeks Academy

  • Step-by-step setup for local, deployed, and self-hosted paths
  • Gatekeeper configuration, credential by credential
  • Troubleshooting notes from a real installation, not just the README

Get the companion free

Your copy, in minutes

Pros and cons, unvarnished

For:

  • The most serious security architecture anyone has shipped in this category: capabilities instead of ACLs, credentials isolated from the agent, network closed by default, observations attached to outputs, and asynchronous approval. Not a list of promises. Structural design.
  • Genuinely Apache 2.0, with a real escape hatch via workerd.
  • Dogfooded at scale before release: the entire workforce since May, thousands of daily non-technical users.
  • Gadgets with automatic agent APIs solve something that on every other platform means writing an MCP server.

Against:

  • It's early access and they say so: heavy development, acknowledged rough edges, a v2 rewritten from scratch. The first post-launch commit was a logout fix.
  • The sandbox isn't magic. The sharpest critique in the Hacker News thread: "the AI cannot introduce a significant security bug" is only true while the app can't affect anything outside its sandbox, and useful apps eventually need to touch things outside. The design's answer is Gatekeepers, but the security-utility tradeoff doesn't disappear; it moves into the quality of each Gatekeeper.
  • The gravity toward Cloudflare is real. Running on your own workerd is possible; all the convenience (Access, AI Gateway, one-click deploy) lives on their cloud. It's soft lock-in, but it's lock-in.
  • The Sandstorm question is still open: what does a private instance buy you over a well-isolated container? The 2026 answer, "now the user can modify it with AI," is more convincing than the 2014 one, and still unproven in the market.
  • The name. Half the Hacker News thread was people annoyed that "OS" doesn't mean this. They're right, and it doesn't matter: the name is going to stick.

Cloudflare OS, Buzz, a personal agent, or Copilot?

August 2026 leaves four different answers to "where do my agents live?", and they don't compete head-on:

Cloudflare OSBuzz (Block)OpenClaw / HermesCopilot / ChatGPT Enterprise
What it isAgent workspace + personal appsTeam chat where agents are membersAlways-on personal agent in your messaging appsAssistant inside the suite
Core unitThe Gadget (private app)The channel (conversation)The heartbeat (proactive watching)The document / chat
SecurityCapabilities + Gatekeepers + closed networkPer-agent keypairs + audit trails, permissions bypassed by default in this releaseWhatever you configure (allowlists)The vendor's, opaque
Human approvalAsynchronous (simulate and continue)None by default; channel membership is the only access controlSynchronous or switched offSynchronous
LicenseApache 2.0Apache 2.0Open source (various)Proprietary
InfrastructureWorkers / your own workerdSelf-hostable Nostr relayYour machine or a VPSThe vendor's
MaturityEarly access (v2, Aug 2026)Developer preview (Jul 2026)Months old, huge communityYears, production
Fits whenYou want safe internal apps built by non-programmersYour team lives in chat and wants agents thereYou're a person, not a companyYou already live in that suite

The Buzz comparison is the interesting one, because they shipped fifteen days apart and bet on opposites: Buzz puts agents in the conversation (the channel is the record); Cloudflare OS puts them in the work (the app is the record). Buzz gives you sovereignty through an open protocol (Nostr, your own relay); Cloudflare OS gives you safety through a platform (capabilities, Workers sandboxes). On Hacker News you could already find someone calling Buzz the more reasonable direction, and someone arguing the opposite because of how serious the security model is. There's no verdict yet; there are two well-executed philosophies.


The verdict

Cloudflare OS is two things at once, and they deserve separate grades.

As a product, it's early access in every sense: freshly rewritten, with acknowledged rough edges, and a practical dependence on Cloudflare's cloud that the open license softens but doesn't remove. If you need something to roll out to 200 people tomorrow, wait two or three releases.

As a set of ideas, it's the most serious thing published in this category. Asynchronous approval with simulated results solves the actual reason people turn their agents' safety off. Observations attached to outputs close a data leak almost nobody talks about. And the Sandstorm thesis, personal-instance software finally viable because AI writes the code, is the year's only genuinely new answer to "what is an application?"

Our recommendation: run it locally this week (it takes five minutes), steal the ideas even if you never adopt the platform, and decide about the platform in a few months. The ideas are already worth your time; the platform still has to earn it.

Getting real value out of a system like this rewards the craft of an AI prompt engineer: precise asks, curated context, knowing when the model is wrong. And someone has to design the capabilities, write the Gatekeepers, and supervise the agents, that's the job of an AI engineer, a role whose job outlook keeps strengthening as companies wire agents into everyday work. If you want to go from reading about these systems to building them, 4Geeks Academy's AI Engineering career program trains developers on this stack from day one: real projects, live mentorship, and support all the way to getting hired.


Published August 6, 2026. Facts verified against the official repository and documentation on that date. Sources: the official repository, Cloudflare's technical announcement, the press release, Kenton Varda's thread, and the Hacker News discussion.

Start Your AI Career Today

Join thousands of graduates who have transformed their careers with 4Geeks Academy.

Frequently Asked Questions