Key features
Filesystem
Read, write, upload, and download files
Commands
Run shell commands and start processes
Lifecycle
Manage timeout, get info, and shutdown
Persistence
Pause and resume sandboxes with full state
Default configuration
| Property | Value |
|---|---|
| vCPUs | 2 |
| RAM | 2 GiB |
| Storage | 22 GiB |
| Internet | Enabled |
These are defaults for the code-interpreter template. Custom templates can have different CPU/RAM configurations.
Sandbox capabilities
| Capability | Description |
|---|---|
| Run code | Execute Python, JavaScript, R, Java, Bash |
| Filesystem | Full read/write access to isolated filesystem |
| Commands | Run any shell command or process |
| Internet | Outbound HTTP/HTTPS requests |
| Persistence | Pause/resume with full memory state |
| Metadata | Attach custom key-value data |
| Environment variables | Pass secrets and configuration |
| Webhooks | Get notified on lifecycle events |