Skip to content
Decaying

Cloudflare puts Dynamic Workers into open beta for sandboxed AI code execution

Original: We’re introducing Dynamic Workers, which allow you to execute AI-generated code in secure, lightweight isolates. This approach is 100 times faster than traditional containers. https://cfl.re/4c2NvPl View original →

Read in other languages: 한국어日本語
LLM Mar 26, 2026 By Insights AI 2 min read 55 views Source

What Cloudflare posted on X

On March 24, 2026, Cloudflare introduced Dynamic Workers as a way to run AI-generated code inside secure, lightweight isolates rather than inside heavier container sandboxes. The headline claim in the X post was straightforward: this approach is 100 times faster than traditional containers.

That matters because agent products increasingly need to execute model-written code on demand. The bottleneck is no longer only reasoning quality. It is whether the generated code can run quickly, with tight permissions, and without exposing the host environment to unnecessary risk.

What the blog adds

Cloudflare says Dynamic Worker Loader is now in open beta for paid Workers users. The API allows one Worker to create another Worker at runtime using code supplied on the fly, which gives agent systems a native place to execute short-lived code safely.

The security model is notable. In Cloudflare’s example, the parent Worker passes only the APIs the generated code should be allowed to use through env bindings, while direct outbound internet access can be disabled with globalOutbound: null. That is a much tighter control surface than dropping model-written code into a general-purpose runtime with broad network access.

Cloudflare also makes a strong infrastructure claim. Because Dynamic Workers use the same V8 isolate model that powers Workers, the company says a sandbox can start in a few milliseconds and use only a few megabytes of memory. The post describes this as roughly 100x faster and 10x-100x more memory efficient than a typical container. Cloudflare also says the architecture can scale to millions of requests per second without separate global sandbox limits.

Why this matters

The broader signal is that agent infrastructure is moving away from heavyweight, reusable sandboxes and toward per-task, per-request execution environments. That shift is important for products that generate code frequently and cannot afford either long cold starts or weak isolation.

If Cloudflare’s performance and security claims hold up in production, Dynamic Workers could become a more practical default for many code-executing agents than container-based approaches. That would make this release an infrastructure story with direct implications for how AI agents are built, priced, and secured.

Sources: Cloudflare X post · Cloudflare blog post

Share: Long

Related Articles

LLM Apr 15, 2026 2 min read

Cloudflare is moving agent infrastructure out of demo mode: Sandboxes and Containers are now generally available, with 7 recent upgrades aimed at persistent coding workflows. The stack now bundles PTY terminals, credential injection, stateful interpreters, background processes, file watching, snapshots, and higher limits.

LLM Hacker News Apr 17, 2026 1 min read

HN focused on the plumbing question: does a 14-plus-provider inference layer actually make agent apps easier to operate? Cloudflare framed AI Gateway, Workers AI bindings, and a broader multimodal catalog as one platform, while commenters compared it with OpenRouter and pressed on pricing accuracy, catalog overlap, and deployment trust.

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment