Skip to content

[Dynamic Workers] Add AI agent sandboxes example#29570

Draft
irvinebroque wants to merge 1 commit intoproductionfrom
bib/dynamic-workers-agents
Draft

[Dynamic Workers] Add AI agent sandboxes example#29570
irvinebroque wants to merge 1 commit intoproductionfrom
bib/dynamic-workers-agents

Conversation

@irvinebroque
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new example page at /dynamic-workers/examples/ai-agent-sandboxes/ showing how Dynamic Workers serve as code sandboxes in an AI agent architecture.
  • Includes a mermaid architecture diagram showing the full flow: client → Worker (routeAgentRequest) → per-chat Durable Objects → Dynamic Worker sandboxes and Container sandboxes.
  • Covers request routing, per-chat Durable Object state, the load() API for sandbox creation, network access control via globalOutbound, and custom RPC bindings.
  • Briefly mentions Container sandboxes as an alternative for heavier workloads.

Show how Dynamic Workers serve as code sandboxes in an Agents SDK
chat architecture: request routing, per-chat Durable Objects, sandbox
isolation via globalOutbound and custom bindings, with a mermaid
architecture diagram.
@github-actions github-actions bot added the size/m label Apr 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
* @cloudflare/pcx-technical-writing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant