w3cjandClaude Opus 5.5 f4508dfb61 feat(proxy): the network policy proxy as devvm _proxy
The network policy proxy moves into the binary as internal/proxy
(standard library only), run by the hidden devvm _proxy with its own
flags. Main returns errors instead of exiting, writes only to the
streams devvm hands it (the event log and data on stdout, its log
lines on stderr), and returns when the VM's hostagent is gone. The
connect mode is gone: devvm _qemu connect does that. Logins copied
as they are are warned about through ui.

Its tests come along, with a short run, fuzz targets for policy rules,
request targets and ClientHellos, a testscript, and the network page
of the docs for the proxy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 10:12:26 -06:00
2026-10-24 09:50:15 -06:00
2026-10-24 09:50:15 -06:00
2026-10-24 09:50:15 -06:00
2026-10-24 08:41:54 -06:00
2026-10-24 08:41:54 -06:00
2026-10-24 01:10:51 -06:00

devvm

Create an isolated VM in any project folder with everything needed for you or an agent to start coding.

cd ~/some-project
devvm

devvm detects the project's toolchain, creates a VM from a cached image, mounts only the project folder, and opens a shell at the same path. Toolchains and coding agents are shared read-only between VMs, network access goes through an allowlist enforced on the host, and API keys stay on the host.

Quickstart

devvm runs on macOS and Linux, with Lima 2.0 or newer.

$ cd ~/some-project
$ devvm --no-network-policy base
==> building image base (e9f517dddef1)
    a few minutes, and Ubuntu's cloud image to download the first time
    (details: ~/.local/share/devvm/logs/runs/20261024-090616-83541.log)
==> image base ready
==> creating devvm-some-project-71a99b1076d92c from base
==> starting devvm-some-project-71a99b1076d92c

Then you're in a shell in the VM, in ~/some-project. The first VM builds the base image. Later VMs are copies of it and start in seconds. Network policy isn't there yet, so devvm creates a VM only with --no-network-policy, and that VM reaches anything your machine can.

Docs

w3cj.github.io/devvm, from docs/: commands, the security model. Building, testing and writing docs: Contributing.

License

MIT

S
Description
One VM for every project. An isolated sandbox with your project’s toolchain, ready for you or a coding agent to start coding
Readme MIT
25 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 95.3%
Shell 3.4%
JavaScript 1.3%