OpenSandbox Documentation

1 min read Original article ↗

OpenSandboxUniversal Sandbox Infrastructure for AI Applications

Securely run commands, code interpreters, browsers, and developer tools in isolated environments with multi-language SDKs.

Sandbox Lifecycle Management

Provision, monitor, renew, pause/resume, and terminate sandbox instances with Docker and Kubernetes runtimes.

Multi-Language SDKs

Build with Python, Java/Kotlin, JavaScript/TypeScript, C#/.NET, and Go SDKs on top of standardized lifecycle and execution protocols.

In-Sandbox Execution

Execute shell commands, manage files, run multi-language code interpreters, expose ports, and stream logs and metrics.

Built for AI Workloads

Supports coding agents, browser automation, remote development, code execution, and reinforcement learning scenarios.

Typical Scenarios

OpenSandbox is listed in the CNCF Landscape.

Explore all examples in Examples.

Quick Install

bash

pip install opensandbox

bash

npm install @alibaba-group/opensandbox

kotlin

dependencies {
    implementation("com.alibaba.opensandbox:sandbox:{latest_version}")
}

bash

go get github.com/alibaba/OpenSandbox/sdks/sandbox/go

bash

dotnet add package Alibaba.OpenSandbox

See Getting Started for the full setup guide.