Isolated VMs for coding agents

Your agents.
Their own space.

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

A sealed box inside a boundary.

The agent works inside. Your host stays outside.

DISPOSABLE LINUX VM
~/code/my-project

# 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.

isolated Linux guestprovider-only preset

Host-side credential proxy

Provider API keys stay on your Mac.

outside the VM

Illustrative session · after setup, with the default provider-only settings

Your familiar tools.
A different boundary.

Claude Code Codex VS Code Zed Docker git your toolchain

Room to work. Limits you set.

Full tools. A smaller blast radius.

Let the agent build, break, and try again.
Decide what crosses the boundary.

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 runtime

Your keys. Your side.

Route 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

Review what comes back.

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.

See review and apply

Your editor. Their VM.

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.

See editor integration

Limit the network.

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.

Read about brokered networking

Secrets and an audit trail.

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.

See the audit history

More ways to make it yours

Pick your guest. Choose your workflow.

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

Linux or 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.

Set up a macOS guest
iso host up

Use another Mac.

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 Mac
iso policy show

Set rules at the boundary.

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.

Explore authorization policy
iso model set local

Cloud or a local model.

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.

Configure local models
iso run claude --rm

A fresh VM for one run.

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.

Try a disposable session
iso commit / iso restore

Save a working baseline.

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.

Three commands.
One clear boundary.

Prepare an image once. Start a VM for your project.
Let your favorite agent get to work.

  1. iso setup

    Create your config and build the template image.

  2. iso up

    Start a VM with your project at /workspace.

  3. iso claude # or: iso codex

    Run your agent with its tools inside the guest.

config.jsoncSecurity presets →
// The default, spelled out.
{
  "security": {
    "preset": "provider-only"
  },
  "limits": {
    "session_ttl": "8h"
  }
}

Less access. By default.

Without a preset, iso uses provider-only: no network device, the credential proxy required, and staged file returns. Add a session deadline, too.

proxy requiredstaged pulls8h session TTL

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

Your next session,
a little more isolated.

Build from source, prepare your environment, and give your next coding session a space of its own.

Read the getting started guide

macOS 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 →

Fork: a Swift fork of Trail of Bits’ coop. Configuration lives in ~/.iso/config.jsonc.