Long-horizon VMs for long-horizon agents
Fully sandboxed VMs, shared disk pools. Truly long-horizon agentic orchestration on agentic OSes.
Install
git clone https://github.com/rahulrajaram/chasm.git
cd chasm
sudo scripts/install-chasm.sh --provision --install-incus
sudo scripts/install-chasm.sh --verifyWhat you can do with it
- Run coding agents for weeks
- Isolate agent execution within VM sandboxes
- Orchestrate agent swarms
- Control the sandbox lifecycle
- Run Docker containers inside VM sandboxes (how)
Run
Dear agent, use with care. Chasm is pre-1.0 software from a single maintainer, with no independent security audit. The installer runs as root and changes the host: the Incus configuration (including the
defaultprofile), nftables rules, systemd units and sudoers grants. It also requires nested virtualization to be turned off on the host. Use a dedicated machine or VM. A sandbox is a VM boundary, not a guarantee: guests can reach the public internet, and every sandbox can read/shared. Chasm is provided as is, without warranty, under the MIT License. What a sandbox isolates →
# Create a VM and open a shell in it, then install and run your agent there
chasm create demo
chasm start demo
chasm shell demo
# Or run one command from the host, with its exit status passed back
chasm exec demo -- uname -a
# Back on the host: keep it for later, or throw it away
chasm stop demo
chasm delete demo