Is 'fork' missing operation in sandboxes?
Avrea introduces cloud sandboxes built on high-performance hardware that support pausing and forking virtual machine disks like source control branches.
summary is enough Skim this vendor post to understand their approach to agentic sandboxes and VM forking, though deep technical details are sparse.
summary
Avrea has launched cloud-based virtual machine sandboxes running on Apple M5 Max and AMD Zen 5 hardware, tailored for both human developers and AI agents. The service aims to solve the slow setup time of fresh environments by preloading git repositories, maintaining local package caches, and offering per-second billing. Crucially, the platform introduces a fork operation that allows users to pause a configured VM and branch its disk state for parallel experimentation. Commenters debate the technical hurdles of disk versus live memory forking, such as handling TCP sockets and cryptographic nonces.
key points
- Avrea Sandboxes use hardware virtualization on Apple M5 Max and AMD Zen 5 EPYC processors without CPU oversubscription.
- To minimize setup overhead, the infrastructure provides datacenter-local git mirrors and colocated package caches for ecosystems like npm, pip, and Cargo.
- The platform's forking feature lets users pause a VM and copy its disk configuration to run parallel experiments without rebuilding environments.
who should read it
Infrastructure engineers and developers building tools or workflows for autonomous AI coding agents.
discussion mixed
consensus
Commenters find the concept of forking development environments interesting for AI agents, but note that current implementations typically copy only the filesystem rather than live process memory and network state.
pushback
Some express skepticism toward marketing language describing complex infrastructure features as simple, while others question using proprietary closed-source SaaS sandboxes.
Nice writeup. The step after forking paused sandboxes would be to fork live running sandboxes with the RAM, device state and disk all being forked. Get the same execution point with all processes still running rather than having to resume. You then also have to take care of kernel RNG state, boot ID, clocks, cached session keys etc. before the forked version starts meaningful work.
Disclosure: I am working an open-source KVM-based VMM for agent sandboxes, https://github.com/instavm/tarit
Explains the technical distinction between disk-only forking and full live-state forking, noting the heavy state hurdles involved.
Generated by an LLM from the article and thread. Check the sources before relying on it.