# Cloudflare 早期預覽 @cloudflare/computer：Agent 要的是一台電腦，不是一個 container

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 原作者：Cloudflare (@Cloudflare) · 策展與摘要：EasyVibeCoding · 平台：X (Twitter) · 熱度：🔥🔥🔥 · 日期：2026-08-04

> 原始來源：https://x.com/Cloudflare/status/2084264282405974034

## 證據與延伸閱讀

- [Cloudflare 推出 @cloudflare/computer 執行 agent 任務](https://cfl.re/4w8H8AN) — 官方文件

## 中文摘要

Cloudflare 早期預覽 @cloudflare/computer：Agent 要的是一台電腦，不是一個 container。

這項方案試圖突破「每個 Agent 配置一個 container」無法支撐數億至數十億個並行 Agent 的瓶頸。

![](https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/27f388ee0af91c58.png)
> Cloudflare Blog 的文章主視覺，左側標題為「Your agent needs a computer, not a container — introducing @cloudflare/computer」，右側為一台筆記型電腦插畫，螢幕顯示宇宙星球與衛星的動態圖像，上方帶有橘色 Cloudflare logo。

**分享重點** Cloudflare 認為，Agent 不只需要 container，而需要檔案系統、shell、工具、套件與執行程式碼的完整工作環境。`@cloudflare/computer` 將 Agent harness 放在 isolate 中，僅在任務需要 Linux、npm 或原生 binary 時呼叫 container，以兼顧效能、成本與擴充性。

**核心架構** `Workspace` 提供由 SQLite 支援的持久化虛擬檔案系統，可連接 git repository、storage bucket 或自訂檔案，並讓 isolates 與 container 共用且同步同一份檔案。內建兩種執行環境（也可自行實作 backend）：以 `just-bash` 將 shell 轉為 JavaScript 的 isolate runtime，以及透過 FUSE 掛載完整 Linux 環境的 Cloudflare Container runtime。程式碼實際跑在 isolate、container sandbox 還是 web browser 由平台處理，開發者不需自行決定；workspace 可掛在任何 Durable Object 上。

![](https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/505497278c4e41e1.webp)
> 筆記型電腦螢幕顯示太空與地球的插畫，周圍帶有放射狀線條。

**控制與使用** 套件提供 `read`、`write`、`edit`、`ls`、`exec` 等 AI SDK 相容工具；操作皆受控、可稽核並可觀測，留下 Agent 變更的完整紀錄。安裝指令為 `npm install @cloudflare/computer`，模型可依任務選擇快速、低成本的 worker backend，或功能完整的 container。

**後續目標** Cloudflare 表示，前沿模型在測試中很擅長做出正確選擇，只在必要時才退回使用 container；其目標是讓 container 僅處理少於 10% 的工作，並由 isolates 完成 JavaScript 開發、測試、部署，以及音訊、影片與文件建立。這仍是早期實驗，Cloudflare 以開源函式庫形式釋出 @cloudflare/computer，希望與客戶共同驗證大規模 Agent runtime 的可行性。

## 標籤

新產品, Agent, Linux, Cloudflare
