{"slug": "is-fork-missing-operation-in-sandboxes", "title": "Is 'fork' missing operation in sandboxes?", "summary": "Avrea launched Avrea Sandboxes, full virtual machines on Apple M5 Max (Linux arm64) and AMD Zen 5 EPYC (Linux amd64 and Windows) hardware that developers and autonomous agents can create, use, fork and discard, with Git mirrors, package caches, HTTPS endpoints and per-second billing. Avrea says it does not oversubscribe CPUs and cites RunsOn's independent ARM runner benchmarks, where Avrea's M5 Max machines finished first at 2, 4 and 8 vCPUs, plus a 4-vCPU combined build benchmark completed in 6m58s versus 18m18s on GitHub-hosted runners. Avrea argues the forkable VM is the right abstraction for agents that need a real computer for five minutes, several hours or days without unrestricted access to a laptop or production infrastructure.", "body_md": "[All posts](https://avrea.com/blog)\n\n# Avrea Sandboxes: computers should be forkable\n\nAvrea Sandboxes are full VMs on M5 Max and Zen 5 hardware, with Git mirrors, package caches, HTTPS endpoints and per-second billing. And you can fork them.\n\nReal cloud computers for humans and agents.\n\nCreating a virtual machine is easy but getting it to do useful work is often the hard part.\n\nYou 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.\n\nDevelopers have already been dealing with this for years, autonomous agents just make the problem more glaring.\n\nAn 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.\n\nWe 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.**\n\nThat’s the idea behind [Avrea Sandboxes](https://docs.avrea.com/sandboxes/).\n\n## A sandbox should be a real computer\n\nA 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.\n\nOne 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.\n\nAvrea Sandboxes are full virtual machines, with hardware virtualization providing the isolation boundary.\n\nWe’ve made a few deliberate choices about the underlying infrastructure.\n\nFirst, **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.\n\nThis isn’t a new idea. [AWS Nitro](https://aws.amazon.com/ec2/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.\n\nSecond, 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.\n\nThese are the same hardware platforms we’ve been optimizing for our CI infrastructure.\n\nThe performance is measurable. In [RunsOn’s independent ARM runner benchmarks](https://avrea.com/blog/fastest-arm-github-actions-runners), 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](https://avrea.com/blog/fastest-github-actions-runners), completing the tested workloads in 6m58s compared with 18m18s on GitHub-hosted runners.\n\nDifferent workloads will see different results, but the underlying point is that we’re not building sandboxes on a separate, lower-performance compute tier.\n\nWe’re taking the infrastructure we’ve already optimized for running demanding CI workloads and making it available as general-purpose computers.\n\n## Fast to boot is not the same as fast to work\n\nThere’s a tendency to measure how quickly a VM can start. That’s useful, but it’s only part of the story.\n\nImagine 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.\n\nFor 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.\n\nWe’ve already spent a lot of effort solving this problem for CI, and **Avrea Sandboxes benefit from the same acceleration infrastructure**.\n\nFor Git, we maintain [datacenter-local mirrors](https://docs.avrea.com/cache/git-checkout/) 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.\n\nFor dependencies, we provide [colocated package caches](https://docs.avrea.com/cache/packages/overview/) for npm, pnpm, pip, Cargo, Go, Maven, Gradle, and many other ecosystems. Repeated downloads can be served locally rather than fetched from upstream registries.\n\nAnd for build outputs, repository-connected sandboxes can inherit the same configured caches used by CI workloads.\n\nWe’ve written about these mechanisms in more detail in [our guide to GitHub Actions caching](https://avrea.com/blog/github-actions-cache).\n\nThe impact can be substantial. In our [Next.js benchmark](https://avrea.com/blog/nextjs-turborepo-ci-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.\n\nThese figures compare specific CI build configurations and cache states; individual workload results vary. The same acceleration mechanisms are available to sandbox workloads.\n\n**Fast infrastructure isn’t just about fast CPUs. It’s about eliminating unnecessary work.**\n\nWe care about time to useful work, not just time to boot.\n\n## Computers should be forkable\n\nWe 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.\n\nWhy shouldn’t we be able to do something similar with an entire computer?\n\nSuppose 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.\n\nNormally, you’d either modify the environment in place or recreate it somewhere else. Neither is particularly appealing.\n\nWith Avrea Sandboxes, you can [pause and fork an eligible VM](https://docs.avrea.com/sandboxes/#fork-a-sandbox), creating an independent copy of its disk and machine configuration.\n\nYou 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.\n\n**Forking is to computers what branching is to source code.**\n\nThere are differences, of course. A VM contains more than source files. It can contain credentials, installed software, configuration, and other sensitive state. Forking copies disk contents, not external side effects or running process memory. You still need to manage credentials and access appropriately.\n\nCurrently, forking requires a supported paused sandbox; Linux amd64 is the platform with pause/resume support. Avrea’s dedicated ephemeral agent-sandbox service has a different lifecycle and doesn’t currently support forking.\n\nBut the broader idea is interesting: a computer no longer has to be a unique environment that you carefully maintain or rebuild from scratch. It can be something you copy as part of normal work.\n\n## Computers don’t need to run forever\n\nThe traditional cloud VM model is oriented around servers. You provision a machine, configure it, and keep it running until you no longer need it.\n\nBut a development environment isn’t necessarily a server. You might need a computer for ten minutes to compile something, an hour to investigate a bug, or an afternoon to try a new framework.\n\nAvrea Sandboxes are **billed by the second**, so you don’t need to commit to a long-running machine just to perform a short task. Networking is included in the price, without separate bandwidth metering.\n\nAnd for supported Linux amd64 sandboxes, you can [pause and resume](https://docs.avrea.com/sandboxes/#preserve-work-and-manage-lifecycle) the environment instead of starting from scratch. A normal pause preserves the disk; an optional memory-preserving pause can also retain running process state.\n\nSandboxes have configurable time limits and retention rules, so they aren’t intended to become permanent, forgotten servers.\n\nCreate a computer when you need it. Fork it when you want to experiment. Pause it when you want to come back. Delete it when you’re done.\n\n## Real networking, without the infrastructure work\n\nA computer is much more useful when it can participate in the network normally.\n\nYou might want to run a development server, expose a webhook endpoint, test an API, or share a preview with someone. These are common requirements for developers, but they’re equally relevant to agents that need to interact with external services or host temporary applications.\n\nAvrea Sandboxes support [public HTTPS endpoints](https://docs.avrea.com/sandbox-https/) for services running inside the VM.\n\nYou can publish a port and receive an HTTPS URL with Avrea-managed TLS termination. The implementation supports HTTP/2, WebSockets, and streaming responses, with normal service limits.\n\nNo separate reverse proxy or certificate management is required. Published URLs are publicly reachable, so applications containing sensitive data should still implement authentication.\n\nThe goal isn’t to replace every networking primitive with a proprietary abstraction. It’s to make ordinary networking convenient enough that you don’t have to think about infrastructure for a temporary development environment.\n\n## A computer in a few commands\n\nHere’s what a typical workflow looks like with the [Avrea CLI](https://docs.avrea.com/sandboxes/).\n\n```\navr vm create \\\n  --name dev \\\n  --os linux \\\n  --size 2-vcpu \\\n  --ssh-key @~/.ssh/id_ed25519.pub \\\n  --repo owner/repository \\\n  --ref main \\\n  --wait\n```\n\nConnect to it:\n\n```\navr vm ssh dev\n```\n\nOr run a command directly:\n\n```\navr vm ssh dev -- npm test\n```\n\nYou can also publish an application port during creation using `--https-port 3000`, making a development server accessible over HTTPS.\n\nOn a supported Linux amd64 sandbox, you can preserve the environment and fork it:\n\n```\navr vm pause dev --wait\navr vm fork dev --name experiment --wait\navr vm resume dev --wait\n```\n\nThe commands are intentionally ordinary. Behind them is a complete virtual machine, predictable compute capacity, accelerated repository access, nearby caches, and a managed lifecycle.\n\nThe interesting part isn’t any individual command. It’s that you can create and manipulate whole computers without having to assemble an infrastructure stack around them.\n\n## The same computer, different operators\n\nAI agents are an obvious use case for this kind of infrastructure.\n\nAn agent that can write code but has nowhere to execute it isn’t particularly useful. And giving autonomous software unrestricted access to a user’s machine is rarely a good default.\n\nA separate VM gives the agent its own filesystem, processes, tools, and operating system, with a clear isolation boundary.\n\nBut we don’t think the underlying infrastructure should be designed exclusively for agents.\n\nA developer debugging a failing test and an agent attempting to fix it need essentially the same computing resources. The developer might interact through SSH, a terminal, or a remote desktop. The agent might interact through an API or command execution interface.\n\nThe computer itself doesn’t need to care who’s operating it.\n\nWe’ve also introduced [dedicated agent sandboxes](https://docs.avrea.com/sandboxes/#agent-sandboxes) for coding-agent sessions. These are intentionally ephemeral and have different lifecycle rules from user-created sandboxes, but they build on the same general idea: give autonomous software an isolated place to work.\n\nNeed a clean environment to reproduce a bug? Create one. Want to test a risky dependency upgrade? Fork one. Need an agent to investigate something without touching your local machine? Give it a separate environment. Finished with the task? Delete it.\n\n## A better abstraction for temporary computing\n\nCloud infrastructure has made compute programmable, but it hasn’t always made computers convenient.\n\nMaking that practical requires more than fast VM startup. It requires predictable hardware, efficient repository access, colocated caches, ordinary networking, and lifecycle operations that make environments easy to preserve or copy.\n\nWe’ve already built much of that infrastructure for the fastest CI service. Avrea Sandboxes just make it available for more general use.\n\nFor developers, they’re powerful temporary workspaces. For agents, they’re isolated execution environments. For both, they’re simply computers that can be created when needed and discarded when they’re no longer useful.\n\n**Computers should be easy to create. They should be ready for work. And they should be forkable.**", "url": "https://wpnews.pro/news/is-fork-missing-operation-in-sandboxes", "canonical_source": "https://avrea.com/blog/avrea-sandboxes-computers-should-be-forkable", "published_at": "2026-11-19 13:28:43+00:00", "updated_at": "2026-11-19 13:46:08.787229+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "developer-tools"], "entities": ["Avrea", "Avrea Sandboxes", "Apple M5 Max", "AMD Zen 5 EPYC", "RunsOn", "GitHub"], "also_reported_by": [], "takeaway": "Avrea Sandboxes offers forkable full VMs on M5 Max and Zen 5 EPYC hardware with no CPU oversubscription, per-second billing and Git mirrors, so agents can snapshot a prepared environment instead of repeating setup.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/is-fork-missing-operation-in-sandboxes", "markdown": "https://wpnews.pro/news/is-fork-missing-operation-in-sandboxes.md", "text": "https://wpnews.pro/news/is-fork-missing-operation-in-sandboxes.txt", "jsonld": "https://wpnews.pro/news/is-fork-missing-operation-in-sandboxes.jsonld"}}