Cloudflare Launches Open-Source AI Agent Platform for Enterprise Productivity

Reviewed byNidhi Govil

7 Sources

Share

Cloudflare has open-sourced Cloudflare OS, an AI agent platform initially built for its thousands of employees. The AI agentic workspace lets enterprise employees build apps and automate workflows through natural language descriptions without coding expertise, while a security and governance framework aims to prevent data breaches through sandboxing and permission controls.

News article

Cloudflare OS Brings AI Agent Platform to the Enterprise

Cloudflare has released Cloudflare OS as an open-source AI agent platform, making available on GitHub the same productivity tool thousands of its enterprise employees use daily

1

. CEO Matthew Prince announced in May that the company gave every employee access to the AI agentic workspace, which enables workers from engineering to sales to create documents, build slides, and automate repeatable tasks

5

. The platform represents a shift from traditional software-as-a-service models by allowing users to describe workflows in natural language descriptions so AI agents can code them into customizable AI apps.

The AI-driven operating system combines three core components: an agent workspace grounded in company-curated context and skills with an isolated runtime where AI agents write and run code, a security and governance framework for controlled access to internal data, and a platform for building personal, modifiable full-stack applications that users can share and continue changing

3

. "Cloudflare OS is how we run Cloudflare. For AI to truly transform an enterprise, it can't live in a silo or behind a developer bottleneck. Every employee needs the ability to build, iterate, and automate safely," Prince stated

5

.

Security Framework Addresses Vibe-Coding Risks

The security and governance framework tackles a critical challenge in AI agent platforms: preventing data breaches when non-technical enterprise employees build applications through vibe-coding. "This is a full-on personal app vibe coding platform, in which the sandboxing is so secure that you can pretty much go wild -- the AI cannot introduce a significant security bug," said Kenton Varda, principal engineer at Cloudflare

1

. The platform creates fine-grained app instances where each document or application runs as a separate instance in its own sandbox, managing permissions for who can access each instance.

The sandboxing mechanism relies on Cloudflare's Dynamic Workers feature, which creates "isolates" -- instances of the V8 JavaScript execution engine -- rather than typical software containers

1

. These isolates start up in just a few milliseconds and use only a few megabytes of memory, making them 100 times faster and 10-100 times more memory-efficient than standard containers. AI agents start with zero permissions to access or share resources and must request them through the platform, with server code running with global outbound networking disabled and client code operating in a sandboxed browser frame.

Gatekeeper System Controls AI Agent Access

Cloudflare developed a Gatekeeper system that functions as enhanced Model Context Protocol servers, mediating between AI agents and company resources

4

. When users introduce an AI agent to an external resource, a Gatekeeper -- a service-specific Cloudflare Workers instance -- is created to manage that access. CIO Sam Rhea explained that handing API keys to people and AI agents is dangerous because keys provide broad, long-lived access that's difficult to constrain or audit

4

.

The Gatekeeper provides a clean API to external services, handles authorization through OAuth, enforces narrow access to only the specific resource the user intended, and logs every action for review

2

. For actions with side effects, it implements an advanced human-in-the-loop approval system. Unlike traditional synchronous approval processes where AI agents must stop and wait, Gatekeepers simulate outcomes locally, allowing agents to continue working and queue additional actions. Users can then approve or reject actions in bulk or individually at their convenience, preventing the workflow interruptions that often lead people to enable unsafe auto-approve settings.

Platform Enables Personal, Modifiable Productivity Apps

Cloudflare OS departs from the centralized software model of the past 25 years by giving each user their own copy of the productivity tool they create. When someone builds a slide deck, the system creates a private instance of the slide deck software just for that user as a "gadget" running in a separate sandbox from everyone else's decks

2

. This architecture produces two effects: it eliminates security boundaries between users since each runs isolated code, and it enables anyone to modify their apps by prompting an AI agent without affecting other users' versions.

Each app an AI agent builds is a real Cloudflare Workers instance, utilizing Dynamic Workers and Durable Objects the company developed for this project, communicating with clients over Cap'n Web, Cloudflare's open-source object-capability RPC system

4

. The platform allows enterprise employees to quickly spin up applications with isolated databases, real-time capabilities, and access controls without developer expertise. Built on Cloudflare Access, it operates as a zero-trust model by default, verifying every user and every request before granting access

5

.

Lessons Learned from Internal Deployment

Cloudflare shared hard lessons from months of internal testing before the open-source release. One early mistake involved giving everyone outside the engineering team "the same tools with slightly friendlier user interfaces," which proved unsuitable for knowledge work involving one-off outputs and projects spanning dozens of systems

1

. "If you give everyone a harness workspace that is great at writing code, you'll wind up with way more code than you need," Rhea wrote, noting the result became "a flood of vibe coded apps looking for a problem to solve."

The growing use of AI agents meant "anyone at Cloudflare could now write bad code, faster, thanks to AI," prompting the organization to create the Cloudflare Engineering Codex, an authoritative guide helping both human engineers and AI agents review code and catch potential issues

1

. The company also improved the platform so running skill files for specific workflows relies more on deterministic steps with AI inference used only when needed, rather than requiring a token-hungry inference session each time.

Bring-Your-Own-Model Approach and Cost Controls

Through Cloudflare AI Gateway, organizations can use any AI model provider without vendor lock-in

5

. "Not every user needs access to the max thinking mode of the latest frontier lab model," Rhea noted, adding that teams don't need members "spending $20 to summarize their email inbox every hour"

1

. Administrators can monitor AI inference spending broken down by person, team, and app, setting budgets and rate limits or routing tasks by complexity -- sending routine tasks to small, efficient models and reserving frontier models for high-reasoning needs.

The platform's open-source nature means organizations deploying it on their own Cloudflare account own everything they build, maintaining processes, context, and internal system connections without getting locked into a closed product

5

. Matthew Prince emphasized this ownership model: "We built this because nothing else did what we needed. Now any company can start from where it took us years to get." The August 2026 release represents a complete version 2 rewrite, though Cloudflare acknowledges the platform still has rough edges and considers it an early access release

2

.

Today's Top Stories

© 2026 TheOutpost.AI All rights reserved