AI product Open source
Cloudflare Computer is an open-source library that provides AI agents with a virtual filesystem backed by a Cloudflare Durable Object. The Durable Object stores the authoritative state in SQLite, while the workspace exposes a single execution interface through `workspace.runtime.exec(source, { backend })`.
It supports three execution backends: Container projects the SQLite state into a sandbox container through a FUSE mount and synchronizes changes over capnweb RPC; Isolate shell runs `just-bash` in a Dynamic Worker; and Isolate JavaScript runs an ECMAScript module in a fresh Dynamic Worker with structured inputs and results, durable relative imports, configured libraries, workspace-backed `node:fs/promises`, and trusted `ws:git` and `ws:artifacts` modules. Workspaces can register multiple backends under stable identifiers, connect to them lazily, or be used solely as a filesystem without an execution backend.
The repository includes examples for container, Worker shell, Worker JavaScript, egress policies, MCP, agent workspaces, tutorials, artifacts, and assets. The package is marked preview-only: its APIs are unstable and the repository says it is intended for experiments, exploration, and prototypes rather than production use.
2 uses taken from transcripts — each links to the moment in the video.
An open-source library that gives AI agents a real computer inside a Cloudflare Durable Object, with a virtual file system and pluggable execution backends.
Gives an agent a filesystem whose authoritative copy lives in a durable-object SQLite database, projecting it into containers, shells, or ECMAScript workers.
2 in the library.