Skip to content
These docs are for the next devvm, which isn’t released yet. The docs for the current release are at devvm.dev.
Compared to other tools

Compared to other tools

devvm gives each project folder a VM of its own on your machine, with the project’s toolchains shared read-only between VMs, a proxy on this machine that confines the VM’s network, and your secrets kept outside the VM. Other tools sandbox coding agents in other ways: in a microVM, in an OS sandbox around the agent’s process, or on a vendor’s servers. This page sets devvm beside the ones you’re most likely to weigh it against.

Note

Last checked on 2026-11-08, against each tool’s own docs, which the sources list. These tools change every week, so check a tool’s own docs before you rely on a row here, and open an issue when a row is out of date.

Boundary and where it runs

BoundaryRuns onProject filesOpen sourceAccount and cost
devvma full VM with its own kernel, on LimamacOS 13 or newer and Linux, on arm64 or x86_64mounted read-write at the same path, or with --clone, the VM’s own clone of the repo as git status shows it hereyes, MITno account, free
Docker Sandboxesa microVM with its own kernel and Docker EnginemacOS 14 or newer on Apple silicon, Windows 11, Ubuntu 24.04 or newer, and Docker’s cloudmounted read-write, a private clone, or nonenoa Docker sign-in; free locally, cloud paid by use
NVIDIA OpenShellcontainers on Kubernetes, Podman or Docker with Landlock and seccomp, or a microVM you chooseLinux, macOS on Apple silicon through Docker Desktop, and Windows through WSL2 as an experimentcopied in and outyes, Apache-2.0no account, free
microsandboxa microVM with its own kernel, running as root insidemacOS on Apple silicon, Linux and Windowsmounted read-write by defaultyes, Apache-2.0no account, free locally
smolvma microVM with its own kernelmacOS on Apple silicon, Linux and Windows, and its own cloudmountedyes, Apache-2.0no account locally; cloud plans from $0 a month plus use
Claude Code’s sandboxan OS sandbox around Claude Code’s shell commands, not its file tools, hooks or MCP serversmacOS, Linux and WSL2the folder itselfthe sandbox yes, Apache-2.0; Claude Code noan Anthropic account
Codex CLIan OS sandbox around Codex’s commandsmacOS, Linux, WSL2 and Windowsthe folder itself, writable in workspace-write modeyes, Apache-2.0a ChatGPT account or an API key
nonoan OS sandbox, no VMmacOS, Linux and WSL2the folder itselfyes, Apache-2.0no account, free
GitHub Codespacesa VM for each codespace, on GitHub’s serversthe browser or your editorthe repo cloned into the codespacenoa GitHub account; a monthly quota free, then paid by use

Network and credentials

Network by defaultRules byAPI keysAgent loginsAgents
devvmthe allowlist tier: devvm’s built-in hosts, your secrets’ hosts and yours, enforced outside the VM, or the internet tier while the VM learns the hosts it needshost and port, and HTTP method and pathplaceholders in the VM, real values added by the proxy on this machine, for agents’ providers and for any API key you save as your own secretmade through the proxy or imported, kept on this machine and refreshed there for Claude Code, Codex and opencode, with placeholders in the VMClaude Code, Codex, opencode, pi and Cursor’s CLI
Docker Sandboxesa preset you choose at first run: open, balanced or locked downhost and port, and HTTP method, path and queryplaceholders in the VM, real values added by a proxy on the hostkept on the host for Claude Code, Codex, Cursor and Droid, with placeholders in the VM; you log in to Claude Code inside the sandbox, and one login serves every sandboxClaude Code, Codex, Copilot, Cursor, Devin, Docker Agent, Droid, Gemini, Kiro and OpenCode
NVIDIA OpenShelldeny for hosts no rule names; method and path rules only log by defaulthost, port and the calling program, and method and path if you turn them onplaceholders from providersnot documented; providers take API keys from your environmentClaude Code, OpenCode, Codex and GitHub Copilot CLI, in your own image
microsandboxpublic internet open, private addresses refuseddomain, address and portplaceholders, over TLS that the host interceptsits Claude Code guide logs in inside the VMany, with a guide for Claude Code
smolvmoffhost and address rangeplaceholders in headers, and in form bodies if you turn it onnot documentedany
Claude Code’s sandboxan allowlist that starts emptydomainmasked, if you turn it onruns on your machineClaude Code
Codex CLIoff in workspace-write modedomain, with its optional proxynot documentedruns on your machineCodex
nonoopendomain and path, and method and path for a credential’s serviceplaceholders for each service you nameruns on your machineClaude Code, Codex, Copilot, OpenCode and others
GitHub Codespacesopennoneenvironment variables in the codespacein the codespaceany

How devvm differs

Beyond the tables, these are the differences you’re most likely to weigh:

  • Shared toolchains. Of the tools on this page, only devvm shares toolchains read-only between VMs, so a second project that needs node uses the same copy as the first, and nothing in a VM can change it. devvm detects the toolchains from the project’s files and reads a project’s devcontainer.json.
  • .git protection. devvm locks the hooks and config of a folder’s .git against the VM, and those of each repo nested up to four folders below it, so the VM can’t add a hook that runs on this machine, which Docker Sandboxes’ docs say its direct mode doesn’t prevent. On Linux the locks need no root, and where the kernel doesn’t allow them, such as on Ubuntu 23.10 and newer, devvm watches .git instead and names what changed (.git protection).
  • A clone of your repo as it is. With --clone, the VM works on a clone of its own instead of your folder, and the clone gets your local branches, tags, uncommitted changes, stash, the repo’s settings and hooks, its submodules and its Git LFS files. devvm clone fetch brings the VM’s work back as branches, and devvm rm checks for work you haven’t fetched before it deletes the VM (working on a clone).
  • Confinement from outside the VM. devvm enforces the network policy from outside the VM, so it holds even against root in the VM. Transparent mode also sends tools that ignore the proxy settings, such as static Go binaries and containers, to the VM’s proxy, on every tier but open.
  • Learning a VM’s hosts. A VM can learn the hosts it needs on the internet tier, and devvm network lock then keeps the ones you choose, much as OpenShell shows you the hosts it blocked so that you can approve them.
  • Your own secrets. Any API key that a tool sends in a header can be a secret of your own, so the VM gets a placeholder, and its proxy puts the real value only into requests to the hosts, methods and paths you give it (your own secrets).
  • Agents’ logins on this machine. devvm keeps each agent’s login on this machine, so a confined VM never holds it, and Docker Sandboxes does the same for Claude Code, Codex, Cursor and Droid. In both, one login for each agent serves every VM. On devvm’s open tier, a program in the VM can go around the proxy and keep a login that it makes there.
  • Images from the clipboard. devvm paste sends an image, a PDF or a file you copied on this machine into the VM, and puts its path in the VM on your clipboard for the agent’s prompt. It never reads text from the clipboard (pasting images).

What devvm doesn’t do

  • devvm runs on macOS and Linux, on Lima, and Windows support is coming soon. Docker Sandboxes, microsandbox, smolvm and Codex CLI run on macOS, Linux and Windows.
  • Its rules apply to the whole VM, while OpenShell’s rules can also name the program that may reach each host.
  • It has no snapshots of a VM, which smolvm’s checkpoints and Docker Sandboxes’ templates give.
  • It has no SDK or API for driving VMs from a program, though most commands have --json output.
  • It checks at most once a day whether a newer release is out, which release-check = false turns off, and it sends nothing else.

Known limits and Attack vectors list the rest.

Other tools

  • Clawk is closer to devvm in shape, with a VM for each folder on your machine. It denies outbound traffic by default, but it forwards your SSH agent, and its tip for Claude Code signs every sandbox in with your Claude Code token.
  • agent-vm also gives each folder a VM on your machine, and it runs Lima as devvm does. It makes every .git read-only for the VM from your machine and asks you before the VM writes files such as .envrc and .vscode/tasks.json, but the VM reaches the whole internet unless you add domain rules.
  • Lima’s own recipe for coding agents mounts only the project folder, or syncs it and asks before the VM’s changes reach your machine, and it leaves the network and API keys to you.
  • Dev Containers run in a container, which shares this machine’s kernel or Docker’s VM, and set no network policy. Claude Code’s reference container adds a firewall allowlist, and its docs warn that it doesn’t stop a malicious project from sending out what’s in the container, Claude Code’s login included.
  • Hosted sandboxes, such as E2B, Vercel Sandbox, Fly.io Sprites and exe.dev, run on the vendor’s servers, so your code and keys go there, and each needs an account.

Sources

Each tool’s own pages, as of 2026-11-08:

Last updated on