SDKs for Every Language

Choose your favorite programming language and start building with Universal Sandbox. Same unified interface across Python, Node.js, and Go.

Need help getting started? Check out our API documentation for detailed guides and examples.

Python programming language logo for Universal Sandbox SDK

Python

The most popular choice for AI and machine learning projects. Full async support and type hints included.

pip install universal-sandbox
Node.js programming language logo for Universal Sandbox SDK

Node.js

Perfect for web applications and serverless functions. Native Promise support with full TypeScript definitions.

npm install @universal-sandbox/sdk
Go programming language logo for Universal Sandbox SDK

Go

Ideal for high-performance backend services and CLI tools. Strongly typed with excellent concurrency support.

go get github.com/universal-sandbox/sdk-go
from universal_sandbox import Sandbox

# Create a client
client = Sandbox()

# Create a code interpreter sandbox
sbx = client.code_interpreter.create()
result = client.code_interpreter.execute(sbx.id, command="print('Hello World!')")
print(result.stdout)

# Use a specific provider
sbx_aws = client.code_interpreter.create(provider="aws")
result_aws = client.code_interpreter.execute(sbx_aws.id, command="import math; print(math.pi)")
print(result_aws.stdout)

# Browser sandbox
sbx_browser = client.browser.create(provider="volcengine")
if sbx_browser.urls:
    print(f"WSS: {sbx_browser.urls.wss}")
    print(f"VNC: {sbx_browser.urls.vnc}")

Installation Tips

  • Python: Requires Python 3.8+. Use pip install --upgrade universal-sandbox to get the latest version.
  • Node.js: Requires Node.js 18+. For TypeScript projects, types are included automatically.
  • Go: Requires Go 1.21+. Run go mod tidy after installation.

Having issues? Check the API docs or open an issue on GitHub.

Unified Features Across All SDKs

Same Interface

Identical API across Python, Node.js, and Go. Learn once, use everywhere.

All Providers

Switch between E2B, AWS, Volcengine, and Alibaba Cloud with a single parameter. Compare providers.

Type Safety

Full type annotations and autocomplete support in your IDE.