Cloudflare Sandboxes: a scenario-based guide to sandboxing agent-written code

irvinebroque · x · 2026-10-12

Developer irvinebroque curated Cloudflare Sandboxes docs by use case: the full @cloudflare/sandbox SDK for running untrusted agent-generated code in isolation (with control over internet access), lighter VFS+bash options when you just need to execute code, a browser sandbox option, and monitoring tooling.

Key details from the docs: containers run in dedicated microVMs with their own kernel and network, started by a Durable Object in your Worker that dispatches commands, with HTTP reaching instances only through the Worker. The Durable Object scheduling policy is in public beta and requires the Workers Paid plan.

Related event: Cloudflare Unveils Sandboxes and an Execution Ladder for LLM Agents(2 posts)→

Original post →

More from coding & agent

coding & agent channel →