Give an AI agent a sandboxed Linux environment to run real commands and binaries in.
Build an agent tool that reads and writes files through a durable, synced virtual filesystem.
Run untrusted JavaScript or shell code from an agent inside an isolated Cloudflare Worker.
Compare agent performance across container, shell, and JavaScript execution backends.
| cloudflare/computer | cloudflare/cloudflare-os | twbs/icons | |
|---|---|---|---|
| Stars | 7,922 | 8,003 | 8,009 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | moderate | easy |
| Complexity | 4/5 | 4/5 | 1/5 |
| Audience | developer | developer | designer |
Figures from each repo's GitHub metadata at analysis time.
Preview-only package with unstable APIs, not suitable for production use.
Cloudflare Computer gives an AI agent something like its own virtual computer to work in. At its core is a virtual filesystem that lives inside a Durable Object, a type of Cloudflare storage that keeps authoritative state in SQLite, and this filesystem can be plugged into different ways of actually running code. Three execution backends ship today. The Container backend projects the filesystem into a real sandboxed Linux environment with real binaries and network access, mounted through a component called computerd. The Isolate shell backend runs a lightweight shell tool called just-bash directly inside a Cloudflare Worker, without needing a separate sync step. The Isolate JavaScript backend runs actual JavaScript modules in a fresh Worker, with access to the same filesystem through familiar Node-style file APIs. The project ships with a large set of runnable examples, showing an agent writing files and running commands in a container, an MCP tool backed by the workspace, a chat agent using the workspace as a working directory, and a tutorial that walks through building an agent that writes a markdown file and converts it to a PDF. The maintainers are explicit that this is a preview release only. The APIs are unstable and the design may change, so it is meant for experiments and prototypes rather than production systems. It is written in TypeScript, structured as a small monorepo of packages, and released under the MIT license.
Cloudflare Computer gives an AI agent a virtual filesystem and pluggable sandboxed runtimes to read, write, and execute code in.
Mainly TypeScript. The stack also includes TypeScript, Cloudflare Workers, Durable Objects.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.