Infrastructure · virtual machines for agents

A virtual machine manager for the Mac, built to give AI agents a safe machine of their own

Adjacent Spaces manages Linux, macOS and Windows virtual machines on Apple silicon. It combines Apple Virtualization and QEMU with snapshots, linked clones and a scriptable guest workflow. A 22 November verification exercised a fresh Windows 11 Arm64 install and its guest tools.

Platform
macOS on Apple silicon
Stack
Swift 6, Apple Virtualization, QEMU
Guests
Linux, macOS, Windows
Verified guest
Windows 11 Arm64
Adjacent Spaces running an Alpine Linux virtual machine, its boot log in the embedded display, with CPU and memory readings

See it running

Adjacent Spaces booting LinuxRecorded from the running appRecorded from the real app: an Alpine Linux virtual machine starting on Apple Virtualization, from Stopped to a running system with its network up.

The problem

AI agents that write and run code need somewhere safe to do it. Running their commands on your own computer puts your files, keys and network within reach of a mistake or a manipulated prompt.

Adjacent Spaces gives each job its own machine: a real Linux, macOS or Windows guest with its own disk, network and snapshots, controllable from a command line so software, including an agent harness, can create it, run commands in it and throw it away.

What it does

Architecture

App
SwiftUI appLibrary, display, serial console, USB, snapshots, settings
Command lineJSON commands for lifecycle, storage, guest tools and transfer
Engines
Apple VirtualizationNative Linux and macOS guests, VirtioFS shares, Rosetta
QEMUWindows with swtpm, cross-architecture Linux, qcow2 overlays
Control
Local control socketPer-user lifecycle control while the app is open
Guest agentOS details, addresses, guest file transfer and command execution
Windows helperSelected app windows, clipboard and window controls over a private guest channel
Storage
Machine bundlesDisks, firmware, snapshots, saved memory
Encrypted sparse bundlesAES-256, locked while not in use

Engineering decisions

By the numbers

3
guest families: Linux, macOS, Windows
2
engines: Apple Virtualization and QEMU
7
extra data disks per machine
TPM 2.0
checked on Windows 11 Arm64

Screens

The native settings view for a sample Windows Arm64 virtual machine. Network conditioning can set speed, delay and loss. Firmware settings expose virtual TPM 2.0 and the display adapter.
The native settings view for a sample Windows Arm64 virtual machine. Network conditioning can set speed, delay and loss. Firmware settings expose virtual TPM 2.0 and the display adapter.
A snapshot of a clean install, ready to restore or to start a linked clone from.
A snapshot of a clean install, ready to restore or to start a linked clone from.
Machine settings: installer media, extra disks, CPUs, memory, disk and network.
Machine settings: installer media, extra disks, CPUs, memory, disk and network.

Stack

  • Swift 6
  • SwiftUI
  • Apple Virtualization
  • QEMU
  • swtpm
  • VirtioFS

Built for your team

What I could build for you the same way

  • A disposable sandbox for your own AI agents, so their commands never touch your machines.
  • Repeatable build and test machines for a team, restored from a snapshot in seconds.
  • Migration of existing Parallels machines onto a tool you control.
  • Encrypted machines for work that handles sensitive data.

Have an AI project, contract or role in mind?

Tell me what you need built. I reply personally, usually within one working day, and the first call costs nothing.