A VM. Not just a prompt.
A real Linux environment with Docker, git, compilers, and package managers. Give the agent room to work in a disposable guest.
Explore the runtimeIsolated VMs for coding agents
Disposable Linux and macOS VMs for Claude Code and Codex. Give your agents a full development environment, with a clear boundary between their work and your Mac.
iso up && iso claude
macOS 27+ · Apple Silicon · Built with Swift
The agent works inside. Your host stays outside.
# Your project. A separate Linux VM.
❯iso up
✓Linux VM ready
✓Workspace copied → /workspace
✓Host credential proxy connected
❯iso claude
Claude Code is running inside the VM.
Provider API keys stay on your Mac.
Illustrative session · after setup, with the default provider-only settings
Your familiar tools.
A different boundary.
Room to work. Limits you set.
Let the agent build, break, and try again.
Decide what crosses the
boundary.
A real Linux environment with Docker, git, compilers, and package managers. Give the agent room to work in a disposable guest.
Explore the runtimeRoute provider requests through a Swift host-side proxy. By default, required proxy mode keeps provider credentials out of the guest, and the proxy itself runs confined, away from your files and local services.
Meet the credential proxy
Every pull lands in a host-side stage first. Inspect it with
iso diff, then apply exactly that stage, with no host Git
run on the guest’s files.
Open the project's VM with iso code . or
iso zed .. By default, the editor runs in a fresh sandbox
with no access to your host files, keychain, or clipboard.
By default the VM has no network device and no general egress. iso
reaches it over a brokered stream; set egress to
filtered to allow only listed hosts.
iso secrets encrypts local secrets with a passphrase and
this Mac’s Secure Enclave key. iso audit records boundary
events and each run’s history: names and counts, never values.
More ways to make it yours
Run on your Mac or a trusted remote Mac. Choose your model, set rules for access, and keep a working environment ready for the next session.
iso setup --guest macos
Build a macOS template from an Apple restore image you supply, then
launch Claude Code or Codex inside it. Opt in to
computer_use and the agent can see and drive the
guest’s own display. Linux remains the default, and Linux
images built with the desktop profile get a display
the agent can drive too.
iso host up
Run a Linux VM on another trusted Apple Silicon Mac over SSH. Keep your terminal and editor local, with provider credentials held by your client’s proxy.
Connect a remote Maciso policy show
For local VMs, opt into default-deny rules for provider access and
applying staged files. iso policy effective lists saved
grants, and any can be revoked by ID.
iso model set local
Route agents to a configured model server on your Mac, and switch back
to cloud defaults without rebuilding the VM. On a running VM with the
default brokered network, apply the switch with
iso stop and iso start; on a vmnet VM,
relaunch the agent.
iso run claude --rm
Start an agent in a new disposable VM and remove it when the session
ends. Preview the launch with --dry-run, or use an
installed agent definition.
iso commit / iso restore
Save a stopped Linux VM’s disk as a named image. Restore that filesystem later, keeping the instance’s name and workspace association.
Save and restore an image
Automating a workflow? Scripts and CI can use the versioned
iso.machine/v1 interface for structured command output.
Read the machine interface →
Running GitHub Actions? The separately installed iso-ci runs each
job in a fresh, NIC-less VM on your own Macs, and
iso-ci hooks install blocks a commit or push to a protected
branch until the workflow passes locally.
Read about iso-ci →
Small CLI. Clear separation.
Prepare an image once. Start a VM for your project.
Let your favorite
agent get to work.
Create your config and build the template image.
Start a VM with your project at /workspace.
Run your agent with its tools inside the guest.
// The default, spelled out.
{
"security": {
"preset": "provider-only"
},
"limits": {
"session_ttl": "8h"
}
}
Without a preset, iso uses provider-only: no network device, the credential proxy required, and staged file returns. Add a session deadline, too.
Relaxing the defaults is explicit: the networked preset needs a vmnet VM, whose guests can reach services on your Mac. A VM is a boundary, not a guarantee. Read the trust model →
A little separation goes a long way
Build from source, prepare your environment, and give your next coding session a space of its own.
Read the getting started guidemacOS 27+ · Apple Silicon · Xcode 27
# Build the host, proxy, and VM runtime.
git clone https://github.com/chr33s/iso.git
cd iso
python3 scripts/build-release.py --release
Extract the archive in .build/release-archive/ and
install all five executables (iso,
iso-proxy, iso-egress,
iso-sandbox, iso-macos-helper) together on
PATH. The Apple container service and guest kernel are
also required.
Backend setup →
iso setup
cd ~/code/my-project
iso up
iso claude # or: iso codex
iso code . # or: iso zed .
Run after installing the binaries. iso code and
iso zed open the project's VM in your editor over SSH.
Configure provider authentication before launching your agent.
Configuration guide →
Fork: a Swift fork of
Trail of Bits’ coop. Configuration lives in ~/.iso/config.jsonc.