Cloudflare Computer is an open-source agent runtime introduced by Cloudflare in August 2026 that gives every AI agent its own "computer". It provides a persistent, SQLite-backed virtual filesystem living inside a Durable Object, plus pluggable execution backends — so agents can read, write, edit files, run shell commands, work with Git, and publish projects without any VPS, Docker daemon, or container orchestration of your own.
Key Features
- Durable Virtual Filesystem: A workspace backed by SQLite in a Durable Object that survives restarts, with R2-backed mounts for pre-filling read-only data.
- Three Execution Backends: A full Linux container (real binaries, real network, FUSE-mounted workspace synced via capnweb), a lightning-fast just-bash isolate shell in a Dynamic Worker, and an isolated JavaScript (ECMAScript module) runtime.
- Runtime Selection Built In: The
workspace.runtime.exec()entry point lets the model pick the right backend per task — fast cheap isolates for file/data work, containers only when real userland is needed. - AI SDK Toolkit: Ready-made tools (read, write, edit, ls, exec, publish) compatible with the AI SDK, usable with
@cloudflare/agentsand other agent frameworks. - Git & Artifacts Support: Built-in git client (
ws:git) and Cloudflare Artifacts integration (ws:artifacts) for cloning, committing, and publishing projects. - Gated, Audited, Observed: All file and execution operations are permission-gated and logged, giving a clear paper trail of what the agent did.
Use Cases
Who Should Use This Tool?
- Agent Platform Builders: Teams shipping autonomous agents that need reliable, durable file state and code execution without managing VMs.
- Edge Developers: Anyone already on Cloudflare Workers, Durable Objects, and R2 who wants code execution co-located with their stack.
- Indie Hackers: Solo developers who want a $0 option to give their agent a real Linux environment, npm, Node, and Git.
Problems It Solves
- State loss across agent runs: The SQLite-backed workspace survives restarts, so long-running agents keep their files.
- Execution environment sprawl: One runtime dynamically routes between isolates and containers instead of forcing a single primitive.
- Infrastructure cost: No VPS, no Docker, no API bill — an agent's computer runs inside Workers with free-tier-friendly usage.
Pricing
| Plan | Price | Features |
|---|---|---|
| Open Source | $0 | Self-host the library on your own Workers account; pay only Cloudflare usage (Workers, DO, R2). |
| Cloudflare Workers | Usage-based | Active CPU ~$0.072/vCPU-hr plus Workers requests, Durable Objects, and a $5/month base (Cloudflare pricing). |
Advantages & Unique Selling Points
Compared to Competitors:
- No container by default: Most sandboxes boot a VM or container per task; Cloudflare Computer runs most work in isolates and falls back to containers for under ~10% of tasks.
- Deep edge integration: Native Durable Objects persistence, R2 mounts, and Workers bindings that standalone sandbox providers can't match.
- Open source: The full
@cloudflare/computerpackage is on GitHub with examples, unlike closed managed sandboxes.
What Makes It Stand Out:
- The "filesystem as a durable object" model — state and execution live in the same place.
- AI SDK-compatible tooling designed for frontier models to route themselves.
- Free to start, with a genuinely useful free tier.
User Reviews
"Giving agents a persistent filesystem in a Durable Object is the right abstraction. No VPS, no Docker, no API bill." — Social post shared after the launch announcement
"The runtime selection works — frontier models are surprisingly good at choosing the fast isolate for file work and containers only when they need real binaries." — Commenter on the Cloudflare blog
Getting Started
Quick Start Guide
- Install the package:
npm install @cloudflare/computer - Create a Workspace: Instantiate a
Workspaceon any Durable Object with{ storage: this.ctx.storage }. - Attach backends: Add a
CloudflareContainerBackend,WorkerShellBackend, orWorkerJavaScriptBackend. - Hand tools to your agent: Use
@cloudflare/computer/toolsto expose read/write/edit/ls/exec to any AI SDK agent.
Integration
Integrates seamlessly with:
- Cloudflare Workers, Durable Objects, R2, and Cloudflare Containers
- AI SDK and
@cloudflare/agents - any-isomorphic-git based workflows
Frequently Asked Questions
Does it run Linux binaries?
Yes, the container backend projects the SQLite workspace into a sandbox container as a real FUSE mount with a full Linux userland, real binaries, and real network.
Is the filesystem really persistent?
Yes, the Durable Object holds the authoritative state in SQLite, so all file operations survive DO restarts.
Is it free?
The library is open source and self-hostable; you pay only for Cloudflare usage underneath. There is no separate per-seat agent fee.
Alternatives
If Cloudflare Computer isn't the right fit, consider these alternatives:
- E2B: Best for Firecracker-microVM isolation on a dedicated sandbox platform.
- Daytona: Better if you need persistent full dev environments with GPU sandboxes.
- Modal: More suitable for Python/ML workloads with GPU-backed compute.
Tips & Best Practices
- Let the model route: Keep both isolate and container backends available and rely on tool descriptions to pick the right one.
- Use R2 mounts for read-only data: Pre-fill large datasets without copying them into the workspace.
- Audit everything: Keep gating and logging enabled so long-running autonomous agents leave a recoverable paper trail.
Conclusion
Cloudflare Computer turns Cloudflare's edge into a cheap, durable "computer" for AI agents — a persistent filesystem plus switchable execution environments, all open source and free to start. If you're building agents on Workers or want to stop paying for idle VPS capacity, it's worth a serious look.
Comments
No comments yet. Be the first to comment!
Related Tools
Daytona
daytona.io
Open-source AI agent sandbox platform: full composable environments with dedicated kernels, ~90ms creation, persistent stateful workspaces, snapshots and forking, GPU sandboxes, and computer use across Linux/Windows/macOS/Android. 72,000+ GitHub stars.
E2B
e2b.dev
The enterprise AI agent cloud: open-source, Firecracker-microVM-isolated sandboxes for AI agents — code execution, computer use, and code interpreters in under 200ms. 1B+ sandboxes started, used by 94% of the Fortune 100.
Modal
modal.com
Serverless cloud platform with a dedicated Sandbox API for executing untrusted AI agent code. Python-native, gVisor isolation, GPU access T4 through B200, scale to zero, per-second billing. 1B+ sandboxes run.
Related Insights
After I Connected Obsidian to OpenClaw, It Started Helping Me Make Decisions
Once Obsidian stopped being just a place to store notes and started working with OpenClaw, it began helping me organize context, connect information, and improve real decisions.
Stop Cramming AI Assistants into Chat Boxes: Clawdbot Picked the Wrong Battlefield
Clawdbot is convenient, but putting it inside Slack or Discord was the wrong design choice from day one. Chat tools are not for operating tasks, and AI isn't for chatting.
The Twilight of Low-Code Platforms: Why Claude Agent SDK Will Make Dify History
A deep dive from first principles of large language models on why Claude Agent SDK will replace Dify. Exploring why describing processes in natural language is more aligned with human primitive behavior patterns, and why this is the inevitable choice in the AI era.