GitHub radar
Run your AI coding agent in its own VM — keep your computer safe
devvm spins up a separate virtual machine (VM) for every one of your projects and fills it with that project's tools — your AI coding agent (like Claude Code) just has to start working.
It's a program that launches an isolated copy of your computer for one project and sets it up with that project's own tools.
When it helps
Use it when you want an AI agent to freely change your project's code without touching the rest of your machine or your passwords; skip it on Intel Mac or Windows — not supported yet.
Pros
- Tokens and passwords stay on your machine — the agent never gets them
- No GPU needed, installs with one Homebrew command
- Repeat projects start almost instantly, sharing one base image
- One VM runs several agents at once: Claude Code, Codex, opencode, pi
Cons
- Only works on Apple-silicon Mac or Linux — Intel Mac untested
- Needs an extra virtualization layer — one more setup step for beginners
How to set it up — step by step
- 1Open a terminal on an Apple-silicon Mac (M1 or newer) or Linux.
- 2Install devvm with `brew trust --formula devvmhq/tap/devvm && brew install devvmhq/tap/devvm` on Mac, or the install script on Linux.
- 3Go to your project's folder and run `devvm`, then confirm to build the virtual machine.
- 4Send the agent the text from the block below.
- 5Check in the terminal that `claude` (via `devvm agent login claude`) starts the agent inside the VM, not on your machine.
- 6If the agent needs network access or your tokens, approve that yourself.
Text for your agent
Copy this and send it to your agent — Claude Code, Codex, any of them:
Install devvm from https://github.com/devvmhq/devvm, run it inside one of my project folders, start Claude Code there with devvm agent login claude, and show me that the agent is running in its own VM, not on my machine — ask me if you need to allow network access or hand over tokens.
A regular Mac on Apple silicon (M1 or later) or Linux — no graphics card needed, installs in one command via Homebrew. The author hasn't tested it on Intel Macs yet.
Open on GitHub▌ More finds