{"slug": "cloudflare-launches-persistent-stateful-computer-like-environments-for-agents", "title": "Cloudflare Launches Persistent, Stateful, Computer-like Environments for Agents", "summary": "Cloudflare launched Cloudflare Computer, an open-source runtime that gives AI agents persistent, stateful environments using isolates and container sandboxes, aiming to scale to billions of concurrent agents. The runtime optimizes efficiency by deciding whether code runs in an isolate or container, with a shared SQLite filesystem, and is currently in early preview for experiments.", "body_md": "Cloudflare has introduced [Cloudflare Computer](https://blog.cloudflare.com/cloudflare-computer/), a new open-source runtime designed to give AI agents something closer to a real \"computer\" instead of just ephemeral containers. It leverages Cloudflare isolates for fast serverless execution, making agents cheaper, faster, and more scalable, according to the company.\n\nCloudflare Computer attempts to tackle a major challenge in AI agent deployment. The company argues that relying on containers to run agents will not scale to \"hundreds of millions, then billions, of concurrent agents\", because there simply is not enough global compute capacity for that.\n\nTo address this, the [@cloudflare/computer](https://github.com/cloudflare/workspace) package introduces an agent runtime where the platform decides whether code runs in an isolate, a container sandbox, or a web browser. In this model, \"each agent gets a computer, the runtime optimizes for efficiency, and scalability\".\n\nOur goal with @cloudflare/computer is to provide an agent with a runtime where a container is required for less than 10% of its work, and coding tasks, audio/video manipulation, and document creation can all be handled by isolates.\n\nAccording to Cloudflare, isolates, which were introduced with [Cloudflare Workers](https://www.infoq.com/articles/react-app-edge-cloudflare-workers/), are \"infinitely horizontally scalable\" and can start up and shut down extremely quickly. Additionally, they can persist the agent state, hibernate when the agent is not running, as well as spin up their own container sandboxes when needed. Cloudflare maintains that this combination of isolates and container sandboxes is extremely effective because it combines horizontal and vertical scalability:\n\nCloudflare’s architecture has been designed to run the agent harness in the isolate (in a Durable Object) and call an attached container on-demand as a tool. This allows you to utilize heavier compute primitives only when required, optimizing performance and cost.\n\nOne central piece in this architecture is a shared, SQLite-based filesystem accessible to both isolates and containers. This allows tasks to move seamlessly between the two, with the shared filesystem allowing them to work on the same files. Cloudflare Computer filesystems can be used with git repositories, storage buckets or arbitrary files, while ensuring all operations are gated, audited, and observed.\n\nCurrently, Cloudflare Computer provides three backends: container projects, where the SQLite state is exposed as a sandboxed container as a real FUSE-mounted filesystem; isolate shells, which runs `just-bash`\n\nenvironment in a Dynamic Worker; and isolate JavaScript, which runs an ECMAScript module in a fresh Dynamic Worker.\n\nCloudflare Computer is still an early preview and is only suitable for experiments, exploration and prototypes, says cloudflare.", "url": "https://wpnews.pro/news/cloudflare-launches-persistent-stateful-computer-like-environments-for-agents", "canonical_source": "https://www.infoq.com/news/2026/08/cloudflare-computer-agents/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global", "published_at": "2026-08-07 21:00:00+00:00", "updated_at": "2026-08-09 13:38:00.410108+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "developer-tools"], "entities": ["Cloudflare", "Cloudflare Computer", "Cloudflare Workers", "@cloudflare/computer"], "alternates": {"html": "https://wpnews.pro/news/cloudflare-launches-persistent-stateful-computer-like-environments-for-agents", "markdown": "https://wpnews.pro/news/cloudflare-launches-persistent-stateful-computer-like-environments-for-agents.md", "text": "https://wpnews.pro/news/cloudflare-launches-persistent-stateful-computer-like-environments-for-agents.txt", "jsonld": "https://wpnews.pro/news/cloudflare-launches-persistent-stateful-computer-like-environments-for-agents.jsonld"}}