SDKs for Every Language
Choose your favorite programming language and start building with Universal Sandbox. Same unified interface across Python, Node.js, and 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}")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.
Type Safety
Full type annotations and autocomplete support in your IDE.