Agent needs a computer, not a container – introducing Cloudflare/computer
8 hours ago
- Cloudflare introduces @cloudflare/computer, an agent runtime providing a computer-like environment for agents, handling compute across isolates, containers, or browsers.
- The package addresses scalability challenges of container-only agent systems by using lightweight isolates for most tasks, with containers only when necessary.
- Key features: a shared filesystem across isolates and containers, support for code and bash execution, and AI SDK-compatible tools for file manipulation.
- Workspace is the core, a virtual filesystem backed by SQLite, with isolate and container backends for executing tasks.
- Goal: agents use containers for less than 10% of work, with isolates handling the rest, improving efficiency and scalability.