Developer Platform von Cloudflare
Dynamic Workers jetzt in der offenen Beta
Dynamic Workers sind jetzt für alle zahlenden Workers-Nutzer in der Open Beta und ermöglichen es, zur Laufzeit weitere Workers zur Codeausführung in einer abgesicherten Sandbox zu starten.
Dynamic Workers are now in open beta ↗︎ for all paid Workers users. You can now have a Worker spin up other Workers, called Dynamic Workers, at runtime to execute code on-demand in a secure, sandboxed environment. Dynamic Workers start in milliseconds, making them well suited for fast, secure code execution at scale.
Use Dynamic Workers for
- Code Mode: LLMs are trained to write code. Run tool-calling logic written in code instead of stepping through many tool calls, which can save up to 80% in inference tokens and cost.
- AI agents executing code: Run code for tasks like data analysis, file transformation, API calls, and chained actions.
- Running AI-generated code: Run generated code for prototypes, projects, and automations in a secure, isolated sandboxed environment.
- Fast development and previews: Load prototypes, previews, and playgrounds in milliseconds.
- Custom automations: Create custom tools on the fly that execute a task, call an integration, or automate a workflow.
Executing Dynamic Workers
Dynamic Workers support two loading modes:
load(code)— for one-time code execution (equivalent to callingget()with a null ID). …