Cloudflare released its Dynamic Worker Loader API into open beta to provide a lightweight sandboxing system for AI-generated code. This feature enables a Cloudflare Worker to instantiate another worker with runtime-specified code in milliseconds.

Dynamic Workers start roughly 100 times faster than traditional container-based systems. The technology is 10 to 100 times more memory efficient than existing alternatives.

The launch supports Cloudflare’s Code Mode strategy for AI agents. This approach replaces sequential tool calls with direct API code execution. Cloudflare claims this method reduces token usage by 81%.