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://t.co/c36Vkb7I0R
Cloudflare Launches Dynamic Workers for Sandboxing AI-Generated Code
Cloudflare· Updated
Cloudflare's Dynamic Workers, now in open beta for paid Workers users, runs AI-generated code in V8 isolate sandboxes that start in milliseconds — roughly 100x faster than containers. This makes per-request, per-user agent sandboxing practical at scale without concurrency limits.
Container-based sandboxes break down at per-user agent scale: providers impose concurrency limits and warm-pool requirements, forcing container reuse across users and weakening isolation. Dynamic Workers has no such limits — it runs on the isolate infrastructure serving millions of Workers requests per second, with V8 security patches deployed within hours and a custom second-layer sandbox for defense-in-depth.
The main constraint is JavaScript — Python and WebAssembly are supported but JavaScript loads faster for short snippets. If you're building agents that generate and execute code, the $0.002-per-unique-Worker-per-day fee is waived during beta.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →




