Cloudflare Introduces Cloudflare Computer to Provide Virtual Filesystem Environments for AI Agents
Cloudflare has unveiled Cloudflare Computer, a virtual filesystem infrastructure powered by Durable Objects and SQLite that maintains persistent state for AI agents. The tool allows developers to execute shell commands and ECMAScript modules within a stateful, managed sandbox.

Cloudflare Computer offers a virtual filesystem infrastructure tailored to the needs of AI agents. Built on top of Cloudflare Durable Objects and using SQLite as a storage backend, this framework enables developers to persist state and manage permissions seamlessly across executions. This approach addresses the historical limitations of stateless serverless environments, which typically struggle to maintain persistent file system contexts for continuous agent operations.
Primary source
Open GitHub Trending ↗This article summarizes the source. Check the original for full details and conditions.
Comparison
| Aspect | Before / Alternative | After / This |
|---|---|---|
| State management | Stateless execution environments requiring external database or storage syncing | Stateful execution persisted inside Durable Objects with SQLite virtual filesystems |
| Execution entrypoint | Complex orchestration of discrete cloud functions and API endpoints | Single workspace.runtime.exec entrypoint for shell and ECMAScript commands |
| Resource management | Decoupled computing instances and separate storage buckets | Co-located storage and runtime allowing lazy execution and dynamic backend switching |
Action Checklist
- Deploy a Cloudflare Durable Object to act as the primary storage backend Ensure your Cloudflare account has Durable Objects enabled before setting up the workspace
- Configure the three standard backends provided in the preview release Verify the behavior of each backend to understand their specific performance and cost tradeoffs
- Implement the workspace.runtime.exec entrypoint in your AI agent flow Test both shell commands and ECMAScript module execution paths within your runtime sandbox
- Monitor Durable Object scaling behavior and transactional storage costs Since this is a preview, API structures and Cloudflare resource limits may change