What you get
| Capability | What it does |
|---|---|
| Code | run_code for Python and JavaScript |
| Commands | run_cmd for shell and package installs |
| Files | Read, write, list, upload, download |
| Git | Clone, commit, push, branch |
| Access | SSH and web terminal |
| Secrets | Attach Identity providers; keys arrive as env vars on execution |
| Templates | Base images or custom templates |
Why sandboxes
Agents generate code and commands you cannot fully predict. A runtime keeps that work inside an isolated boundary so it does not touch your host credentials or local files. Each runtime has its own CPU, memory, and disk. It stays up until you terminate it (unless you set a timeout).Basic usage
With secrets
Templates
| Template | vCPU | Memory | Disk |
|---|---|---|---|
python-3.14-base-small | 1 | 1 GB | 2 GB |
python-3.14-base-medium | 1 | 2 GB | 4 GB |
python-3.14-base-large | 2 | 4 GB | 8 GB |
Lifecycle
- Create from a template (optionally attach Identity providers).
- Execute code and commands; attached secrets inject per execution.
- Terminate with
runtime.kill()when finished.
Next
Create Runtime
Parameters and response fields
Quickstart
First sandbox end to end
Secrets
Inject credentials safely