本文へスキップ

Cloudflare Computer

トレンド活発
cloudflare/computer

AI エージェントに「コンピューター」を。Durable Object に保存される仮想ファイルシステムで、コンテナ・アイソレートシェル・codemode の 3 種類の実行バックエンドに対応します。

GitHub で見る
スター
9919
フォーク
590
ウォッチ
9919
未解決の Issue
18

この紹介文は現在英語版のみです。

Overview

Cloudflare Computer is a virtual filesystem that lives inside a Durable Object. The Durable Object holds the authoritative state in SQLite and exposes a pluggable execution surface through workspace.runtime, so an AI agent gets a persistent workspace it can run code in.

Execution backends

  • Container — projects the SQLite state into a sandbox container as a real FUSE mount; a daemon (computerd) syncs changes back over a capnweb RPC channel. Full Linux userland, real binaries and network.
  • Isolate shell — runs just-bash in a Dynamic Worker that talks to the Workspace over Workers RPC, with no second store to sync.
  • Codemode — runs an ECMAScript module in a fresh Dynamic Worker with Workspace-backed node:fs/promises and host modules such as codemode:git and codemode:container.

A Workspace can register several backends; workspace.runtime.exec(source, { backend }) is the single entry point. It can also be used without any backend, as a plain filesystem.

Status

The @cloudflare/computer package is described as suitable for production, but some components — such as ContainerBackend — are experimental and not meant for production yet.

共通のカテゴリとタグで順位付けした、似たオープンソースプロジェクトです。

すべての AI プロジェクト →