When to Use Volumes
Volumes are ideal for:- Agent workspaces - Git repositories, project files that persist between sessions
- Large datasets - Data that shouldn’t be re-downloaded on every sandbox start
- Shared state - Files accessed by multiple sandboxes over time
- Cold access - Browsing or downloading files without spinning up a sandbox
How It Works
- POSIX compatibility - Supports all standard file operations
- Lazy loading - Files load on-demand, not at startup
- Crash durability - Writes are persisted immediately
- Cold access - List, upload, and download files via API
Quick Start
Volume vs Sandbox Filesystem
| Feature | Volume | Sandbox Filesystem |
|---|---|---|
| Persistence | Survives restarts | Lost on kill |
| Access without sandbox | Yes (API) | No |
| Startup time | Instant (lazy load) | Instant |
| Max size | 10 TB | Based on template |
| Cost | Storage + metadata | Included |
Limits
| Limit | Value |
|---|---|
| Max volume size | 10 TB |
| Max file size | 1 TB |
| Volume name length | 63 characters |
| Volumes per team | 1000 |