Skip to main content

OpenSandbox

OpenSandbox gives you secure, isolated cloud sandboxes that spin up in milliseconds. Run untrusted code, build AI agent tooling, or create interactive development environments — all within containerized sandboxes you fully control.

Why OpenSandbox?

Fast Startup

Sandboxes boot in under a second. Your agents and users never wait.

Secure Isolation

Every sandbox runs in its own container with strict resource limits and network isolation.

Full Environment

Each sandbox includes a filesystem, command execution, and interactive terminal (PTY) access.

Custom Templates

Build reusable templates from Dockerfiles with pre-installed tools and dependencies.

SDKs

OpenSandbox provides first-class SDKs for TypeScript and Python with identical API surfaces.
npm install opensandbox

Quick Example

import { Sandbox } from 'opensandbox';

const sandbox = await Sandbox.create({ template: 'base' });

const result = await sandbox.commands.run('echo "Hello from OpenSandbox!"');
console.log(result.stdout); // Hello from OpenSandbox!

await sandbox.kill();

Next Steps