08 / REFERENCE ARCHITECTURE

Cloudflare OS explained

A secure runtime for agentic work.

Cloudflare OS makes AI-created apps and agent work private, isolated, and capability-scoped. Pair it with a continuous-learning architecture and those safe actions can also become shared decisions, reusable knowledge, and better future work.

EARLY ACCESS

Cloudflare describes the August 2026 v2 release as capable, but still under heavy development.

A protected AI workspace connected through guarded portals to data, documents, code, and collaborators
One protected workspaceExplicit capabilities only
Isolated by defaultIntroduce a capabilityMediate the actionApprove the effect

The core idea

Not a desktop OS.
An OS for AI work.

Cloudflare uses “operating system” in two ways: a company-wide environment for productive, safe AI use—and a runtime that manages agent workloads much as a conventional OS manages processes and devices.

Agent

Does the work

A general-purpose Code Mode agent writes and runs small programs, uses company context, and can build applications.

Gadget

Becomes the software

A private, modifiable app instance runs in its own sandbox. Reusable application code can be shared as a Blueprint.

Gatekeeper

Controls the boundary

A service-specific capability layer holds credentials, narrows resource access, logs activity, and mediates side effects.

System map

Security lives at
the boundaries.

Generated code is treated as untrusted. The platform—not the prompt—enforces identity, isolation, egress limits, narrow resource introductions, and approval.

IDENTITY EDGE
PeopleSSO · Access · MFA · device policy
CLOUDFLARE OS
Durable workspaceAgent
Dynamic Worker FacetGadget
Shared codeBlueprint
CONTROL PLANES
MODEL CONTROLAI Gateway

Approved models · spend · rate limits · logging

TOOL CONTROLGatekeepers

OAuth · resource scope · simulation · approval · audit

SYSTEMS OF RECORD
ModelsGitHubJiraDatabasesDocsInternal APIs
OBSERVABILITY + SIEMmodel useresources observedactions proposedconsent decisionssharing events

Why the “OS” analogy works

Familiar primitives,
new agent semantics.

The analogy is useful because it makes the trust model concrete: applications become processes, connections become device drivers, and agents need permissions that are restricted yet accountable to a person.

Traditional OSCloudflare OS
KernelWorkshop backend
Device driversGatekeepers
ShellWorkshop frontend
ProcessesGadgets
ExecutablesBlueprints
Access controlShared permissions + capabilities
New primitiveAgents accountable to users

Architecture comparison

Execution substrate
meets learning system.

Cloudflare OS and the continuous-learning organization solve adjacent problems. One secures a unit of agentic work. The other decides how work becomes shared meaning and compounds across time.

Cloudflare OS

Safe local agency

Optimize each workspace, agent, and Gadget for productive action without ambient access.

  • Sandboxed execution
  • Capability introductions
  • Gatekeeper approvals
  • Private, modifiable apps

Continuous-learning organization

Shared organizational intelligence

Route meaningful outputs into collaboration, decisions, memory, reuse, and governed reflection.

  • Private and visible layers
  • Communication router
  • Memory and cache
  • Learning across cycles
DimensionCloudflare OSContinuous-learning organizationCombined architecture
Primary questionHow can people and agents safely build and use software?How does relevant work become shared understanding and better future action?How can safe action become governed learning?
Core unitUser · workspace · agent · GadgetIndividual · team · organizationBounded workspaces connected by policy
Trust boundarySandbox · binding · Gatekeeper · approvalRouter · audience · authority · knowledge scopeCapabilities govern access; routers govern meaning
Human roleGrant resources and approve side effectsInterpret, decide, correct, and teachAuthorize action and shape what is learned
Knowledge over timeWorkspace state, company context, observed-resource lineageMemory, cache, and governed “dreaming”Operational state feeds reusable organizational knowledge
Best atSecure agent executionOrganizational cognitionProgressive, auditable autonomy
A secure agent workspace feeding a cycle of team decisions, memory, reflection, and improved guidance

The bridge

Secure work becomes organizational learning.

Cloudflare OS protects the act. The learning architecture determines what should travel beyond the workspace, who should see it, what authority is required, and what should be remembered.

The combined loop

Six moves from
prompt to progress.

The missing link is a policy bridge between a protected workspace and organizational memory. This is where the two architectures become one operating model.

01

Execute

An agent works privately inside an isolated Cloudflare OS workspace.

02

Mediate

A Gatekeeper scopes resources and simulates side effects that need approval.

03

Promote

The communication router surfaces decisions, risk, evidence, and exceptions.

04

Decide

People approve the action, correct assumptions, and add judgment.

05

Learn

Memory preserves, cache reuses, and governed reflection reconciles knowledge.

06

Improve

Better context and policy return to the next bounded workspace.

Enterprise deployment

Pilot the platform.
Earn the autonomy.

The conceptual security model is strong; the software is still early access. A sensible enterprise adoption path keeps access narrow, environments isolated, and autonomy proportional to evidence.

01

Zero access first

No data, internet, systems, or write actions until an explicit capability is introduced.

02

No direct credentials

Agents call Gatekeepers. Gatekeepers retain OAuth tokens and service credentials.

03

Separate read from act

Allow observation, support preparation, and require approval for consequential execution.

04

Govern models centrally

Route model traffic through AI Gateway for approved providers, cost, rate, and audit controls.

05

Pin and promote

Own a company deployment repo; move tested releases through dev, pilot, and production.

06

Audit the lifecycle

Record what agents observed, proposed, shared, executed, and learned—not only tool calls.

SECURITY VALIDATIONREAD-ONLY PILOTAPPROVED ACTIONSCONTROLLED AUTONOMYBROAD PLATFORM