Cloudflare computer blog post showing agent runtime architecture Image: Cloudflare / blog.cloudflare.com
by VibecodedThis

Cloudflare Launches @cloudflare/computer: A Linux Environment for Every Coding Agent

Released as part of Cloudflare Agents Week on August 3, @cloudflare/computer is an open-source npm package that gives AI coding agents their own computer — a virtual filesystem backed by SQLite, with shell access, isolates, and full Linux containers on demand.

Share

Cloudflare published @cloudflare/computer on August 3 as part of Agents Week 2026. It’s an open-source npm package that gives AI coding agents their own compute environment: a virtual filesystem, shell access, and the ability to run code in either fast isolates or full Linux containers, depending on what the task needs.

The premise is simple. The most capable coding agents work by having an actual computer to operate on: a filesystem, a shell, installed packages, and the ability to run code and check the results. @cloudflare/computer provides that as a managed runtime.

How it works

The core is a virtual filesystem backed by SQLite, which can be populated from cloud storage or source control. That filesystem is shared between two execution environments:

Isolate runtime: A just-bash layer converts shell commands into JavaScript, running in Cloudflare Workers (V8 isolates). Fast to spin up, low memory. Good for most tasks.

Container runtime: Full Linux environments via Cloudflare Containers, accessing the same filesystem through FUSE mounts. Slower to start, but necessary when agents need to install packages, run arbitrary binaries, or do anything that requires a real OS.

The key part is that the agent decides which runtime to use. Cloudflare provides AI SDK-compatible tools — read, write, edit, ls, exec — that guide frontier models toward picking the right environment. Their stated goal is that containers handle less than 10% of agent work. In their own testing, frontier models are “very good at making the correct decision.”

Why this matters for coding agents

The container-vs-isolate tradeoff is one of the main infrastructure problems with coding agents at scale. Containers give you a proper environment but are expensive and slow to provision. Isolates are fast and cheap but can’t do everything. Having the agent route between them dynamically, on a shared filesystem, is a cleaner architecture than spinning up a container for every session.

Cloudflare acquired the team behind Astro in January 2026 and has been using this system internally to build, test, and deploy JavaScript applications and generate documentation. The GitHub issue backlog story is the most visible result of that work.

Availability

The package is in early preview and open-source. You can install it via:

npm install @cloudflare/computer

Pricing isn’t announced. Cloudflare says they’re “shipping it to learn with customers,” which is honest framing for an early preview.

The full technical writeup is on the Cloudflare blog.

Share