miércoles, 25 de marzo de 2026

Cloudflares Dynamic Workers Run AI Agents 100x Faster

Cloudflare has launched Dynamic Workers in open beta, a revolutionary sandboxing system designed to transform how enterprises deploy AI agents. This lightweight, isolate-based technology starts in milliseconds, consumes only a few megabytes of memory, and can execute on the same machine—even the same thread—as the request that initiated it. Compared to traditional Linux containers, Dynamic Workers are approximately 100 times faster to start and between 10 to 100 times more memory efficient, representing a significant leap in AI infrastructure performance.

Cloudflare's Dynamic Workers Run AI Agents 100x Faster

The technology builds upon Cloudflare's broader "Code Mode" philosophy, which proposes that large language models perform better when given an API and asked to write code against it, rather than being forced through sequential tool calls. By converting an MCP server into a TypeScript API, Cloudflare reports an 81% reduction in token usage. Dynamic Workers serve as the secure execution layer that makes this approach practical at scale, potentially reshaping the economics and safety of AI agent runtimes.

This release represents Cloudflare's strategic bet on making sandboxing itself a crucial layer in the AI stack. As AI agents increasingly generate small code snippets on the fly to retrieve data, transform files, or automate workflows, the runtime's economics and safety become nearly as important as the model's capabilities. Whilst containers and microVMs remain useful for persistent workloads, Cloudflare argues they're too heavy for a future where millions of users may each have multiple agents constantly writing and executing code.

Security remains paramount in this approach. Cloudflare acknowledges that hardening an isolate-based sandbox is more challenging than relying on hardware virtual machines, with V8 security bugs being more common than hypervisor vulnerabilities. However, the company leverages nearly a decade of experience securing its Workers platform, including automatic V8 security patch deployment within hours, custom second-layer sandboxing, dynamic tenant cordoning based on risk profiles, and extensions using hardware features like Memory Protection Keys. This comprehensive security model now extends to Dynamic Workers, making ultra-fast software sandboxing safe enough for AI-generated code.

The platform includes practical enterprise features such as globalOutbound, which allows developers to intercept every outbound HTTP request from a Dynamic Worker. This enables credential injection without exposing raw secrets to generated code, providing crucial blast-radius control for enterprise environments. Cloudflare has also shipped a complete toolkit including the @cloudflare/codemode package for simplified execution, @cloudflare/worker-bundler for dependency management, and @cloudflare/shell for virtual filesystem operations backed by SQLite and R2 storage.

Community reaction has been mixed yet enthusiastic. Whilst supporters praise Cloudflare for reinventing sandboxes to be lightweight and ridiculously fast, critics note the system works best when agents write JavaScript, potentially limiting adoption amongst teams preferring other languages. Cloudflare's pragmatic response is that AI models have no language loyalty and will write whatever language is requested, with JavaScript being naturally suited to sandboxed web execution. The platform is now available to all users on the Workers Paid plan, with Dynamic Workers priced at $0.002 per unique Worker loaded daily, though this fee is waived during the beta period.

Fuente Original: https://venturebeat.com/infrastructure/cloudflares-new-dynamic-workers-ditch-containers-to-run-ai-agent-code-100x

Artículo generado mediante LaRebelionBOT

No hay comentarios:

Publicar un comentario