Agent Sandboxes
Agent Sandboxes run autonomous agents and untrusted code in isolated containers. Sandboxes run on sandbox clusters: compute that you create in your projects and that Nirvana provisions and manages for you.
How it works
Section titled “How it works”- Create a sandbox cluster in a project and region, choosing the instance type and number of nodes. See Sandbox Clusters.
- Create sandboxes on it through the Nirvana API, using any OpenSandbox SDK or plain HTTP. See Connect to a Sandbox Cluster.
- Reach services in a sandbox through signed endpoints on the cluster’s gateway. See Access Sandbox Endpoints.
Features
Section titled “Features”Self-service clusters
Section titled “Self-service clusters”Create, rename, tag and delete sandbox clusters through the API. An organization can run any number of them, within its quotas.
OpenSandbox-compatible API
Section titled “OpenSandbox-compatible API”The Nirvana API serves OpenSandbox’s Sandbox Lifecycle API at
https://api.nirvanalabs.io/v1/sandboxes. OpenSandbox SDKs for TypeScript,
Python, Go, C#, Java and Kotlin work unchanged with the base URL
https://api.nirvanalabs.io/v1.
One API key
Section titled “One API key”Sandboxes use your Nirvana organization API key, with the same project scoping and permissions as the rest of the platform. There is no separate sandbox key.
Persistent volumes
Section titled “Persistent volumes”Mount persistent volume claims into a sandbox to keep data on block storage. See Persistence & Storage.
Secure endpoints
Section titled “Secure endpoints”Every sandbox is created with secure access. Ports are reached only through signed, expiring endpoints: the cluster’s gateway hostname plus routing headers that the API returns.
High-performance hardware
Section titled “High-performance hardware”Sandbox clusters run on AMD EPYC 9354P CPUs and DDR5 RAM.
Lifecycle operations
Section titled “Lifecycle operations”- Create: start a sandbox on a ready sandbox cluster.
- Get and list: list covers sandboxes on every ready cluster in the projects your key can read.
- Update metadata and renew expiration.
- Get endpoint: get a signed endpoint for a port (gateway hostname plus routing headers).
- Delete: remove the sandbox.
Creating sandboxes from snapshots is not supported yet.
See the API Reference for the full list of endpoints.
Use cases
Section titled “Use cases”- Long-running agents: agents that work on tasks for hours or days.
- Isolated execution: running untrusted or experimental code.
- Development and testing: short-lived sandboxes for quick iteration.
- Batch processing: running many jobs in parallel.
Getting started
Section titled “Getting started”Early product
Section titled “Early product”Agent Sandboxes is an early release. We welcome your feedback and bug reports to help us improve the product.