OSMates
Windows, Linux, and macOS virtual machines on your Mac, for you and your AI agents.
Open source under the MIT License.
Version 0.2.0 is a beta. It needs macOS 26.4 or later on a Mac with Apple silicon.
Free for personal use. For work, get Pro early access.

ubuntu
windows

Every system installs unattended
Pick one, and setup runs by itself and signs you in.





Give an AI agent a machine to work in
Claude Code, Codex, and other MCP clients connect with one command.
osmates mcp install claude-codeYou choose what each agent can touch, and every session can be undone. Connect an agent
> Run go test ./... for fzf on ubuntu, macos and windows, as osmates, in a terminal on each machine's screen (it is in ~/src/fzf, C:\Users\osmates\src\fzf on windows). Only one machine may run at a time: shut each down before you start the next. On windows, after its tests, snapshot it as "before fzf", build fzf and open it in a PowerShell window on its screen.⏺ osmates - vm_start (MCP)(name: "ubuntu", wait_for: "agent", wait_seconds: 30) ⎿ {"name":"ubuntu","state":"running","guest":{"operatingSystem":"Ubuntu 26.04.1 LTS",…⏺ osmates - input_actions (MCP)(vm: "ubuntu", actions: [{"action":"key","text":"Escape"},{"action":"key","text":"ctrl+alt+t"},{"action":"wait","seconds":3}], screenshot_after: true) ⎿ Performed 3 action(s) on ubuntu. Verified: The screen changed: frame_id 117 to 127.⏺ osmates - type_text (MCP)(vm: "ubuntu", text: "cd ~/src/fzf && go test ./... 2>&1 | tee /tmp/fzf-test.log; echo \"EXIT=${PIPESTATUS[0]}\" | tee -a /tmp/fzf-test.log", submit: true) ⎿ {"method":"keys","verification":{"evidence":"The screen changed: frame_id 133 to 138.","status":"verified"}}⏺ Ubuntu: all tests pass. Shutting it down and moving to macOS.

Script machines from Terminal
Add --json when a script reads the output.
~ % osmates vm create dev ~ % osmates vm start dev ~ % osmates vm list 3F2A9C01-B2D4-4E1A-9C7B-5D1E8A6F0C42 running dev 32 GiB disk, 3.1 GiB on the Mac A71C5E3B-0D9F-4B28-8E64-2C9F1B7D4A10 stopped win 64 GiB disk, 21.7 GiB on the Mac ~ % osmates vm exec dev -- uname -m aarch64 ~ % osmates snapshot create dev --name "before upgrade" ~ % ssh dev
Test on several systems Pro
Run one script in a clone of each machine. Test matrix
Run CI jobs in clones Pro
Each GitHub or GitLab job gets a fresh clone. CI runners
Also in OSMates
Snapshots
Revert when a change goes wrong.
Clones
A copy takes almost no space.
Shared folders
Share a folder of your Mac.
USB devices
Attach drives and security keys.
ssh by name
ssh dev reaches the machine named dev.
Runs as you
No root, no kernel extension.
How it runs
OSMates runs each machine on one of two engines. The OSMates engine is written in Swift on Apple's Hypervisor framework, and it doesn't run or include QEMU.
The OSMates engine
Runs Windows, FreeBSD, and Linux desktops. Its devices include TPM 2.0, a camera, and a security key.
Apple Virtualization
Runs macOS and Linux servers. Linux there gets Rosetta for x86_64 programs.
A worker per machine
Each machine runs in a process of its own, so a crash stops only that machine.
Help build OSMates
The code is on GitHub under the MIT License. Bug reports, fixes, and guide edits are welcome.
Report a bug
Open an issue on GitHub and fill in its form.
Build from source
Clone the repository and run make check. You need macOS 27 and Xcode 27.1.
Fix the guide
Every page of the docs has Edit on GitHub.
Talk to us
Questions and feedback go to Discord.
Pro comes from a private package that only the official app carries. A build from source runs everything until 1.0, and runs as Free from 1.0.

Try the beta
Version 0.2.0 needs macOS 26.4 or later on a Mac with Apple silicon.
Personal use is free. Pricing