Zerops Box
Zerops Box is in beta, and we're still shaping it. Its behavior, API and CLI may change as we go, and it doesn't come with an SLA yet. We'd love to hear your feedback, and more documentation is on the way.
Zerops Box runs sandboxes for AI agents on Zerops. One Zerops Box service is one workspace: a persistent Ubuntu virtual machine. Inside the workspace, each sandbox is a Firecracker microVM that you create, park, wake, fork and snapshot with the zbox CLI. Each workspace also serves a web console.
The service type is called Box Workspace, after its unit: one service is one workspace. It is a managed service, like a database. There is nothing to deploy: it has no zerops.yaml, no build and no deploy pipeline.
Install the zbox CLI
Workspaces and sandboxes are managed with the zbox CLI (zbox-cli repository). It runs on Linux, macOS and Windows, on amd64 and arm64.
On Linux and macOS:
The script downloads the latest release, verifies its SHA-256 checksum and installs zbox to /usr/local/bin if it's writable, otherwise to ~/.local/bin. If that directory isn't on your PATH, the script tells you how to add it.
On Windows, in PowerShell:
The binary is installed to %LOCALAPPDATA%\Programs\zbox and added to your user PATH. Open a new terminal for the change to apply.
Both scripts accept two environment variables: ZBOX_VERSION installs a specific release (for example v0.24) instead of the latest one, and ZBOX_INSTALL_DIR sets the install directory. Pre-releases (tags with a hyphen, like v0.24-rc1) are only installed when ZBOX_VERSION names them. Run zbox --version to check the installed version.
You can also download a binary from the releases page by hand, or install from source with Go 1.25 or newer:
Log in to your Zerops account. zbox login opens a consent page in the Zerops GUI where you confirm the code the CLI printed. If you don't have an account yet, zbox register opens the same page to create one first.
Create a workspace
The quickest way is zbox setup. It creates a Box Workspace service, by default named zbox in a new project named zbox-<timestamp>, and waits until the default sandbox image is pulled as the first base.
Check the login, the workspace, its capacity and what is in use with:
You can also create a workspace in the GUI: choose Add new service in your project and pick Box Workspace from the service catalog. Or describe it in a zerops-import.yaml:
Import it with the zCLI, or paste the YAML in the GUI (Import services in the left menu of your project):
Supported versions:
zbox@1,zbox@latest
Work with sandboxes
Create a sandbox, run commands in it and open its ports:
Without --base, the only ready base is used. Ports are written as port[/protocol][/access]. By default, opening a port needs a one-time ticket.
To start sandboxes without a cold boot, create a warm template. Sandboxes created from it resume from memory:
Commands have short aliases, like ls for list, rm for remove, ws for workspace and create for new. Every command accepts --json for scripting and -q to print only IDs.
Scaling
A workspace is a single VM, so it scales vertically only: CPU cores, RAM and disk. There is no horizontal scaling and no minimum or maximum container count. Disk space can be increased but never decreased. See Resource management for how vertical scaling works on Zerops.