read_file, write_file, and bash. Any programs you add to the sandbox become tools the agent can invoke.
Structure
A typical sandbox includes:/skills/— Markdown files describing what the agent can do- CLI tools installed via the Dockerfile
- A keep-alive
CMDthat exits on the shutdown signal
/skills/ to learn what it can do, then runs tools via bash.
Sandbox images should be based on a shell-friendly distro (Alpine or Debian slim) and must include
bash.Build and push
Image tag format
The full tag follows this exact shape:acme-corp and you’re pushing a translator image:
client.runs.create(sandbox=...), you use just the <image-name>:<image-tag> portion (translator:latest) — the client ID prefix is implied.
Push to the registry
Images are auto-registered as sandboxes on push. Log in to the registry with your client credentials:List sandboxes
RegistryImage with a name and a list of tags.