Airlock

Run Claude Code or Codex sandboxed in a VM on your Mac

Working when we checked on .

Visit Airlock

What is Airlock?

Airlock runs Claude Code or Codex inside a virtual machine on a Mac, working on a copy of the user's project so changes can be reviewed before being applied. It is aimed at developers who use coding agents and want to contain the risks of approval fatigue and unintended commands. The tool shows a per-file diff of the agent's changes, records a timeline of every process the agent ran (not just typed commands), and flags build scripts, git hooks, and CI config. It also provides macOS virtual machines for Xcode projects and supports locking sessions to a chosen list of hosts.

Airlock pricing

Pricing model: Freemium

Free (open download or Homebrew; requires your own Claude subscription or ChatGPT account)

Airlock pros

  • Runs Claude Code or Codex in a virtual machine on a copy of the project, keeping the real folder untouched
  • Per-file diff review lets users pick which changes to apply and undo them later
  • Watches from inside the VM's OS so it sees every process, including scripts calling curl, not just typed commands
  • Flags build scripts, git hooks, CI config and agent settings because they run on the Mac later
  • Xcode projects borrow the existing Xcode install, avoiding a second copy to download and update
  • Installable via the Mac App Store, direct download, or Homebrew

Airlock cons

  • Requires a Mac with Apple silicon running macOS 26 or later
  • Requires a Claude subscription or ChatGPT account to use the underlying agents
  • Sessions can reach public hosts unless manually locked down, so project contents could be sent somewhere
  • Apple limits macOS virtual machines to two at a time

Frequently asked questions about Airlock

What does Airlock do?

Airlock runs Claude Code or Codex in a virtual machine on a Mac. It works on a copy of the project, and the user chooses which of the agent's changes to keep.

Who is Airlock for?

It is for developers on Macs with Apple silicon who use coding agents like Claude Code or Codex and want to contain the risks of agents running arbitrary commands on their machine.

How does Airlock protect my real project files?

The agent only ever works on a copy of the project. The real folder is never shared with it, and nothing reaches the project until the user approves specific file changes from a diff.

Can I undo changes the agent made?

Yes. After the agent finishes, changed files appear as a diff; the user ticks the ones to apply and can change their mind later and undo them.

How does Airlock show what the agent actually ran?

It watches from inside the virtual machine's operating system, so it sees every process, not just typed commands. Files touched and servers contacted appear in the same timeline as work happens.

Can I restrict which hosts the agent can contact?

Yes. Anything that isn't a code host, package registry or similar is flagged, and a session can be locked to a list of hosts the user chooses.

How does Airlock handle Xcode projects?

Xcode projects get a macOS virtual machine that borrows the existing Xcode installation, so there is no second copy to download or update. React Native apps with an Xcode project in their ios folder get one too.

What are the system requirements?

A Mac with Apple silicon running macOS 26 or later, plus Claude Code with a Claude subscription or Codex with a ChatGPT account. Apple allows two macOS virtual machines at a time.

How do I install Airlock?

It can be downloaded from the Mac App Store, as a direct Mac download, or installed with Homebrew using 'brew install --cask simonmaddox/tap/airlock'.

What does Airlock not protect against?

It contains the agent but doesn't make it trustworthy. Sessions can reach public hosts unless locked down, model requests still go to Anthropic or OpenAI, and applied code should still be reviewed like a colleague's.

Categories

Use cases

Alternatives to Airlock

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z