Sandboxes
Sandboxes are ephemeral, isolated Linux environments designed for running untrusted code, CI evaluations, and AI agent tool calls. Each sandbox lives inside a project environment and can reach that environment’s databases privately via <service>.internal.
Runtime & isolation
All sandboxes run under gVisor (runsc). Docker inside sandboxes is not supported.
You can launch sandboxes from sandbox-base (Ubuntu with git, Node, Python, Go, and common coding tools), sandbox-cuda (for GPU-enabled workloads), or any custom container image. Outbound port 25 and mining pools are blocked.
Capabilities
- Command execution: Run commands via API/SDK and receive stdout, stderr, and exit codes (or stream output).
- Interactive shell: Connect over a WebSocket PTY terminal in the browser or via
neatploy sandbox ssh. - Files API: Read, write, list, and delete files by path.
- Explicit ports: Sandboxes expose no public ingress by default; opening a port generates a temporary HTTPS URL.
- Checkpoint and fork: Snapshot and fork a sandbox state (supported on the same host node in v1).
Timeouts and limits
The idle timeout defaults to 15 minutes, configurable up to 24 hours. Sandboxes count toward your organisation’s vCPU, memory, and GPU limits, alongside a default concurrent sandbox cap of 3.