← Fri, Nov 6 digest

Devvm.dev: One VM for every project

read article ↗ hn thread ↗

devvm is an open-source CLI tool that automatically spins up isolated Lima-based virtual machines per project to safely run coding agents and toolchains.

summary is enough The tool concept is straightforward and well-covered by the summary, though the comment thread offers a fascinating look at dozens of competing custom sandbox implementations.

summary

Devvm is a new open-source CLI tool that provisions isolated, zero-configuration virtual machines per project using Lima to safely execute coding agents and toolchains. It automatically maps project requirements, handles port forwarding, and incorporates security features like network allowlists and git hook protection. The project aims to eliminate the setup friction of sandboxing while mitigating supply chain risks and rogue agent behaviors. However, it enters a crowded field of similar custom container and microvm sandbox experiments.

key points

  1. Spins up a project-specific VM via a single command using Lima under the hood on macOS and Linux.
  2. Integrates security controls such as network tier allowlists, port forwarding, and local .git repository protection.
  3. Designed specifically to safely run coding agents like Claude Code without exposing local secrets or the full home directory.

who should read it

Developers experimenting with AI coding agents who want lightweight environment isolation without complex configuration.

discussion positive

consensus

Participants widely agree that sandboxing AI coding agents and toolchains is a critical necessity, but many note they have already built custom internal solutions using Docker, Podman, libvirt, or microVMs.

pushback

Some users argue that full VMs are too resource-heavy or inflexible compared to Linux namespaces, bubblewrap, or lightweight containers, while others find the reliance on untrusted install scripts concerning.

best comment by photonios ↗

I keep seeing projects like this pop up and they never nail it.

I need isolation, but I also need to give my agents secure access to internal package registries, logs, internal infra, designs, emulators, browsers, docs etc. At a large company, work can span dozens of repositories. And on top of that, I need dozens of these.

I built this at work. Engineers use krunkit VMs with proper memory ballooning, GPU acceleration. Retina RDP, credential injecting proxy for etc.

This seems like a fun toy for single project development, but nothing close to what you need as an engineer in a corporate …

It highlights the real-world enterprise friction of these tools, noting they often fail to handle internal infra, registries, and multi-repo corporate workflows.

Generated by an LLM from the article and thread. Check the sources before relying on it.