---
title: "Overview"
seo:
  description: "isolate is a native Swift reimplementation of coop from Trail of Bits, for running Claude Code and Codex in disposable Linux VMs on macOS 27+ Apple Silicon."
---
<!--
Derived from trailofbits/coop.
Modified by chr33s: ported/adapted for the Swift implementation.
SPDX-License-Identifier: Apache-2.0
-->


isolate is a native Swift reimplementation of
[coop](https://github.com/trailofbits/coop) from Trail of Bits, for running
Claude Code and Codex in disposable Linux VMs on **macOS 27+ Apple Silicon**. It
replaces the Rust host and credential proxy with Swift and uses a purpose-built
runtime on Apple Containerization. Focusing on one host platform and removing
the former Rust networking and TLS dependency tree reduces what needs
maintenance and security review. The aim is a smaller attack surface; Swift
alone does not guarantee fewer vulnerabilities or complete isolation.

Agents get full tool access inside the VM: Docker, git, compilers and package
managers. The VM is the isolation boundary. A host credential proxy can keep
provider API keys out of the guest.

## Setup

Install the latest release. The installer verifies the release's signed
`SHA256SUMS` and, when `gh` is installed, its build attestation:

```shell
curl -fsSL https://raw.githubusercontent.com/chr33s/iso/main/install.sh | bash
```

It installs all five executables into one directory on `PATH`: `iso`,
`iso-proxy`, `iso-egress`, `iso-sandbox` and `iso-macos-helper`, with the Linux
`desktop` images' guest files `iso-cu-mcp` and `vmlinux-desktop`. To build from
source instead, with Xcode 27:

```shell
git clone https://github.com/chr33s/iso.git
cd iso
python3 scripts/build-release.py --release
```

and install the same five executables from the archive in
`.build/release-archive/` into one directory on `PATH`. See
[prerequisites](/docs/getting-started#prerequisites),
[build instructions](/docs/installation#build-from-source) and
[Apple backend setup](/docs/backends#macos--apple-sandbox).

Create the configuration and build the VM template:

```shell
iso setup
```

Configuration lives in `~/.iso/config.jsonc`; state lives under `~/.iso`.
Use `iso setup --config-only` to write just the commented configuration template.
[`iso update`](/docs/commands/maintenance#update) installs newer releases.

## Usage

Start a VM for your project, then launch an agent:

```shell
cd ~/code/my-project
iso up
iso claude
# or
iso codex
```

Open the project's VM in an editor (creating or starting it first, like
`iso up`). The editor runs as a new, sandboxed instance that cannot reach your
files, keychain or clipboard; see [editor integration](/docs/editor):

```shell
iso code .
iso zed .
```

### macOS guests

Build a macOS image from an Apple restore image you supply, then start an instance
with at least the restore image’s required CPU and memory (typically 4 vCPUs
and 8192 MiB); see [macOS guests](/docs/images-and-profiles#macos-guests):

```shell
iso setup --guest macos --ipsw ~/Downloads/UniversalMac_27.0.1_Restore.ipsw --image mac
iso up . --image mac --vcpus 4 --mem 8192
```

To let an agent in a macOS guest see and drive its own display, set
`"computer_use": {"guest_access": true}` before creating the instance. The
agent gets an `iso-cu` MCP server; the host injects its input through the VM's
virtual keyboard and pointer and can take the display back at any time. See
[`computer_use`](/docs/configuration/agents#computer_use). Linux images built with the
`desktop` profile get the same display, input and `iso-cu` server; see
[Linux desktop images](/docs/images-and-profiles#linux-desktop-images).

### Remote Macs

Enroll another trusted Apple Silicon Mac over SSH and run a project's VM there.
`--agent-path` is where `iso` is installed on that Mac (`~/.local/bin/iso` with
the installer); see [`iso host`](/docs/commands/hosts#host):

```shell
iso host add build-mac --ssh build-mac --agent-path /Users/me/.local/bin/iso
iso host up build-mac .
```

## Security controls

Default VMs are hardened. Without a preset, iso applies `provider-only`: a
NIC-less brokered VM with no general egress, the
[credential proxy](/docs/credential-proxy) required, and staged file returns.
Each relaxation is explicit, and `iso policy effective` lists them.

- [Security presets](/docs/configuration/security#security-presets): `networked`
  (needs `"network": {"transport": "vmnet"}`) restores open egress and direct
  pulls; `offline` suits local models or pre-provisioned images.
- [Credential handling](/docs/configuration/security#proxymode): the default
  `proxy.mode: "required"` withholds all provider credential variables from the
  guest.
- [Network limits](/docs/configuration/security#network): a brokered VM has no network
  device; `"egress": "filtered"` allows only listed hosts. **On a vmnet VM,
  guests can still reach services on the Mac.**
- [Secret storage](/docs/commands/security#secrets): `iso secrets` encrypts local secrets
  with a passphrase and this Mac's Secure Enclave key, with no recovery path.
- [File review](/docs/workspaces#review-and-apply): `iso diff` or `iso pull --review`
  stages guest files for inspection before you apply or discard them.
- [Session limits](/docs/configuration/security#limits):
  `"limits": {"session_ttl": "8h"}` stops each boot at a host-clock deadline.
- [Authorization policy](/docs/policy): an optional default-deny `policy`
  permits provider credential use, proxied requests and `iso pull --apply`, with
  request rate limits and a single-use approval of the reviewed stage.
  `iso policy show` reports the active snapshot. `iso policy effective` lists
  saved grants, which `security.revoked_grant_ids` revokes.
- [Audit records](/docs/audit): `iso audit` reports boundary events and a
  per-run history (also as a JSONL stream), as metadata only, never values.
- [Confined companions](/docs/credential-proxy#what-it-does-and-does-not-guarantee):
  `iso-proxy` and `iso-egress` run under a Seatbelt profile that denies home
  directories, iso state and every loopback service, and release builds start
  them only with iso's own Developer ID signature.

Read the [trust model](/docs/trust-model) for the boundaries and their limits.

## Documentation

- [Getting started](/docs/getting-started), [commands](/docs/commands) and
  [configuration](/docs/configuration)
- [Machine interface](/docs/machine-interface) for editors, CI and other
  integrations
- [iso-ci](/docs/ci), the separately installed GitHub Actions companion,
  which can also gate commits or pushes on your project's workflow from its
  [Git hooks](/docs/ci#running-a-projects-ci-from-its-git-hooks)
- [Full documentation index](/docs/contributing/map)
- [Architecture](/docs/contributing/architecture) and [release validation](/docs/contributing/release-validation)
- [Contributing](/docs/contributing) and [security policy](https://github.com/chr33s/iso/blob/main/SECURITY.md)
- Attribution: [NOTICE](https://github.com/chr33s/iso/blob/main/NOTICE), [provenance](https://github.com/chr33s/iso/blob/main/PROVENANCE.md) and
  [third-party licenses](https://github.com/chr33s/iso/blob/main/THIRD_PARTY_LICENSES.md)
