Repolode
cloudflare

cloudflare/computer

A virtual filesystem inside a Cloudflare Durable Object that gives AI agents a workspace with pluggable container or Worker-based execution backends.

スター
9,646
フォーク
565
未解決の Issue
27
最終コミット
2 時間前

これは何?

Cloudflare Computer keeps a workspace's authoritative state in SQLite inside a Durable Object and exposes it as a filesystem. Code run against that workspace goes through a single entry point, workspace.runtime.exec, which dispatches to one of several backends registered under stable IDs.

Three backends are included. The container backend mounts the state as a FUSE filesystem inside a sandbox container through a sandbox-side daemon called computerd, with a full Linux userland and network access. The isolate shell backend runs just-bash in a Dynamic Worker and reads the workspace over Workers RPC. The isolate JavaScript backend evaluates an ECMAScript module in a fresh Dynamic Worker with Workspace-backed node:fs/promises and host modules such as ws:git and ws:container. A workspace can also be used without any backend, as a plain filesystem.

The package is aimed at developers building agents on Cloudflare Workers. The @cloudflare/computer package is marked production-ready, while the container backend and some pieces are labeled experimental.

主な機能

  • 01Stores workspace state in SQLite inside a Durable Object.
  • 02Runs commands in a sandbox container with a FUSE-mounted filesystem.
  • 03Executes shell commands in a Dynamic Worker using just-bash.
  • 04Evaluates ECMAScript modules in isolated Dynamic Workers with workspace-backed fs access.
  • 05Selects execution backend per call through a single exec API.

ユースケース

  • Giving an AI agent a persistent working directory on Cloudflare.
  • Running agent-generated shell commands or JavaScript without a full container.
  • Building a workspace-backed agent that runs pandoc or other Linux tools in a container.
  • Publishing generated project files to a Git-style repository.

トピック

よくある質問

computer とは?
A virtual filesystem inside a Cloudflare Durable Object that gives AI agents a workspace with pluggable container or Worker-based execution backends. Cloudflare Computer keeps a workspace's authoritative state in SQLite inside a Durable Object and exposes it as a filesystem. Code run against that workspace goes through a single entry point, workspace.runtime.exec, which dispatches to one of several backends registered under stable IDs.
computer は無料で使えますか?ライセンスは?
computer は MIT ライセンスのオープンソースです。商用製品で使う前にライセンス条件を確認してください。
computer は今もメンテナンスされていますか?
活発にメンテナンス中。computer の最終コミットは 2026年10月19日 です。
computer は何に使えますか?
Giving an AI agent a persistent working directory on Cloudflare. Running agent-generated shell commands or JavaScript without a full container. Building a workspace-backed agent that runs pandoc or other Linux tools in a container. Publishing generated project files to a Git-style repository.
computer はどこで入手できますか?
ソースコードとインストール手順は GitHub にあります:https://github.com/cloudflare/computer

概要はプロジェクトの README をもとに AI が生成しています。GitHub の数値は毎日更新されます。

関連プロジェクト