HeadsUpAI

Cloudflare Launches Sandboxes to Give AI Agents a Persistent Computer

· Updated

Cloudflare, a network and security company providing developer platform services, moved its Sandboxes and Containers to general availability. The update introduces PTY support (a real terminal interface) and persistent code interpreters (stateful execution environments) to give AI agents a persistent environment. These environments start on demand and sleep when idle.

Most agent systems rely on request-response loops that lose state between turns. By providing a full computer with a filesystem and background processes, this infrastructure enables agents to participate in tight feedback loops—like running tests and fixing errors. Secure credential injection allows agents to access private services without seeing tokens.

You can now deploy up to 15,000 concurrent instances using a pricing model that only charges for active CPU cycles. Snapshot support will allow you to save full disk states to R2 for instant session restoration. The SDK is available via npm for immediate integration.

Cloudflare
Cloudflare
@Cloudflare
X

AI agents need more than a prompt—they need a computer. 💻 Cloudflare Sandboxes are now GA. Give your agents a secure, persistent environment to clone repos, run Python/JS, and debug via a real PTY terminal. #AgentsWeek https://t.co/S1CzYIfpNl

13retweets67likes
View on X

Share this update