Cloudflare Computer gives AI agents a workspace that persists
· Do Minh Tuan · Developer Corner 💻
Cloudflare has released Cloudflare Computer, an open-source runtime that gives AI agents a persistent environment to work in. The problem it targets is real and easy to underestimate: serverless functions forget everything the moment they finish.
That amnesia is fine for an API endpoint that converts a currency. It is miserable for an agent that has spent twenty steps reading a repository, running tests and building up a plan. Each new function invocation starts from zero, so you either rebuild the context on every call or you keep the whole thing inside one long request and hope it does not time out.
The other obvious option is a container. Containers remember, but they are heavy: a full environment to boot, more memory to hold, more cost to run while the agent thinks.
Cloudflare's answer is to put the agent inside a V8 isolate, the same isolation primitive behind Workers, and add persistence on top.
What an isolate actually is
An isolate is a separate JavaScript execution context inside an existing process. No operating system to boot, no machine to schedule. It starts in milliseconds, and it is walled off from other isolates so one bad script cannot read another's memory.
That is the technical claim, and I think it is a good one for this workload. The interesting question is what 'persistent' means once you add it.
If an agent keeps its workspace between calls, something has to hold that workspace. Something has to decide when it expires, who can reach it, what happens when the underlying machine goes away, and how much it costs to keep a thousand idle agents alive. Cloudflare's answer is that the runtime provides the persistence and the workspace files, which is convenient, and also means your agent's memory now has a lifecycle to manage.
The part that will bite teams
The tempting shortcut, and one I would resist, is to treat the agent's live memory as the database. It is right there, it is fast, and it already holds everything the agent knows.
I would not do that. Cloudflare's own guidance points the other way: use the persistent isolate or a key-value store for the short-term workspace, and write the things that matter to a real database. Long-term state belongs in Postgres or MongoDB, not in whatever warm process happened to be alive when the user clicked.
The same mistake shows up in other forms. Session data in a Node process. In-memory caches as the source of truth. It works beautifully until a deploy, and then the state vanishes along with the process and everyone learns a lesson about where truth lives.
With agents, the failure is worse because the state is expensive. Losing a chat session is annoying. Losing the half-finished plan of an agent that was mid-way through a migration is a support ticket and a pile of manual cleanup.
The announcement sells speed and cost. I find both plausible. What I would want to verify is what happens at the edges.
I would want to know how long a workspace survives without activity, whether there is a hard limit, and whether it fails loudly or silently. If two requests for the same session arrive at once, I would ask whether they share the same isolate, and what stops them from interleaving their writes. Those answers decide whether persistence is a feature or a source of corrupted state.
I would also want to know how the workspace is cleaned up. A runtime that remembers everything is also a runtime that stores everything, including whatever a user pasted into a prompt. Retention policy is a security question, not a billing detail.
If you are building a coding agent, a research assistant or a multi-step workflow bot, this class of runtime is the right shape. The alternative is either rebuilding context constantly or paying for containers that idle. Neither is great, and both get expensive as usage grows.
If you are building a normal web app with one AI feature, this is probably more machinery than you need. A single call to a model behind an API does not need a persistent computer. Reaching for one because the demo looks impressive is how teams end up with infrastructure they cannot debug.
For founders, the honest framing is that this lowers the floor for building agent products. A small team can now run something that would have needed a platform engineer a couple of years ago. That is a real shift, and it also means the differentiator moves. If everyone can host an agent cheaply, the product is no longer the hosting.
An agent without persistence is a contractor who is handed a fresh desk every morning and told to start over. Giving it a desk that stays put is obviously better. The question a manager asks next is who cleans the desk, what stays on it overnight, and what happens when the contractor does not come back.
Cloudflare has answered the first question well. The second and third are the ones I would want documented before I put a customer-facing agent on it.
The open-source release is the part I think will decide this. If the runtime is genuinely portable, teams can test it without committing, and the abstraction gets pressure-tested by people who are not Cloudflare. If it turns out to be a thin wrapper around one platform's primitives, it will be useful and it will not be a standard.
Either way, the direction is right. Agents need somewhere to keep their work. The teams that win will be the ones that decide deliberately what survives a restart, instead of finding out during one.
Written with AI assistance, reviewed and edited by Do Minh Tuan.