Available SDKs
Sandbox SDKs
Low-level SDKs for direct sandbox interaction:Python
Full async/sync support with comprehensive file and command APIs
JavaScript/TypeScript
Modern TypeScript SDK with Node.js and browser support
Kotlin/Java
Type-safe JVM SDK with builder pattern and try-with-resources
C#/.NET
IAsyncDisposable SDK supporting .NET Standard 2.0+
Code Interpreter SDK
Code Interpreter
High-level SDK for executing Python, Java, Go, TypeScript code with state persistence
Choosing the Right SDK
Use Sandbox SDKs when you need:
- Direct control over sandbox lifecycle (create, pause, resume, kill)
- File system operations (read, write, search, delete)
- Command execution with streaming output
- Network endpoint management
- Custom health checks and resource monitoring
- Administrative tasks (listing/managing multiple sandboxes)
Use Code Interpreter SDK when you need:
- Code execution in multiple languages (Python, Java, Go, TypeScript)
- State persistence across executions (variables/imports retained)
- Multi-language contexts in a single sandbox
- Simplified API for running code snippets
- Pre-configured runtime environments
SDK Comparison
| Feature | Python | JavaScript | Kotlin | C# | Code Interpreter |
|---|---|---|---|---|---|
| Async/Await | ✅ | ✅ | ❌ | ✅ | ✅ |
| Sync API | ✅ | ❌ | ✅ | ❌ | ✅ |
| Streaming | ✅ | ✅ | ✅ | ✅ | ✅ |
| File Ops | ✅ | ✅ | ✅ | ✅ | Via Sandbox |
| Browser Support | ❌ | ✅* | ❌ | ❌ | ❌ |
| Multi-language Execution | ❌ | ❌ | ❌ | ❌ | ✅ |
| State Persistence | Manual | Manual | Manual | Manual | ✅ |
Common Capabilities
All Sandbox SDKs share these core capabilities:Lifecycle Management
- Python
- JavaScript
- Kotlin
- C#
Command Execution
- Python
- JavaScript
- Kotlin
- C#
File Operations
- Python
- JavaScript
- Kotlin
- C#
Installation
Choose your language to get started:- Python
- JavaScript
- Kotlin
- C#
Next Steps
Quick Start
Get started with your first sandbox in 5 minutes
API Reference
Explore detailed API documentation
Examples
Browse code examples and use cases
Configuration
Learn about connection and sandbox configuration