AI for Developers
Cloudflare Sandbox SDK logo

Cloudflare Sandbox SDK

Visit Website

Run code in isolated containers from a Cloudflare Worker. Good for coding agents and code interpreters that already live on Workers.

The Cloudflare Sandbox SDK (@cloudflare/sandbox) runs untrusted or generated code in per-user Linux sandboxes on Cloudflare's edge. Each sandbox is a Durable Object paired with a Container, controlled from a Worker.

It supports file transfer, S3 bucket mounts and saving and restoring directories to R2. Start with npm create cloudflare@latest -- my-sandbox --template=cloudflare/sandbox-sdk/examples/minimal. Apache 2.0 licensed.

Cloudflare Sandbox SDK reviews

  • No reviews yet.
See something outdated? Suggest an update