# computer | Cloudflare | Knowledge Base | Instagit

Give your agent a computer 👾

GitHub Stars: 4.8k

Repository: https://github.com/cloudflare/computer

---

## Articles

### [How the workspace.git Client Integrates isomorphic-git with SQLite VFS](/cloudflare/computer/how-does-workspace-git-client-work-with-isomorphic-git-and-local-sqlite-vfs)

Discover how the workspace.git client integrates isomorphic-git with SQLite VFS for pure JavaScript Git operations in a Workspace. Learn about the VirtualProvider wrapper and lazy initialization.

- Tags: internals
- Published: 2026-09-04

### [How to Execute Code and Commands Using `workspace.runtime.exec` in the Cloudflare Computer SDK](/cloudflare/computer/how-to-execute-code-and-commands-using-workspace-runtime-exec)

Learn to execute code and commands with workspace runtime exec in the Cloudflare Computer SDK. Gain control over process lifecycle, stream output, and retrieve results.

- Tags: how-to-guide
- Published: 2026-09-04

### [workspace.fs.grep and workspace.fs.find Features in Cloudflare Computer](/cloudflare/computer/what-are-features-of-workspace-fs-grep-and-workspace-fs-find)

Explore Cloudflare Computer's workspace.fs.grep and workspace.fs.find for efficient file system searching. Search file content with grep or locate files by path with find, both offering powerful pagination and filtering.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Perform Paginated Reads with workspace.fs.readdir in Cloudflare Computer](/cloudflare/computer/how-to-perform-paginated-reads-with-workspace-fs-readdir)

Learn to perform paginated reads with workspace.fs.readdir in Cloudflare Computer. Efficiently slice directory results using limit and offset options for faster operations.

- Tags: how-to-guide
- Published: 2026-09-04

### [How the withWorkspace Mixin Simplifies Durable Object Integration](/cloudflare/computer/how-does-withworkspace-mixin-simplify-durable-object-integration)

Simplify Durable Object integration with the withWorkspace mixin. It auto-provisions private Workspace instances, reducing boilerplate and enabling seamless cross-Worker RPC communication.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Enable Command and Code Execution by Adding Backends to Workspace in Cloudflare Computer](/cloudflare/computer/how-to-enable-command-and-code-execution-by-adding-backends-to-workspace)

Learn to enable command and code execution in Cloudflare Computer Workspaces by adding backends. Route execution to Container, Shell, or JavaScript runtimes easily.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Instantiate and Use the Workspace Class in a Cloudflare Durable Object](/cloudflare/computer/how-to-instantiate-and-use-workspace-class-in-durable-object)

Learn to instantiate and use the Workspace class in a Cloudflare Durable Object. This essential wrapper connects your object to SQLite, computerd daemons, and backend services via a coordinated runtime API.

- Tags: how-to-guide
- Published: 2026-09-04

### [How the computerd Daemon Is Shipped and What It Implements in Cloudflare Computer](/cloudflare/computer/how-is-computerd-daemon-shipped-and-what-does-it-implement)

Discover how the computerd daemon is shipped and its FUSE filesystem driver, Cap'n Proto RPC server, and process-execution subsystem for managing remote workloads in Cloudflare Computer.

- Tags: internals
- Published: 2026-09-04

### [What Is @cloudflare/computerd? Understanding the Cloudflare Computer Daemon](/cloudflare/computer/what-is-function-of-cloudflare-computerd-package)

Discover the @cloudflare/computerd package, a FUSE-backed virtual filesystem server for remote file operations and command execution in Cloudflare Computer workloads. Learn more today.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Use pullOnce and pushOnce Helpers for Sync Rounds in Cloudflare Computer](/cloudflare/computer/how-to-use-pullonce-and-pushonce-helpers-for-sync-rounds)

Master sync rounds in Cloudflare Computer using pullOnce and pushOnce helpers. Learn how to synchronize local databases with remote SyncRPC interfaces efficiently.

- Tags: how-to-guide
- Published: 2026-09-04

### [How the Capnweb RPC Protocol Connects Durable Objects to computerd](/cloudflare/computer/how-does-capnweb-rpc-protocol-work-between-do-and-computerd)

Understand how the Capnweb RPC protocol connects Durable Objects to computerd via WebSockets. Learn about its SyncRPC and ShellRPC interfaces for efficient data exchange.

- Tags: internals
- Published: 2026-09-04

### [What Is @cloudflare/computer-rpc? Inside Cloudflare Computer's RPC Layer](/cloudflare/computer/what-is-purpose-of-cloudflare-computer-rpc-package)

Discover the @cloudflare/computer-rpc package, the essential layer connecting Cloudflare Durable Objects and the computerd process for command execution and filesystem sync via cap'n-proto.

- Tags: deep-dive
- Published: 2026-09-04

### [How AI SDK Tools Are Wired for Agents in Cloudflare Computer](/cloudflare/computer/how-are-ai-sdk-tools-wired-for-agents-in-cloudflare-computer)

Discover how Cloudflare Computer wires AI SDK tools for agents. Learn how the createAITools factory enables file operations and command execution in sandboxed backends. Explore the cloudflare computer repository today.

- Tags: internals
- Published: 2026-09-04

### [How to Expose the Unified Workspace API in Cloudflare Computer: A Complete Guide](/cloudflare/computer/how-to-expose-unified-workspace-api-in-cloudflare-computer)

Learn to expose the unified Workspace API in Cloudflare Computer. Instantiate the Workspace class in a Durable Object, invoke ready(), and return workspace.stub() for filesystem, runtime, Git, and artifact operations.

- Tags: how-to-guide
- Published: 2026-09-04

### [What Is the @cloudflare/computer Package? Architecture and Virtual Filesystem for Durable Objects](/cloudflare/computer/what-is-cloudflare-computer-package-responsible-for-in-architecture)

Discover the @cloudflare/computer package. It turns Durable Objects into persistent sandboxes with a virtual filesystem, fs APIs, and pluggable runtimes for robust development.

- Tags: architecture
- Published: 2026-09-04

### [Sync Protocol Building Blocks in @cloudflare/dofs: A Complete Guide](/cloudflare/computer/what-are-the-sync-protocol-building-blocks-in-cloudflare-dofs)

Explore the @cloudflare/dofs sync protocol's eleven modules like watermarks, push, and fetch for incremental, resumable synchronization with a remote SQLite backend. Master local filesystem syncing.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Use the @platformatic/vfs Adapter with Cloudflare Computer](/cloudflare/computer/how-to-use-platformatic-vfs-adapter-with-cloudflare-computer)

Learn how to use the @platformatic/vfs adapter with Cloudflare Computer. Enable a SQLite-backed VirtualProvider with withWorkspace() for full @platformatic/vfs API access.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Implement Filesystem Primitives Against SQLite Storage in Durable Objects](/cloudflare/computer/how-to-implement-filesystem-primitives-against-sqlite-storage-in-durable-objects)

Learn to implement filesystem primitives with SQLite storage in Durable Objects. The dofs package offers a production-ready virtual filesystem with Node.js-style mkdir writeFile and readFile.

- Tags: how-to-guide
- Published: 2026-09-04

### [The Role of @cloudflare/dofs in Cloudflare Computer: Core Data Layer and Virtual Filesystem](/cloudflare/computer/what-is-the-role-of-cloudflare-dofs-package-in-cloudflare-computer)

Discover how @cloudflare/dofs serves as the core data layer for Cloudflare Computer, enabling a SQLite virtual filesystem for POSIX operations and state synchronization.

- Tags: deep-dive
- Published: 2026-09-04

### [How Cloudflare Computer Synchronizes Changes Between Durable Objects and Execution Environments](/cloudflare/computer/how-does-cloudflare-computer-synchronize-changes-between-durable-objects-and-execution-environments)

Learn how Cloudflare Computer synchronizes changes between Durable Objects and execution environments using a bidirectional sync driver for a consistent virtual filesystem.

- Tags: internals
- Published: 2026-09-04

### [Pluggable Execution Backends for Cloudflare Computer: The Complete Developer Guide](/cloudflare/computer/what-are-the-pluggable-execution-backends-for-cloudflare-computer)

Explore Cloudflare Computer's six pluggable execution backends including container, worker, and sandbox options. Execute code efficiently across diverse environments using the Workspace.runtime.exec() API.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Use Cloudflare Computer for AI Agents with a Portable Working Directory](/cloudflare/computer/how-to-use-cloudflare-computer-for-ai-agents-with-portable-working-directory)

Learn how to use Cloudflare Computer for AI agents. Explore its portable working directory and durable SQLite-backed virtual filesystem for persistent data and Node.js compatibility.

- Tags: how-to-guide
- Published: 2026-09-04

### [Cloudflare Computer Backend Binding Requirements: Node.js Compat, Experimental Loaders, and Worker Configuration](/cloudflare/computer/what-are-the-binding-requirements-for-each-backend-nodejs-compat-experimental-worker-loaders)

Understand Cloudflare Computer binding requirements for Node.js compat experimental loaders and worker configuration. Optimize your backend setup for peak performance and seamless integration.

- Tags: internals
- Published: 2026-08-16

### [When to Use `getWorkspace()` Stub vs Constructing Workspace Directly in Cloudflare Computer](/cloudflare/computer/when-to-use-getworkspace-stub-vs-constructing-workspace-directly-without-the-mixin)

Learn when to use getWorkspace() stub versus constructing Workspace directly in Cloudflare Computer. Optimize Durable Object interactions and unit tests for better performance.

- Tags: best-practices
- Published: 2026-08-16

### [How to Set Up Cloudflare Containers with computerd for a Full Linux Backend](/cloudflare/computer/how-to-set-up-cloudflare-containers-with-computerd-for-the-full-linux-backend)

Set up Cloudflare Containers with computerd for a full Linux backend. Learn how computerd provides a Linux user-space environment for Durable Objects using FUSE and capn-web RPC.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the Content-Addressed Blob Cache Reduces Repeated SQLite Reads in Cloudflare Computer](/cloudflare/computer/how-does-the-content-addressed-blob-cache-reduce-repeated-sqlite-reads)

Discover how Cloudflare's content-addressed blob cache minimizes repeated SQLite reads by storing data in memory keyed by hash, boosting performance and efficiency.

- Tags: internals
- Published: 2026-08-16

### [Cloudflare Computer Workspace Storage Limits and Memory Considerations](/cloudflare/computer/what-are-the-storage-limits-and-memory-considerations-for-cloudflare-workspace-size)

Understand Cloudflare Computer Workspace storage limits & memory constraints. Learn how 10GB durable storage & RAM usage impact agent-scale workloads, not large monorepos.

- Tags: deep-dive
- Published: 2026-08-16

### [How to Debug Stub Accumulation Using the Debug Surface and `GET /__computerd/stubs`](/cloudflare/computer/how-to-debug-stub-accumulation-using-the-debug-surface-and-get-computerd-stubs)

Debug stub accumulation in Cloudflare Computer with GET /__computerd/stubs and COMPUTER_DEBUG=1. Learn to dispose of stubs using client.dispose() to prevent memory leaks.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the Buffered Write Surface Optimizes FUSE Writes Before Committing to SQLite](/cloudflare/computer/how-does-the-buffered-write-surface-optimize-fuse-writes-before-committing-to-sqlite)

Learn how the buffered write surface optimizes FUSE writes by buffering in memory and flushing to SQLite in bulk, transforming small transactions into efficient commits.

- Tags: internals
- Published: 2026-08-16

### [Sync Cursors and Watermarks in Cloudflare Computer: How Incremental Sync Works](/cloudflare/computer/what-are-sync-cursors-and-watermarks-and-how-do-they-enable-incremental-sync)

Learn how sync cursors and watermarks in Cloudflare Computer enable incremental sync by transmitting only delta changes and recovering from network interruptions.

- Tags: internals
- Published: 2026-08-16

### [How to Implement Custom Observability Hooks to Trace Workspace Operations](/cloudflare/computer/how-to-implement-custom-observability-hooks-to-trace-workspace-operations)

Implement custom observability hooks to trace workspace operations with Cloudflare's computer package. Inject a WorkspaceObserver for detailed insights into every operation.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the SyncRetryScheduler Handles Durable Pending-Sync Retries After Container Restarts](/cloudflare/computer/how-does-the-syncretry-scheduler-handle-durable-pending-sync-retries-after-container-restarts)

Discover how the SyncRetryScheduler manages durable pending-sync retries after container restarts by persisting intents, reconciling watermarks, validating identity, and using exponential backoff.

- Tags: internals
- Published: 2026-08-16

### [How to Stream Exec Output as Server-Sent Events for Real-Time Command Output in Cloudflare Computer](/cloudflare/computer/how-to-stream-exec-output-as-server-sent-events-for-real-time-command-output)

Stream Cloudflare Computer exec output as Server-Sent Events for real-time command output. Learn how to pipe ReadableStream to an HTTP handler for live stdout, stderr, and exit codes.

- Tags: how-to-guide
- Published: 2026-08-16

### [How to Use Artifacts with Cloudflare Artifacts Binding for Session-Scoped Repositories](/cloudflare/computer/how-to-use-the-artifacts-feature-with-cloudflare-artifacts-binding-for-session-scoped-repos)

Learn to use Cloudflare Artifacts binding for session-scoped repositories. Initialize an Artifacts client and pass it to Workspace or invoke typed methods directly for automatic namespace isolation.

- Tags: how-to-guide
- Published: 2026-08-16

### [How to Register and Route Between Multiple Backends on a Single Workspace: A Complete Guide](/cloudflare/computer/how-to-register-and-route-between-multiple-backends-on-a-single-workspace)

Easily register and route between multiple backends in a single workspace. Learn to manage operations through a unified API with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-16

### [FUSE Mount vs Native Disk I/O Performance Benchmarks in Cloudflare Computer](/cloudflare/computer/what-are-the-performance-benchmarks-comparing-fuse-mount-vs-native-disk-io)

Compare FUSE mount vs native disk I/O performance in Cloudflare Computer. Discover near-native read speeds and understand write overheads.

- Tags: performance
- Published: 2026-08-16

### [How to Configure Worker Loader Binding for Worker-Shell and Worker-JavaScript Backends](/cloudflare/computer/how-to-configure-worker-loader-binding-for-worker-shell-and-worker-javascript-backends)

Learn how to configure Worker Loader binding for worker-shell and worker-javascript backends. Master this crucial step for effective Cloudflare Worker deployment with wrangler.jsonc and TypeScript.

- Tags: how-to-guide
- Published: 2026-08-16

### [How to Use the Isomorphic-Git Client Directly on the SQLite-Backed VFS in Cloudflare Computer](/cloudflare/computer/how-to-use-the-isomorphic-git-client-directly-on-the-sqlite-backed-vfs)

Learn how to use the isomorphic-git client directly on the SQLite-backed VFS. Persist all Git operations to a Durable Object-backed SQLite database for efficient cloud storage.

- Tags: how-to-guide
- Published: 2026-08-16

### [Stub Disposal Contract in Cloudflare Computer: Preventing Memory Leaks in Long-Lived Sessions](/cloudflare/computer/what-is-the-stub-disposal-contract-and-how-to-prevent-memory-leaks-in-long-lived-sessions)

Understand the stub disposal contract in Cloudflare Computer. Learn how to prevent memory leaks in long-lived sessions by manually disposing remote stub objects with Symbol.dispose.

- Tags: internals
- Published: 2026-08-16

### [How to Use AI SDK Tools with the Cloudflare Workspace for Agent Workflows](/cloudflare/computer/how-to-use-ai-sdk-tools-with-the-cloudflare-workspace-for-agent-workflows)

Learn to integrate AI SDK tools with Cloudflare Workspace for agent workflows. Discover how to manage files and execute tasks in isolated environments with createAITools().

- Tags: how-to-guide
- Published: 2026-08-16

### [How Cap'n Web RPC Sync Protocol Handles Conflict Resolution Between Durable Objects and Containers](/cloudflare/computer/how-does-the-capnweb-rpc-sync-protocol-handle-conflict-resolution-between-durable-objects-and-containers)

Learn how the Capn Web RPC sync protocol uses last-write-wins to resolve conflicts between Durable Objects and containers, ensuring the latest changes always prevail.

- Tags: internals
- Published: 2026-08-16

### [How to Configure an R2 Bucket as a Read-Only Mount in Cloudflare Workspace](/cloudflare/computer/how-to-configure-r2-bucket-as-a-read-only-mount-in-the-cloudflare-workspace)

Learn to configure an R2 bucket as a read-only mount in Cloudflare Workspace using the R2Bucket factory. Stream R2 objects into your virtual file system at startup for easy access.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the FUSE Mount Synchronizes Files Between Durable Objects and the computersd Daemon](/cloudflare/computer/how-does-the-fuse-mount-synchronize-files-between-durable-objects-and-the-computerd-daemon)

Discover how the FUSE mount synchronizes files between Durable Objects and the computersd daemon. Learn about the 250ms sync loop and capn-web RPC for efficient data transfer.

- Tags: internals
- Published: 2026-08-16

### [Container vs Worker Shell vs Worker JavaScript Execution Backends in Cloudflare Computer](/cloudflare/computer/what-is-the-difference-between-container-worker-shell-and-worker-javascript-execution-backends)

Explore Cloudflare Computer's Container, Worker Shell, and Worker JavaScript backends. Understand their trade-offs in isolation, language support, and startup latency to choose the right execution environment.

- Tags: deep-dive
- Published: 2026-08-16

### [How to Integrate Cloudflare Workspace with Durable Objects: Complete Integration and Migration Guide](/cloudflare/computer/how-to-integrate-cloudflare-workspace-with-durable-objects-and-what-migration-strategies-are-needed)

Integrate Cloudflare Workspace with Durable Objects using the @cloudflare/computer SDK. Learn migration strategies and leverage fs, runtime, and sync APIs via Capnweb RPC.

- Tags: migration-guide
- Published: 2026-08-16

### [Best Practices for Using the dofs Package in Cloudflare Computer](/cloudflare/computer/what-are-best-practices-using-dofs-package-cloudflare-computer)

Master the dofs package in Cloudflare Computer with essential best practices. Learn to initialize schema, manage cleanup with withDB, use SQLiteWorkspaceProvider, and ensure atomic persistence.

- Tags: best-practices
- Published: 2026-08-15

### [How to Version Runtime Types in Cloudflare Computer Projects](/cloudflare/computer/how-to-version-runtime-types-cloudflare-computer-projects)

Learn how Cloudflare Computer projects version runtime types automatically. Discover how deterministic hashes and CI checks ensure API consistency and prevent breaking changes.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Use External Libraries with Cloudflare Computer Runtime Types](/cloudflare/computer/can-i-use-external-libraries-cloudflare-computer-runtime-types)

Learn how to use external libraries with Cloudflare Computer. Discover which runtime backends support external libraries and optimize your development workflow for faster deployment.

- Tags: how-to-guide
- Published: 2026-08-15

### [Cloudflare Computer Runtime Types Explained: WorkspaceRuntime, RuntimeCall, and Backend Architecture](/cloudflare/computer/what-is-difference-between-various-runtime-types-cloudflare-computer)

Understand Cloudflare Computer runtime types: WorkspaceRuntime, RuntimeCall, and backend architecture. Learn about sandboxed, sticky code execution.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Monitor the Usage of Runtime Types in Cloudflare Computer](/cloudflare/computer/how-to-monitor-usage-runtime-types-cloudflare-computer)

Learn how to monitor Cloudflare Computer runtime types using ExecutionRuntimeTracker. Discover metrics exposed via OpenTelemetry for detailed usage insights.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Deploy Applications Using Cloudflare Computer's Runtime Types](/cloudflare/computer/how-to-deploy-applications-using-cloudflare-computer-runtime-types)

Deploy applications with Cloudflare Computer's runtime types. Learn to use container shell, worker shell, and worker JavaScript for seamless code execution within Durable Objects.

- Tags: how-to-guide
- Published: 2026-08-15

### [Security Considerations for the `dofs` Package in Cloudflare Computer](/cloudflare/computer/what-are-security-considerations-dofs-package-cloudflare-computer)

Explore security considerations for the dofs package in Cloudflare Computer. Learn about defense-in-depth, capability-based RPC, and secure storage mutations.

- Tags: security-considerations
- Published: 2026-08-15

### [Security Considerations for Runtime Types in Cloudflare Computer](/cloudflare/computer/what-are-security-considerations-runtime-types-cloudflare-computer)

Discover security considerations for runtime types in Cloudflare Computer. Learn how capability-based isolation and strict RPC typing protect host resources from unauthorized access.

- Tags: security-considerations
- Published: 2026-08-15

### [How to Contribute to Cloudflare Computer's `dofs` Package: A Complete Developer Guide](/cloudflare/computer/how-to-contribute-development-cloudflare-computer-dofs-package)

Learn how to contribute to Cloudflare Computer's dofs package. Fork the repo, set up the workspace, build, and test to join development on this essential storage layer.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Contribute to Cloudflare Computer Runtime Types: A Developer's Guide](/cloudflare/computer/how-to-contribute-development-cloudflare-computer-runtime-types)

Learn how to contribute to Cloudflare Computer runtime types. Modify TypeScript interfaces, update router logic, and add tests to enhance the platform.

- Tags: how-to-guide
- Published: 2026-08-15

### [What Are the Use Cases for the `dofs` Package in Cloudflare Computer?](/cloudflare/computer/what-are-use-cases-dofs-package-cloudflare-computer)

Discover the use cases for the `@cloudflare/dofs` package in Cloudflare Computer. Learn how it powers virtual filesystems for database operations, testing, file I/O, and state sync.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Integrate Custom Code with Cloudflare Computer Runtime Types](/cloudflare/computer/how-to-integrate-custom-code-cloudflare-computer-runtime-types)

Integrate custom code with Cloudflare Computer runtime types using workspace.runtime.exec(). Run shell commands or ES modules with structured input for callable backends.

- Tags: how-to-guide
- Published: 2026-08-15

### [Cloudflare Computer Programming Languages: Complete Runtime Type Guide](/cloudflare/computer/what-programming-languages-supported-cloudflare-computer-runtime-types)

Explore Cloudflare Computer runtime types and discover supported programming languages including Shell, Just-bash, and ECMAScript modules. Learn which languages work best for your cloud applications.

- Tags: api-reference
- Published: 2026-08-15

### [Is There Documentation for the Cloudflare Computer `dofs` Package? A Complete Guide](/cloudflare/computer/is-there-documentation-cloudflare-computer-dofs-package)

Find complete documentation for the Cloudflare Computer dofs package. Explore the README, dedicated docs, and inline code examples within the Cloudflare Computer repository.

- Tags: api-reference
- Published: 2026-08-15

### [Cloudflare Computer Runtime Types Documentation: Complete TypeScript API Reference](/cloudflare/computer/is-there-documentation-cloudflare-computer-runtime-types)

Explore the Cloudflare Computer runtime types with our complete TypeScript API reference. Access definitive specifications and concrete implementations for seamless integration.

- Tags: api-reference
- Published: 2026-08-15

### [How to Debug Runtime Type Issues in Cloudflare Computer: A Step-by-Step Guide](/cloudflare/computer/how-to-debug-runtime-type-issues-cloudflare-computer)

Debug Cloudflare Computer runtime type issues with RPC debug logging, stub shape validation, and execution-runtime mapping checks. Catch type mismatches early.

- Tags: how-to-guide
- Published: 2026-08-15

### [Performance Implications of Different Runtime Types in Cloudflare Computer: A Deep Dive](/cloudflare/computer/what-are-performance-implications-different-runtime-types-cloudflare-computer)

Explore Cloudflare Computer runtime types like container, worker-javascript, and worker-shell. Understand startup latency, execution speed, and isolation trade-offs for your workloads.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Use the `dofs` Package in Cloudflare Computer: Examples and Implementation Guide](/cloudflare/computer/are-there-examples-using-dofs-package-cloudflare-computer)

Explore the `@cloudflare/dofs` package in Cloudflare Computer. Discover implementation examples and learn how to leverage this SQLite-backed virtual filesystem for your projects. Get the guide.

- Tags: how-to-guide
- Published: 2026-08-15

### [How the `dofs` Package Powers Cloudflare Computer's Durable Object File System](/cloudflare/computer/how-dofs-package-contributes-cloudflare-computer-features)

Explore the `@cloudflare/dofs` package and discover how its SQLite-backed virtual filesystem powers persistent storage, FUSE mounting, and synchronization for Cloudflare Computer.

- Tags: internals
- Published: 2026-08-15

### [What Is the `dofs` Package in Cloudflare Computer?](/cloudflare/computer/what-is-dofs-package-cloudflare-computer)

Learn about the @cloudflare/dofs package a SQLite-backed virtual filesystem for Cloudflare Computer enabling persistent file storage in Durable Objects.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Extend and Customize Runtime Types in Cloudflare Computer](/cloudflare/computer/can-i-extend-customize-runtime-types-cloudflare-computer)

Extend and customize runtime types in Cloudflare Computer by implementing WorkspaceModuleBackend. Learn how to register your custom backend with the Workspace constructor for enhanced functionality.

- Tags: how-to-guide
- Published: 2026-08-15

### [How Cloudflare Computer Runtime Types Work: A Complete Technical Guide](/cloudflare/computer/how-do-runtime-types-cloudflare-computer-work)

Explore Cloudflare Computer runtime types. Learn how this pluggable TypeScript abstraction manages code execution, RPC communication, and sandboxed backends for your workspace.

- Tags: deep-dive
- Published: 2026-08-15

### [Cloudflare Computer Core Runtime Types Explained: A Complete API Reference](/cloudflare/computer/what-are-core-runtime-types-cloudflare-computer)

Explore Cloudflare Computer core runtime types in this comprehensive API reference. Understand execution, filesystem, events, and lifecycle management for worker-like workspaces.

- Tags: api-reference
- Published: 2026-08-15

### [How to Set Up the Cloudflare Computer Development Environment](/cloudflare/computer/how-to-set-up-cloudflare-computer-development-environment)

Set up the Cloudflare Computer development environment easily. Clone the repo, install dependencies, and run build and test commands to get started quickly.

- Tags: getting-started
- Published: 2026-08-15

### [Structured Value Returns vs. Stub‑Bearing Returns in Cloudflare Computer](/cloudflare/computer/structured-value-returns-no-stubs-vs-stub-bearing)

Understand structured value returns versus stub-bearing returns in Cloudflare Computer. Learn how to leverage live RPC stubs or plain JSON data for your applications.

- Tags: deep-dive
- Published: 2026-08-14

### [How to Implement Workspace Disposal in a Durable Object for Resource Cleanup](/cloudflare/computer/implement-workspace-disposal-durable-object-resource-cleanup)

Learn how to implement workspace disposal in a Durable Object for efficient resource cleanup. Call workspace.close() in your alarm handler or teardown method to release connections and clear caches.

- Tags: how-to-guide
- Published: 2026-08-14

### [How the Compute Budget Works with 10 GB Workspace Storage Limits in Cloudflare Computer](/cloudflare/computer/compute-budget-10gb-workspace-storage-limits)

Understand Cloudflare Computer's compute budget and 10 GB workspace storage limits. Learn how CPU time, RPC payloads, and data sync work together.

- Tags: deep-dive
- Published: 2026-08-14

### [How `vfs_nodes.rev` Relates to the Sync Changes Table for Tombstones in Cloudflare Computer](/cloudflare/computer/vfs_nodes-rev-sync-changes-table-tombstones-relationship)

Understand how vfs_nodes_rev tracks live inodes and vfs_changes_rev records tombstones in Cloudflare Computer. Learn how this enables consistent merging of updates and deletions.

- Tags: internals
- Published: 2026-08-14

### [How to Configure Multiple Backends with Stable Selector IDs and Route Exec Calls in Cloudflare Computer](/cloudflare/computer/configure-multiple-backends-stable-selector-ids-route-exec)

Configure multiple Cloudflare Computer backends using stable selector IDs and route exec calls. Learn how to map IDs and specify backends for targeted executions.

- Tags: how-to-guide
- Published: 2026-08-14

### [Observability Hook Structure in @cloudflare/computer: Adapting It for Cloudflare Runtime Tracing](/cloudflare/computer/observability-hook-structure-cloudflare-runtime-tracing)

Explore the @cloudflare/computer observability hook structure and learn how to adapt it for Cloudflare runtime tracing with the createCloudflareObserver factory. Enhance your application visibility.

- Tags: deep-dive
- Published: 2026-08-14

### [How Workspace Handles Cold-Start Performance Differences Between Backends in Cloudflare Computer](/cloudflare/computer/workspace-handle-cold-start-performance-differences-backends)

Learn how Workspace manages cold start performance between backends. Discover how deferring backend creation and caching instances ensures efficient execution, contrasting Container and Isolate startup times.

- Tags: performance
- Published: 2026-08-14

### [How File Locks Work Across the `read`, `ls`, `find`, `grep`, `write`, `edit`, and `delete` Tool Sets in Cloudflare Computer](/cloudflare/computer/file-locks-across-tool-sets-read-write-edit-delete)

Discover how Cloudflare Computer file locks protect data. Learn how read operations succeed while write, edit, and delete actions are blocked at the VFS layer.

- Tags: internals
- Published: 2026-08-14

### [How the Worker-JavaScript Backend Handles Durable Relative Imports and Structured I/O](/cloudflare/computer/worker-javascript-backend-durable-relative-imports-structured-io)

Discover how the Worker-JavaScript backend manages durable relative imports and structured I/O by resolving imports against a virtual file system and capturing output streams.

- Tags: internals
- Published: 2026-08-14

### [Push vs Pull Sync in Cloudflare Computer: When to Use Each Operation](/cloudflare/computer/push-vs-pull-sync-operations-usage)

Understand push vs pull sync in Cloudflare Computer. Learn when to stream changes to or retrieve changes from your Durable Object for optimal performance.

- Tags: deep-dive
- Published: 2026-08-14

### [How Worker‑Shell Feature Groups Are Tree‑Shaken from the Bundle](/cloudflare/computer/feature-groups-worker-shell-tree-shaken-bundle)

Discover how Worker Shell backend tree shakes feature groups like curl, git, and sqlite from your bundle. Learn how this process optimizes your code by analyzing module reachability at build time.

- Tags: internals
- Published: 2026-08-14

### [How the AI SDK Tool Layer Handles Pagination for `ls`, `find`, and `grep`](/cloudflare/computer/ai-sdk-tool-layer-pagination-ls-find-grep)

Learn how the AI SDK tool layer manages pagination for ls, find, and grep operations using limit and cursor objects. Discover efficient result slicing for directory listings and search.

- Tags: internals
- Published: 2026-08-14

### [Git Client Internal Structure: How `@cloudflare/computer/git` Operates on SQLite VFS Without a Backend](/cloudflare/computer/git-client-internal-structure-sqlite-vfs-no-backend)

Explore the internal structure of the @cloudflare/computer/git client. Discover how it leverages SQLite VFS for backendless operation via a dynamic adapter layer.

- Tags: internals
- Published: 2026-08-14

### [How to Configure R2-Backed Read-Only Mounts in Cloudflare Computer (and What Happens When You Try to Write)](/cloudflare/computer/configure-r2-backed-read-only-mounts-writes)

Learn to configure R2-backed read-only mounts in Cloudflare Computer. Discover what happens during write attempts, returning EROFS without R2 interaction.

- Tags: how-to-guide
- Published: 2026-08-14

### [How SQLiteWorkspaceProvider Bridges Durable Object Storage to FUSE Mount Operations](/cloudflare/computer/sqlite-workspace-provider-adapter-bridge-do-storage-fuse-mount)

Discover how the SQLiteWorkspaceProvider adapter connects Durable Object storage to FUSE mount operations. Translate filesystem calls into SQLite queries for cloud-persistent storage.

- Tags: internals
- Published: 2026-08-14

### [Capnweb RPC Wire Types: Differences Between SyncRPC and ShellRPC and How They Share Transport](/cloudflare/computer/capnweb-rpc-wire-types-differences-sharing)

Explore Capnweb RPC wire types: SyncRPC vs ShellRPC. Discover how they share transport over a single WebSocket session for efficient filesystem sync and process execution.

- Tags: deep-dive
- Published: 2026-08-14

### [How to Implement a Custom Execution Backend in Computer Beyond Built-In Options](/cloudflare/computer/implement-custom-execution-backend-beyond-built-in)

Implement a custom execution backend in Computer by creating a WorkspaceBackend class. Learn how to connect and return a BackendHandle with a WorkspaceRPC stub for advanced functionality.

- Tags: how-to-guide
- Published: 2026-08-14

### [How SyncRetryScheduler Persists Retry State for Failed Post‑Command Pulls](/cloudflare/computer/sync-retry-scheduler-persist-retry-state-post-command-pulls)

Learn how SyncRetryScheduler persists retry state for failed post-command pulls using Durable Object KV storage and scheduled alarms for exponential back-off retries.

- Tags: internals
- Published: 2026-08-14

### [Understanding the Exec Handle Lifecycle and Why `using` Disposal Is Required](/cloudflare/computer/exec-handle-lifecycle-disposal-using)

Learn about the ExecHandle lifecycle in Cloudflare's Computer framework. Discover why using disposal is essential to prevent memory leaks and ensure proper resource management.

- Tags: internals
- Published: 2026-08-14

### [How the FUSE Driver's Buffered-Write Surface Ensures Immediate Visibility of Buffered Bytes](/cloudflare/computer/fuse-driver-buffered-write-immediate-visibility)

Learn how the FUSE driver's buffered-write surface ensures immediate visibility of buffered bytes by operating on in-memory data before backend persistence. Optimize your file system operations.

- Tags: internals
- Published: 2026-08-14

### [How @cloudflare/dofs Implements a Content-Addressed Blob Cache to Optimize Reads](/cloudflare/computer/content-addressed-blob-cache-dofs-architecture-optimize-reads)

Explore the @cloudflare/dofs content-addressed blob cache architecture. Discover how its in-process LRU cache optimizes reads by reducing redundant SQLite queries and speeding up access.

- Tags: architecture
- Published: 2026-08-14

### [How Backend Cursors Remain Independent When Multiple Execution Backends Share a Single Workspace in Cloudflare Computer](/cloudflare/computer/backend-cursors-independent-multiple-backends-single-workspace)

Discover how Cloudflare Computer ensures independent backend cursors in shared workspaces by uniquely identifying watermarks and cursor values with backend IDs in SQLite tables.

- Tags: internals
- Published: 2026-08-14

### [Stub Leaks in Long-Lived Sessions: How to Debug with CAPNWEB_TRACK_STUBS](/cloudflare/computer/stub-leaks-long-lived-sessions-capnweb-track-stubs-debugging)

Debug stub leaks in long-lived sessions with CAPNWEB_TRACK_STUBS. Learn how this tool tracks and identifies un-disposed stub types causing memory growth in Durable Objects.

- Tags: debugging
- Published: 2026-08-14

### [How the Sync Protocol Handles Concurrent Writes Between Durable Objects and computerd](/cloudflare/computer/sync-protocol-concurrent-writes-durable-object-computerd)

Learn how the sync protocol manages concurrent writes between Durable Objects and computerd using revision counters, FIFO serialization, and last-write-wins for conflict resolution.

- Tags: internals
- Published: 2026-08-14

### [Cloudflare Computer Container-Side Filesystem Limits: Workspace Size and Memory Constraints](/cloudflare/computer/container-side-filesystem-workspace-size-limitations)

Explore Cloudflare Computer's container-side filesystem limits. Learn about the ~10 GB workspace size and memory constraints, perfect for agent-scale workloads but not large monorepos.

- Tags: internals
- Published: 2026-08-13

### [What Happens During the Release Operation for a Buffered Write in FUSE](/cloudflare/computer/release-operation-buffered-write-fuse)

Understand the FUSE release operation for buffered writes. Learn how Cloudflare Computer's FUSE layer decrements handles, checks for dirty data, and atomically commits buffered content to SQLite.

- Tags: internals
- Published: 2026-08-13

### [How Files Are Read and Written Through the Inode-Keyed Cache with Buffered Writes in Cloudflare Computer](/cloudflare/computer/read-write-inode-keyed-cache-buffered-writes)

Learn how Cloudflare Computer reads and writes files using its inode-keyed cache with buffered writes. Discover how pending writes are stored in memory and retrieved for efficient data access.

- Tags: internals
- Published: 2026-08-13

### [How the Cloudflare Computer FUSE Driver Falls Back When the Buffered-Write Surface Is Not Exposed](/cloudflare/computer/fuse-driver-fallback-no-buffered-write)

Discover how the Cloudflare Computer FUSE driver handles unexposed buffered-write surfaces by automatically reverting to direct-write operations and the VFS layer for all data.

- Tags: internals
- Published: 2026-08-13

### [What Happens When a Provider Advertises the Buffered‑Write Surface in the FUSE Driver](/cloudflare/computer/provider-advertises-buffered-write-surface-fuse)

Discover how a FUSE driver switches to buffered mode when a provider advertises the buffered-write surface, optimizing write operations in cloudflare/computer.

- Tags: internals
- Published: 2026-08-13

### [How `ready({ all: true })` Pre-warms Backends in a Cloudflare Computer Workspace](/cloudflare/computer/ready-all-true-prewarm-backends)

Discover how workspace.ready({ all: true }) pre-warms Cloudflare Computer Workspace backends by parallelly dialing RPC connections and caching handles to eliminate cold-start latency.

- Tags: internals
- Published: 2026-08-13

### [Which RPC Return Types Do Not Carry Stubs in Cloudflare Computer](/cloudflare/computer/rpc-return-values-no-stubs)

Discover which Cloudflare Computer RPC return types do not carry stubs. Learn about stub-free data serialization over Cap'n Web.

- Tags: deep-dive
- Published: 2026-08-13

### [How to Track Stub Leaks in Cloudflare Computer Using `CAPNWEB_TRACK_STUBS` and `stubSnapshot()`](/cloudflare/computer/track-stub-leaks-capnweb-stubsnapshot)

Track stub leaks in Cloudflare Computer by setting CAPNWEB_TRACK_STUBS and using stubSnapshot() to get live reference counts and expose RPC layer leaks.

- Tags: how-to-guide
- Published: 2026-08-13

### [Implications of Undisposed Stubs Accumulating on Peers in Cloudflare Computer RPC](/cloudflare/computer/implications-undisposed-stubs-rpc)

Learn how undisposed stubs in Cloudflare Computer RPC lead to memory growth, stale streams, and potential DoS. Discover how to prevent issues with proper stub disposal.

- Tags: internals
- Published: 2026-08-13

### [How the applyChanges() Function Works on the Durable Object Side in Cloudflare Computer](/cloudflare/computer/applychanges-function-durable-object)

Understand how the applyChanges() function in Cloudflare Computer's Durable Object synchronizes file system changes atomically within a SQLite transaction for container-side clients.

- Tags: internals
- Published: 2026-08-13

### [How Cloudflare Computer Handles Large Files and Deduplicates Data Using Chunking](/cloudflare/computer/handle-deduplicate-large-files-chunking)

Discover how Cloudflare Computer handles large files and deduplicates data with fixed-size chunks and SHA-256 content addressing, minimizing sync traffic by transferring only missing chunks.

- Tags: internals
- Published: 2026-08-13

### [The Role of `incrementRev()` in the Cloudflare Computer Sync Protocol: Atomic Revision Control Explained](/cloudflare/computer/role-incrementrev-sync-protocol)

Discover how incrementRev() provides atomic revision control in the Cloudflare Computer sync protocol. Learn to track changes and achieve deterministic synchronization for distributed peers.

- Tags: internals
- Published: 2026-08-13

### [Content‑Addressed Blobs in Cloudflare Computer: How SHA‑256 Deduplication Works](/cloudflare/computer/content-addressed-blobs-deduplication)

Discover content-addressed blobs in Cloudflare Computer. Learn how SHA-256 hashing and SQLite enable automatic deduplication, storing identical data chunks only once for efficient storage.

- Tags: internals
- Published: 2026-08-13

### [How the Worker Shell Backend Avoids a Second Store in Cloudflare Computer](/cloudflare/computer/worker-shell-backend-avoid-second-store)

Discover how the Worker Shell backend avoids a second store in Cloudflare Computer by leveraging Durable Objects' SQLite as the single authoritative store, disabling synchronization.

- Tags: internals
- Published: 2026-08-13

### [How to Use AI SDK Tools with a Cloudflare Computer Workspace: Complete Integration Guide](/cloudflare/computer/use-ai-sdk-tools-workspace)

Integrate AI SDK tools with Cloudflare Computer Workspace. Learn how to use virtual file-system operations like read, write, and exec for seamless cloud-based AI development.

- Tags: how-to-guide
- Published: 2026-08-13

### [How Capnweb RPC Handles Promise Pipelining and Object Capabilities in Cloudflare Computer](/cloudflare/computer/capnweb-rpc-promise-pipelining-object-capabilities)

Discover how Capnweb RPC leverages promise pipelining and object capabilities in Cloudflare Computer for efficient, chained remote operations via typed JavaScript Proxies.

- Tags: internals
- Published: 2026-08-13

### [Performance Differences Between FUSE Mounts and Native Disk in Cloudflare Computer](/cloudflare/computer/performance-fuse-vs-native-disk)

Explore Cloudflare Computer's FUSE mount vs native disk performance. Discover which excels at metadata ops and where RPC overhead causes slowdowns.

- Tags: performance
- Published: 2026-08-13

### [How to Set Up R2-Backed Read-Only Mounts in Cloudflare Computer](/cloudflare/computer/setup-r2-backed-read-only-mounts)

Learn to set up R2-backed read-only mounts in Cloudflare Computer using the R2Bucket mount factory. Mount an R2 bucket as a read-only VFS path with lazy loading for efficient object access.

- Tags: how-to-guide
- Published: 2026-08-13

### [FUSE Write Model in Cloudflare Computer: Buffered Writes and the Commit Process](/cloudflare/computer/fuse-write-model-buffered-writes-commit)

Explore the FUSE write model in Cloudflare Computer. Learn how buffered writes and the commit process defer persistence to SQLite chunk stores until file handles are released.

- Tags: internals
- Published: 2026-08-13

### [Configuring Multiple Backends for a Single Workspace in Cloudflare Computer](/cloudflare/computer/configure-multiple-backends-single-workspace)

Easily configure multiple backends for a single Cloudflare Computer workspace. Learn how to pass backends and default backend identifiers to createWorkspace() and route commands with exec() for efficient backend management.

- Tags: how-to-guide
- Published: 2026-08-13

### [Understanding the Stub Disposal Contract in Cloudflare Computer RPC](/cloudflare/computer/stub-disposal-contract-cloudflare-computer-rpc)

Learn about the stub disposal contract in Cloudflare Computer RPC. Prevent memory leaks by understanding automatic cleanup and manual disposal of streaming stub results.

- Tags: deep-dive
- Published: 2026-08-13

### [How the Sync Protocol Works Between Cloudflare Durable Objects and computerd Containers](/cloudflare/computer/how-sync-protocol-works-durable-object-computerd-container)

Discover how the Cloudflare Durable Objects sync protocol ensures data consistency with computerd containers. Learn about bidirectional replication and authoritative sources.

- Tags: internals
- Published: 2026-08-13

### [Development Workflow for cloudflare/computer: From Clone to Release](/cloudflare/computer/what-is-development-workflow-for-cloudflare-computer)

Master the cloudflare/computer development workflow. Learn the 8-stage process from cloning and formatting to testing, commits, and releases.

- Tags: getting-started
- Published: 2026-08-09

### [Where Are the Configuration Files in cloudflare/computer? A Complete Monorepo Guide](/cloudflare/computer/where-are-configuration-files-for-cloudflare-computer)

Find cloudflare computer configuration files easily. Explore root definitions, package manifests in packages/*, TS configs, and GitHub Actions in .github/ for your monorepo.

- Tags: how-to-guide
- Published: 2026-08-09

### [Build Requirements for cloudflare/computer: Node.js 22, FUSE, and Native Toolchain](/cloudflare/computer/what-are-build-requirements-for-cloudflare-computer)

Discover the essential build requirements for cloudflare/computer including Node.js 22, FUSE support, and a C toolchain. Learn what you need to get started.

- Tags: getting-started
- Published: 2026-08-09

### [How to Get Support for Cloudflare Computer: GitHub Channels and Documentation](/cloudflare/computer/how-to-get-support-for-cloudflare-computer)

Get support for Cloudflare Computer via GitHub Issues for bugs, GitHub Discussions for questions, and comprehensive documentation. Find solutions quickly.

- Tags: how-to-guide
- Published: 2026-08-09

### [Cloudflare Computer Release Notes: Where to Find Official Updates](/cloudflare/computer/what-are-release-notes-for-cloudflare-computer)

Find official Cloudflare Computer release notes on GitHub. Discover updates generated automatically via Changesets for the cloudflare/computer repository.

- Tags: release-notes
- Published: 2026-08-09

### [Cloudflare Computer Project Structure: Monorepo Architecture for Virtual Filesystems](/cloudflare/computer/how-is-cloudflare-computer-project-structured)

Explore the cloudflare computer project structure, a TypeScript monorepo offering virtual filesystems in Durable Objects. Discover its SQLite, FUSE, and JavaScript API implementations.

- Tags: architecture
- Published: 2026-08-09

### [Versioning Strategy for cloudflare/computer: Independent Semantic Versioning in an npm Workspace Monorepo](/cloudflare/computer/what-is-versioning-strategy-for-cloudflare-computer)

Discover the independent semantic versioning strategy for cloudflare/computer within its npm workspace monorepo. Each package gets its own version number for flexible updates.

- Tags: best-practices
- Published: 2026-08-09

### [Does cloudflare/computer Support Docker? First-Class Container Integration Explained](/cloudflare/computer/does-cloudflare-computer-support-docker)

Yes cloudflarecomputer offers first class Docker support running the computerd daemon in containers with prebuilt images automated scripts and a container backend example.

- Tags: how-to-guide
- Published: 2026-08-09

### [Prerequisites for Using Cloudflare Computer: A Technical Setup Guide](/cloudflare/computer/what-are-prerequisites-for-using-cloudflare-computer)

Discover the essential prerequisites for using cloudflare/computer. Learn about Node.js, npm, Wrangler CLI, and libfuse setup for local container backend.

- Tags: how-to-guide
- Published: 2026-08-09

### [How to Install cloudflare/computer: A Complete Setup Guide](/cloudflare/computer/how-to-install-cloudflare-computer)

Install cloudflare/computer with npm and configure Wrangler for command execution. Follow our complete setup guide to get started.

- Tags: how-to-guide
- Published: 2026-08-09

### [Cloudflare/Computer Example Usages: Running the Built-in Demo Projects](/cloudflare/computer/are-there-example-usages-for-cloudflare-computer)

Explore cloudflare/computer example usages with four demo projects Think chat Worker-Shell Container runtime and tutorial helpers Learn to implement Durable Object based workspaces and virtual filesystems.

- Tags: getting-started
- Published: 2026-08-09

### [Who Maintains the cloudflare/computer Project?](/cloudflare/computer/who-maintains-cloudflare-computer-project)

Discover who maintains the cloudflare/computer project. Learn about the Cloudflare engineering team and approved collaborators governing the repository.

- Tags: getting-started
- Published: 2026-08-09

### [What Is the License for cloudflare/computer?](/cloudflare/computer/what-is-license-for-cloudflare-computer)

Understand the MIT license for the cloudflare/computer repository. Learn your rights for using, copying, modifying, and distributing this open-source software.

- Tags: getting-started
- Published: 2026-08-09

### [How to Run Tests for cloudflare/computer: Complete Monorepo Guide](/cloudflare/computer/how-to-run-tests-for-cloudflare-computer)

Learn how to run tests for cloudflare/computer monorepo. Build the workspace first to import compiled artifacts and ensure your tests pass smoothly.

- Tags: how-to-guide
- Published: 2026-08-09

### [How to Build the Cloudflare Computer Project: Complete Setup Guide](/cloudflare/computer/how-to-build-cloudflare-computer-project)

Build the Cloudflare Computer project by cloning the repo and running npm install and build commands. Learn to bundle the native computerd binary with our complete setup guide.

- Tags: getting-started
- Published: 2026-08-09

### [Cloudflare Computer Dependencies: Complete Monorepo Package Guide](/cloudflare/computer/what-are-dependencies-for-cloudflare-computer)

Explore Cloudflare Computer monorepo dependencies like Cap n Proto, FUSE, and Acorn. Understand the interconnected npm packages and their runtime requirements in this comprehensive guide.

- Tags: how-to-guide
- Published: 2026-08-09

### [How to Contribute to the Cloudflare Computer Project: A Complete Developer Guide](/cloudflare/computer/how-to-contribute-to-cloudflare-computer-project)

Learn how to contribute to the cloudflare/computer project. This guide covers issue reporting, PR submission, and security disclosures for developers.

- Tags: how-to-guide
- Published: 2026-08-09

### [Where to Find cloudflare/computer Documentation: Complete Guide](/cloudflare/computer/where-to-find-documentation-for-cloudflare-computer)

Find comprehensive cloudflare/computer documentation in the repository's docs directory. Access architecture, installation, and API guides starting with docs/README.md.

- Tags: how-to-guide
- Published: 2026-08-09

### [What Is the cloudflare/computer Repository? Understanding Cloudflare Computer](/cloudflare/computer/what-is-purpose-of-cloudflare-computer-repository)

Discover the cloudflare/computer repository, a preview platform for Durable Objects. It offers a virtual filesystem and pluggable backends for running agent code efficiently.

- Tags: getting-started
- Published: 2026-08-09

### [Is Cloudflare Computer Open Source? MIT License and Architecture Explained](/cloudflare/computer/is-cloudflare-computer-open-source)

Discover if Cloudflare Computer is open source. Learn about its MIT license, architecture, and how you can use and modify its virtual filesystem and container runtime.

- Tags: architecture
- Published: 2026-08-09

### [Main Components of the Cloudflare Computer Project: Architecture and Package Guide](/cloudflare/computer/what-are-main-components-of-cloudflare-computer-project)

Explore the Cloudflare Computer project's monorepo architecture and five core packages. Discover its durable SQLite-backed virtual filesystem for Durable Objects.

- Tags: architecture
- Published: 2026-08-09

### [How to Set Up the Cloudflare Computer Project Locally: A Complete Guide](/cloudflare/computer/how-to-set-up-cloudflare-computer-project-locally)

Set up the Cloudflare Computer project locally with this complete guide. Clone the repo, install dependencies, build, and test for a seamless local environment.

- Tags: how-to-guide
- Published: 2026-08-09

### [What Programming Languages Does the Cloudflare/Computer Repository Use?](/cloudflare/computer/what-programming-languages-does-cloudflare-computer-use)

Discover the programming languages powering the cloudflare/computer repository. Learn about TypeScript, JavaScript, JSON, YAML, and shell scripts used in Cloudflare Workers.

- Tags: programming-languages
- Published: 2026-08-09

### [Cross-Side Invariant and AppliedPushCursor Verification in Cloudflare Computer](/cloudflare/computer/what-is-cross-side-invariant-applied-push-cursor-verification)

Understand the cross-side invariant and AppliedPushCursor verification in Cloudflare Computer. Ensure Durable Objects and clients agree on applied revisions for robust data synchronization.

- Tags: deep-dive
- Published: 2026-08-08

### [How to Run the computerd Binary as a Standalone SEA Artifact](/cloudflare/computer/how-to-run-computerd-binary-standalone-sea-artifact)

Learn to run the computerd binary as a standalone SEA artifact. Bundle CLI source, FUSE addons, and libraries into a single file without external Node runtime or npm.

- Tags: how-to-guide
- Published: 2026-08-08

### [How Watermarks Enable Incremental Sync in Cloudflare Computer](/cloudflare/computer/how-do-watermarks-enable-incremental-sync)

Discover how watermarks enable incremental sync in Cloudflare Computer. Learn how revision cursors in SQLite ensure efficient data transfers by synchronizing only new changes.

- Tags: deep-dive
- Published: 2026-08-08

### [How to Configure the Exec Runtime for Streaming Output as Server-Sent Events](/cloudflare/computer/how-to-configure-exec-runtime-streaming-output-server-sent-events)

Configure the exec runtime for streaming output as Server-Sent Events by setting sse: true in ExecOptions. Get real-time stdout and stderr chunks instantly.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Manually Implement Workspace Push and Pull Operations in Cloudflare Computer](/cloudflare/computer/how-to-implement-workspace-push-pull-operations-manually)

Learn to manually implement workspace push and pull operations in Cloudflare Computer using Workspace.push() and Workspace.pull() for seamless SQLite synchronization.

- Tags: how-to-guide
- Published: 2026-08-08

### [How Ignore Lists Prevent node_modules from Crossing the Sync Wire in Cloudflare Computer](/cloudflare/computer/how-ignore-lists-prevent-node_modules-crossing-sync-wire)

Learn how ignore lists prevent node_modules from syncing in Cloudflare Computer. Discover how they filter paths at the sync layer, keeping node_modules local to your container.

- Tags: internals
- Published: 2026-08-08

### [Workspace Lifecycle and Stub Disposal Contract in Cloudflare Computer](/cloudflare/computer/what-is-workspace-lifecycle-stub-disposal-contract)

Understand the Cloudflare Computer workspace lifecycle and stub disposal contract. Learn how to prevent resource leaks by explicitly disposing RPC stubs using Symbol.dispose or using declarations.

- Tags: internals
- Published: 2026-08-08

### [How to Configure the Userspace Dev Shim for Local Development](/cloudflare/computer/how-to-configure-userspace-dev-shim-local-development)

Configure the userspace dev shim for local development by setting environment variables. This creates a bidirectional sync between your virtual file system and host directory without kernel FUSE.

- Tags: how-to-guide
- Published: 2026-08-08

### [FUSE Write Model and Buffered‑Write Surface in Computerd: How Cloudflare's FUSE Driver Manages File Writes](/cloudflare/computer/what-is-fuse-write-model-buffered-write-surface-computerd)

Understand Cloudflare's computerd FUSE write model and buffered-write surface. Learn how byte ownership is delegated and writes are staged in memory for atomic commits.

- Tags: internals
- Published: 2026-08-08

### [How to Publish Artifacts with the Cloudflare Artifacts Binding](/cloudflare/computer/how-to-publish-artifacts-cloudflare-artifacts-binding)

Publish artifacts with Cloudflare Artifacts binding by configuring wrangler.toml, creating a client, and using methods to upload files to your durable object-backed store. Get started today.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Share Files via R2 Presigned URLs with @cloudflare/computer/assets](/cloudflare/computer/how-to-share-files-r2-presigned-urls-cloudflare-computer-assets)

Learn to securely share files with R2 presigned URLs using the @cloudflare/computer/assets module. Generate temporary public access links without exposing credentials.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Use the Built-In Git Client with isomorphic-git for Workspace Repositories](/cloudflare/computer/how-to-use-built-in-git-client-isomorphic-git-workspace-repositories)

Learn how to use the built-in git client with isomorphic-git for workspace repositories. Perform Git operations directly on the virtual filesystem without external binaries.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Configure a Workspace with Multiple Backends and Lazy Backend Connections in Cloudflare Computer](/cloudflare/computer/how-to-configure-workspace-multiple-backends-lazy-backend-connection)

Learn to configure Cloudflare Computer workspaces with multiple backends and lazy backend connections. Optimize performance by deferring RPC target initialization.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Implement Durable Pending-Sync Retries with SyncRetryScheduler](/cloudflare/computer/how-to-implement-durable-pending-sync-retries-sync-retry-scheduler)

Implement durable pending-sync retries with SyncRetryScheduler in Cloudflare Computer SDK. Persist SyncRetryIntent objects, survive DO restarts, and use exponential backoff for reliable sync.

- Tags: how-to-guide
- Published: 2026-08-08

### [How Cloudflare Computer Handles Last-Write-Wins Conflicts in Multi-Container Scenarios](/cloudflare/computer/how-last-write-wins-conflict-semantics-handled-multi-container-scenarios)

Discover how Cloudflare Computer handles last-write-wins conflicts in multi-container scenarios. Learn how the system prioritizes the latest write for seamless data synchronization.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Debug Stub Memory Leaks in Long-Lived Sessions Using CAPNWEB_TRACK_STUBS](/cloudflare/computer/how-to-debug-stub-memory-leaks-long-lived-sessions-capnweb-track-stubs)

Debug stub memory leaks in long-lived sessions with CAPNWEB_TRACK_STUBS. Enable tracking, then use stubSnapshot() or GET /__computerd/stubs to find and fix leaks.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Set Up Observability Hooks with the Span-Based Observer Pattern in Cloudflare Computer](/cloudflare/computer/how-to-set-up-observability-hooks-span-based-observer-pattern)

Learn to set up observability hooks with the span-based observer pattern in Cloudflare Computer. Inject custom tracing logic with WorkspaceObserver for zero coupling to your observability backend.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Implement R2 Read-Only Mounts in the Computer Workspace Filesystem](/cloudflare/computer/how-to-implement-r2-read-only-mounts-workspace-filesystem)

Learn to implement R2 read-only mounts in your workspace filesystem. Import R2Bucket from cloudflare computer and register it in the Workspace constructor for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-08

### [How to Configure and Choose Between Container, Worker Shell, and Worker JavaScript Backends](/cloudflare/computer/how-to-configure-choose-container-worker-shell-worker-javascript-backends)

Configure and choose Container, Worker Shell, or Worker JavaScript backends for your Cloudflare Workers. Learn how to register them with Workspace for efficient execution.

- Tags: how-to-guide
- Published: 2026-08-08

### [CapnWeb RPC Interface for Durable Object to Computerd Communication](/cloudflare/computer/what-is-capnweb-rpc-interface-durable-object-computerd-communication)

Explore the CapnWeb RPC interface for Durable Object to computerd communication. Learn how WebSockets and WorkspaceRPC enable filesystem sync and process execution.

- Tags: api-reference
- Published: 2026-08-08

### [How Bidirectional Synchronization Works Between Durable Objects and Containers](/cloudflare/computer/how-sync-protocol-handles-bidirectional-sync-durable-objects-containers-revision-cursors)

Learn how the sync protocol ensures consistency between Durable Objects and containers using revision cursors. Discover efficient bidirectional synchronization with Cloudflare.

- Tags: internals
- Published: 2026-08-08

### [How the withWorkspace Decorator Manages Durable Object Lifecycle and Stub Disposal in Cloudflare Computer](/cloudflare/computer/how-does-withworkspace-decorator-manage-durable-object-lifecycle-and-stub-disposal)

Learn how the withWorkspace decorator in cloudflare/computer synchronizes Durable Object lifecycles and disposes of stubs, ensuring efficient resource management.

- Tags: internals
- Published: 2026-08-07

### [How Exec Events Are Encoded and Decoded Across the RPC Boundary in Computer](/cloudflare/computer/encoding-decoding-mechanism-for-exec-events-across-rpc-boundary)

Learn how Computer encodes exec events as Cap'n Proto binary structs for RPC transport and decodes them into TypeScript objects for streaming and replay from SQLite.

- Tags: internals
- Published: 2026-08-07

### [How to Debug FUSE Mount Issues in Computerd Using the Real-FUSE Approach](/cloudflare/computer/how-to-debug-fuse-mount-issues-in-computerd-with-real-fuse-debugging)

Debug FUSE mount issues in computerd with the real-FUSE approach. Enable debugging, run in Docker, and verify with the /__computerd/info endpoint.

- Tags: how-to-guide
- Published: 2026-08-07

### [Isolate JavaScript Backend Limitations vs. Container Backend in Cloudflare Computer](/cloudflare/computer/limitations-of-isolate-javascript-backend-vs-container-backend)

Compare Isolate JavaScript backend limitations with Container backend in Cloudflare Computer. Discover differences in sandboxing, concurrency, native code, and network access.

- Tags: comparison
- Published: 2026-08-07

### [SQLiteWorkspaceProvider vs Database in Computer SDK: When to Use Each API Level](/cloudflare/computer/difference-between-sqliteworkspaceprovider-and-raw-database-wrapper)

Learn the difference between SQLiteWorkspaceProvider and the raw Database wrapper in the computer SDK. Use SQLiteWorkspaceProvider for Node.js file operations, and Database for direct SQL access.

- Tags: deep-dive
- Published: 2026-08-07

### [How to Integrate Cloudflare Artifacts with the Computer Workspace Filesystem](/cloudflare/computer/how-to-integrate-cloudflare-artifacts-with-computer-workspace-filesystem)

Integrate Cloudflare Artifacts with your Computer workspace filesystem. Learn to wrap your Worker entry-point with withWorkspace, register artifacts, and expose bindings in wrangler.toml.

- Tags: how-to-guide
- Published: 2026-08-07

### [Retry Mechanisms for Transport Failures in Cloudflare Computer's Sync Protocol](/cloudflare/computer/retry-mechanisms-for-transport-failures-in-computer-sync-protocol)

Discover Cloudflare Computer's sync protocol retry mechanisms. Learn how exponential back-off handles transient transport failures, ensuring reliable communication between Durable Objects and the computerd client.

- Tags: internals
- Published: 2026-08-07

### [Git Operations in Cloudflare Computer: How Clone, Commit, Push, and Pull Work Inside the Workspace](/cloudflare/computer/how-does-the-git-implementation-work-in-the-computer-workspace)

Discover how Git operations like clone, commit, push, and pull function in Cloudflare Computer. Learn about the isomorphic-git library powering this JavaScript-based Git implementation.

- Tags: internals
- Published: 2026-08-07

### [Heartbeat Mechanism in Computer's Sync Protocol: How Stale Connections Are Detected](/cloudflare/computer/what-is-the-heartbeat-mechanism-and-how-does-it-detect-stale-connections)

Learn how the heartbeat mechanism in Cloudflare's Computer sync protocol detects stale connections with periodic pings. Discover how it prevents timeouts and triggers automatic reconnection.

- Tags: internals
- Published: 2026-08-07

### [How to Use WorkspaceObserver and WorkspaceSpan for Monitoring Workspace Operations in Cloudflare Computer](/cloudflare/computer/how-to-use-workspaceobserver-and-workspacespan-for-monitoring)

Monitor Cloudflare Computer workspace operations using WorkspaceObserver and WorkspaceSpan. Learn how to instrument and forward traces to the Cloudflare runtime.

- Tags: how-to-guide
- Published: 2026-08-07

### [WorkspaceStub vs WorkspaceRuntimeStub vs WorkspaceFilesystemStub in Cloudflare Computer: Functional Differences Explained](/cloudflare/computer/differences-between-workspacestub-workspaceruntimestub-and-workspacefilesystemstub)

Understand the functional differences between WorkspaceStub WorkspaceRuntimeStub and WorkspaceFilesystemStub in Cloudflare Computer Explore how each stub handles filesystem and runtime APIs across the Workers RPC boundary

- Tags: deep-dive
- Published: 2026-08-07

### [How the Computer Sync Protocol Handles Conflict Resolution with Its Change Coalescing Algorithm](/cloudflare/computer/how-does-the-sync-protocol-handle-conflict-resolution-with-change-coalescing)

Learn how the Computer sync protocol resolves filesystem conflicts. Discover its change coalescing algorithm and last-writer-wins strategy for efficient mutation handling.

- Tags: internals
- Published: 2026-08-07

### [Lifecycle of a Container Backend in Cloudflare Computer: Events, Monitoring, and Exit Handling](/cloudflare/computer/lifecycle-of-a-container-backend-in-computer-and-container-lifecycle-events)

Explore the container backend lifecycle in Cloudflare Computer. Learn about creation, monitoring, graceful destruction, and exit handling, all managed via generation tracking for robust performance.

- Tags: internals
- Published: 2026-08-07

### [How to Implement a Custom Mount Provider for Cloudflare R2 or Other Storage Backends in Computer](/cloudflare/computer/how-to-implement-custom-mount-provider-for-cloudflare-r2-in-computer)

Learn to implement a custom mount provider for Cloudflare R2 or other storage backends in Computer. Follow our guide to create an EagerMount object with a materialize method.

- Tags: how-to-guide
- Published: 2026-08-07

### [FUSE Mount vs Real Disk: Performance Implications for Metadata-Heavy Operations in Computer](/cloudflare/computer/performance-of-fuse-mount-vs-real-disk-for-metadata-heavy-operations-in-computer)

Discover FUSE mount vs real disk performance for metadata heavy operations. Cloudflare Computer offers faster stat rm mkdir but higher overhead for large transfers.

- Tags: performance
- Published: 2026-08-07

### [How workspace.runtime.exec Handles Structured Input for Callable Backends in Cloudflare Computer](/cloudflare/computer/how-does-workspaceruntimeexec-handle-structured-input-for-callable-backends)

Learn how workspace runtime exec handles structured input for callable backends in Cloudflare Computer using JSON encoding and Cap Proto RPC for type-safe execution.

- Tags: internals
- Published: 2026-08-07

### [CapnWeb RPC Wire Contract: How Cloudflare Computer Connects Durable Objects to `computerd`](/cloudflare/computer/what-is-the-capnweb-rpc-wire-contract-between-the-durable-object-and-computerd)

Explore the capnWeb RPC wire contract for Cloudflare Durable Objects and computerd. Learn how this Cap'n Proto protocol enables secure, efficient communication for filesystem, sync, and lifecycle operations.

- Tags: internals
- Published: 2026-08-07

### [How to Register and Configure Multiple Backends with Stable IDs in a Cloudflare Computer Workspace](/cloudflare/computer/how-to-register-and-configure-multiple-backends-with-stable-ids-in-a-cloudflare-computer-workspace)

Easily register and configure multiple backends with stable IDs in Cloudflare Computer Workspace. Learn how to pass backend objects with explicit ID selectors to the Workspace constructor for seamless execution routing.

- Tags: how-to-guide
- Published: 2026-08-07

### [How the Content-Addressed Blob Cache Works in @cloudflare/dofs: Implementation and Performance Deep Dive](/cloudflare/computer/how-does-the-content-addressed-blob-cache-function-within-the-cloudflare-dofs-library)

Discover how the content-addressed blob cache in cloudflare/dofs optimizes performance by storing file chunks with SHA-256 hashes, minimizing redundant SQLite queries for faster data access.

- Tags: deep-dive
- Published: 2026-08-07

### [CloudflareContainerBackend vs WorkerShellBackend vs WorkerJavaScriptBackend: Key Differences in the Computer SDK](/cloudflare/computer/what-are-the-differences-between-cloudflarecontainerbackend-workershellbackend-and-workerjavascriptbackend)

Explore key differences between CloudflareContainerBackend, WorkerShellBackend, and WorkerJavaScriptBackend in the Computer SDK. Understand runtime, filesystem, startup costs, and capabilities.

- Tags: deep-dive
- Published: 2026-08-07

### [How SQLiteWorkspaceProvider Implements Buffered Writes for the FUSE Driver in computerd](/cloudflare/computer/how-does-the-sqliteworkspaceprovider-implement-buffered-writes-for-its-fuse-driver)

Discover how SQLiteWorkspaceProvider uses buffered writes for the FUSE driver in computerd. Learn about atomic persistence and POSIX-compliant read-after-write semantics.

- Tags: internals
- Published: 2026-08-07

### [Cloudflare Durable Object and computerd Sync Protocol Architecture](/cloudflare/computer/what-is-the-architecture-of-the-sync-protocol-between-cloudflares-durable-object-and-computerd)

Discover the Cloudflare Durable Object and computerd sync protocol architecture. Learn about its single-direction Cap Proto RPC over WebSockets for filesystem replication and command execution.

- Tags: architecture
- Published: 2026-08-07

### [How Cloudflare Computer's WorkspaceRuntime Routes exec Requests to Container, Worker‑Shell, and Worker‑JavaScript Backends](/cloudflare/computer/how-does-cloudflares-computer-workspaceruntime-route-exec-requests-to-different-backends)

Discover how Cloudflare Computer's WorkspaceRuntime routes exec requests to container, worker-shell, and worker-javascript backends using its unified interface.

- Tags: internals
- Published: 2026-08-07

