The Cloudflare Sandbox SDK skill guides developers in implementing secure, isolated Linux container execution directly on Cloudflare Workers and Durable Objects. It provides production-ready configuration patterns, session management for chat-based AI agents, and strategies for handling ephemeral container lifecycles, file persistence with R2, and multi-step bash executions. This skill is essential when building AI code interpreters, running untrusted Python or Node.js code, or automating Git operations at the edge without maintaining traditional server infrastructure.
주요 기능
01Run untrusted Python, Node.js, and shell commands in isolated Ubuntu containers
02Execute Git checkouts, code interpretation, and background process management
03239 GitHub stars
04Manage multi-step shell sessions with persistent working directory state for AI agents
05Configure Cloudflare Workers, Durable Objects, and Wrangler container bindings
06Handle container lifecycles, cold starts, and persistent storage integration with R2
사용 사례
01Safely executing untrusted user-submitted code in isolated edge environments
02Running automated Git build tasks and transient CI/CD scripts at the edge
03Building AI coding agents and interactive code interpreter sandboxes