Pangram verdict · v3.3
We believe this text is mainly AI, with some human-written content.
AI likelihood · overall
AIArticle text · 972 words · 9 segments analyzed
Real cloud computers for humans and agents.Creating a virtual machine is easy but getting it to do useful work is often the hard part. You need to clone a git repository, install dependencies, configure your environment, and get everything needed running. If you want to experiment with a different approach, you might need to repeat much of that setup. And when you’re finished, you either keep paying for the machine or throw away the environment you’ve just prepared. Developers have already been dealing with this for years, autonomous agents just make the problem more glaring. An agent might need a computer for five minutes to run tests, several hours to work on a codebase, or days to complete a larger task. It needs a filesystem, processes, networking, and the freedom to install and run software. It also needs somewhere to do all of this without unrestricted access to your laptop or production infrastructure. We think the right abstraction is surprisingly simple: a real computer that you can create, use, fork, and discard as easily as any other cloud resource. That’s the idea behind Avrea Sandboxes. A sandbox should be a real computer A lot of sandbox infrastructure is designed around executing a command or running a short-lived task. That’s useful, but sometimes you need more than an execution API, you’d actually want an entire machine. One where you can install arbitrary software, run development servers, maintain files across sessions, and use a normal operating system. One that works equally well when controlled by a human over RDP or SSH or by an autonomous agent. Avrea Sandboxes are full virtual machines, with hardware virtualization providing the isolation boundary. We’ve made a few deliberate choices about the underlying infrastructure. First, we don’t oversubscribe CPUs. If you provision a machine with a certain number of vCPUs, you shouldn’t have to wonder how many other workloads are competing for the same physical resources. Predictable performance matters, especially for compilation, testing, and workloads that run without human supervision. This isn’t a new idea. AWS Nitro is a good example of an architecture built around hardware-assisted virtualization and strong isolation. We think those properties should be the baseline for a cloud computer, not something users have to think about.
Second, we use the highest-performance hardware available: Apple M5 Max for Linux arm64, and highest base clock AMD Zen 5 EPYCs for Linux amd64 and Windows.
These are the same hardware platforms we’ve been optimizing for our CI infrastructure.
The performance is measurable. In RunsOn’s independent ARM runner benchmarks, Avrea’s M5 Max machines finished first among the tested configurations at 2, 4, and 8 vCPUs. On x86, Avrea also led the 4-vCPU combined build benchmark, completing the tested workloads in 6m58s compared with 18m18s on GitHub-hosted runners. Different workloads will see different results, but the underlying point is that we’re not building sandboxes on a separate, lower-performance compute tier. We’re taking the infrastructure we’ve already optimized for running demanding CI workloads and making it available as general-purpose computers. Fast to boot is not the same as fast to work There’s a tendency to measure how quickly a VM can start. That’s useful, but it’s only part of the story. Imagine creating a fresh machine to work on a repository. The VM might boot quickly, but then you need to fetch Git objects, download dependencies, install tools, and build the project. For a short-lived environment, those steps can take longer than the actual task. This is particularly relevant for agents. If an agent creates a new environment for every task, or several environments to explore different approaches, repeatedly downloading the same dependencies becomes a substantial waste of time. We’ve already spent a lot of effort solving this problem for CI, and Avrea Sandboxes benefit from the same acceleration infrastructure. For Git, we maintain datacenter-local mirrors to reduce the cost of fetching repositories. Sandboxes can initialize a repository during creation, so the code is already there when you connect, provided the preload succeeds. For dependencies, we provide colocated package caches for npm, pnpm, pip, Cargo, Go, Maven, Gradle, and many other ecosystems. Repeated downloads can be served locally rather than fetched from upstream registries. And for build outputs, repository-connected sandboxes can inherit the same configured caches used by CI workloads. We’ve written about these mechanisms in more detail in our guide to GitHub Actions caching. The impact can be substantial. In our Next.js benchmark, faster hardware reduced a cold build from 3m23s to 1m23s. With a warm Turborepo cache, the measured build step took just 1.4 seconds. These figures compare specific CI build configurations and cache states; individual workload results vary. The same acceleration mechanisms are available to sandbox workloads. Fast infrastructure isn’t just about fast CPUs. It’s about eliminating unnecessary work. We care about time to useful work, not just time to boot.
Computers should be forkable We branch source code all the time.
We create a new branch to experiment, try an alternative implementation, or preserve something before making a risky change. Why shouldn’t we be able to do something similar with an entire computer? Suppose you’ve spent half an hour reproducing a difficult bug. You’ve installed the right dependencies, configured the environment, and finally reached the failing state. Now you want to try two different fixes. Normally, you’d either modify the environment in place or recreate it somewhere else.
Neither is particularly appealing.
With Avrea Sandboxes, you can pause and fork an eligible VM, creating an independent copy of its disk and machine configuration. You can then experiment with the copy while leaving the original untouched. The same approach works for automated workflows. Prepare an environment once, then fork it for separate experiments or parallel tasks. A human can inspect one copy while an agent works on another.
Forking is to computers what branching is to source code.