Cloudflare Computer: Give Your Agent a Virtual Filesystem
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Cloudflare Computer is an innovative project that provides a virtual filesystem within a Durable Object, allowing agents to interact with a persistent state. It offers pluggable execution backends, including containerized Linux environments and serverless Workers, enabling flexible and powerful agent computing. Currently in preview, it's ideal for experiments and prototypes leveraging Cloudflare's edge infrastructure.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Cloudflare Computer is an innovative project designed to provide a virtual filesystem within a Cloudflare Durable Object. This system maintains its authoritative state in SQLite, offering a persistent and reliable storage solution. A key feature is its pluggable execution surface, workspace.runtime, which allows for diverse computing environments.
It currently ships with three distinct backends:
- Container: Projects the SQLite state into a sandbox container as a real FUSE mount, providing a full Linux userland with real binaries and network access.
- Isolate shell: Runs just-bash in a Dynamic Worker, interacting with the authoritative Workspace over Workers RPC.
- Isolate JavaScript: Executes an ECMAScript module in a fresh Dynamic Worker, complete with structured input/results and Workspace-backed filesystem capabilities.
Please note, Cloudflare Computer is currently in PREVIEW ONLY. Its APIs are unstable, and the design is subject to change. It is suitable for experiments, exploration, and prototypes, but not yet for production use.
Installation
To begin building with Cloudflare Computer, you can install the core package:
npm install @cloudflare/computer
For detailed installation steps, entrypoint maps, and worked examples of the fs and runtime surfaces, please refer to the README of the @cloudflare/computer package within the repository.
Examples
The repository includes an examples/ directory, showcasing various ways to utilize Cloudflare Computer. Each example is a Worker workspace with its own README:
- Container: Demonstrates running
computerdinside a container, mounting a workspace, and communicating with a Durable Object over capnweb. - Worker Shell: Shows a similar HTTP surface to the container example, but the shell runs just-bash in a Dynamic Worker.
- Worker JavaScript: Mirrors the
worker-shellexample, but executes an ECMAScript module in a Dynamic Worker instead of a shell command. - Think: An example of a @cloudflare/think chat agent that uses the workspace as its working directory.
- Tutorial: A step-by-step guide building an agent that writes a markdown recipe card and converts it to a PDF using
pandocin a container. - Artifacts: Generates a Worker project within a workspace and publishes it to Cloudflare Artifacts.
- Assets: Turns a prompt into an image using Workers AI, writes it to the workspace, and returns a shareable link.
Why Use It
Cloudflare Computer offers a unique platform for developing intelligent agents and serverless applications that require persistent state and flexible execution environments. By combining a virtual filesystem with Cloudflare's Durable Objects and Workers, it enables developers to:
- Provide agents with a "working directory" that persists across invocations.
- Execute code in diverse environments, from full Linux containers to lightweight JavaScript or shell Workers.
- Leverage Cloudflare's global network for low-latency, scalable operations.
- Experiment with advanced agent architectures and serverless computing patterns.
Links
- GitHub Repository: https://github.com/cloudflare/computer
- License: https://github.com/cloudflare/computer/blob/main/LICENSE
- Documentation: https://github.com/cloudflare/computer/tree/main/docs
Related repositories
Similar repositories that may be relevant next.

code-session-memory: Automatic Vector Memory for AI Coding Sessions
August 15, 2026
code-session-memory provides automatic vector memory for various AI coding tools like OpenCode, Claude Code, Cursor, VS Code, Codex, and Gemini CLI. It indexes new messages into a vector database after each AI agent turn, enabling semantic search across all your past coding sessions. This tool ensures memory is shared across different platforms, enhancing developer productivity.

SwarmClaw: Self-Hosted AI Agent Runtime for Autonomous Swarms
August 13, 2026
SwarmClaw is an open-source, self-hosted AI agent runtime and multi-agent framework designed for autonomous agent swarms. It offers durable agent memory, MCP tools, schedules, and delegation, supporting over 23 LLM providers including Claude, GPT, Gemini, OpenRouter, and Ollama. This platform serves as a practical alternative to solutions like Claude Code and LangChain for those seeking self-hosted AI agent orchestration.

json-render: The Generative UI Framework for Dynamic Interfaces
August 12, 2026
json-render is a powerful Generative UI framework that allows developers to create dynamic, personalized user interfaces from natural language prompts. It ensures reliability by constraining AI-generated output to predefined components and actions, offering a predictable and safe way to build cross-platform UIs.

Mercury Agent: A Soul-Driven AI with Hardened Permissions and Multi-Channel Access
August 12, 2026
Mercury Agent is a sophisticated, soul-driven AI agent designed for continuous 24/7 operation, offering robust permission-hardened tools, intelligent token budgeting, and versatile multi-channel access. It remembers what matters, asks for permission before acting, and runs seamlessly from the CLI, Telegram, or a web dashboard. With 31 built-in tools, Kanban boards, and a SQLite-backed Second Brain memory, Mercury provides a comprehensive and secure AI assistant experience.
Source repository
Open the original repository on GitHub.