Skip to main content

Agent sandboxes

Small instances are cheap ($0.013/hr) and boot instantly. Snapshot your setup once, then spin up identical sandboxes on demand:
# Set up a template
machine0 new template
machine0 ssh template
# ... install your agent's dependencies ...

# Snapshot it
machine0 images new template agent-sandbox

# Spin up sandboxes as needed
machine0 new sandbox-1 --image agent-sandbox
machine0 new sandbox-2 --image agent-sandbox

# Clean up when done
machine0 rm --all --yes
Each sandbox gets a dedicated IP and HTTPS endpoint. Agents can reach their sandbox at https://<name>.mac0.io.

OpenClaw

Launch an OpenClaw instance with one command:
machine0 use openclaw
This creates a medium or larger VM with OpenClaw pre-installed and SSHes you in. The VM name is auto-generated with an openclaw- prefix.

Dev environments

The base-24-04 image ships with a full development toolchain:
  • Languages: Node.js, Python, Go, Rust, Bun
  • Tools: Docker, Git, tmux, modern shell tooling (zoxide, fzf, ripgrep, bat)
  • AI agents: Claude Code, Codex, OpenCode
SSH in and start building. No local setup required.
machine0 new dev --size large
machine0 ssh dev

Hosting

Every VM has dedicated resources, a fixed IP, and an HTTPS endpoint. Host APIs, bots, databases — anything that needs to stay up.
machine0 new my-api --size medium --region us
machine0 ssh my-api "docker compose up -d"
# Available at https://my-api.mac0.io

Ansible provisioning

Write playbooks to automate VM setup. Use coding agents to author playbooks and disposable VMs to test them:
# Test a playbook on a throwaway VM
machine0 new test-vm
machine0 provision test-vm playbook.yml
machine0 ssh test-vm  # verify it worked
machine0 rm test-vm --yes

# Apply to production
machine0 provision prod-vm playbook.yml
machine0’s own base-24-04 image is built this way. See the Ansible playbook for a working example.