---
title: "VM Sandboxes: Full computers for agents"
description: "Modal has launched VM Sandboxes in general availability, providing agents with full Linux VMs accessible via a single flag. The VMs support Docker stacks, local databases, dev servers, and other real-machine features that agents increasingly require, as demonstrated by Ramp’s internal agent driving the entire software development lifecycle. Modal built a custom runtime on the Rust-based Cloud Hypervisor, layering innovations in host filesystems, lazy image loading, memory bursting, and snapshotting to preserve the same APIs and sub-second cold starts as their existing gVisor Sandboxes. Early customers like Linear, Legora, and Snorkel have launched over 20 million VMs, using them for coding sessions, legal agent evaluations, and agent simulations that require multiple containers and real-world environments. Modal recommends using VM Sandboxes when workloads need Docker, FUSE filesystems, or niche kernel features, while gVisor remains the default for compatible workloads."
---

# VM Sandboxes: Full computers for agents

[Modal](https://yomu.fyi/company/modal) · Oct 1, 2026

**Type:** Announcement

## Summary

Modal has launched VM Sandboxes in general availability, providing agents with full Linux VMs accessible via a single flag. The VMs support Docker stacks, local databases, dev servers, and other real-machine features that agents increasingly require, as demonstrated by Ramp’s internal agent driving the entire software development lifecycle. Modal built a custom runtime on the Rust-based Cloud Hypervisor, layering innovations in host filesystems, lazy image loading, memory bursting, and snapshotting to preserve the same APIs and sub-second cold starts as their existing gVisor Sandboxes. Early customers like Linear, Legora, and Snorkel have launched over 20 million VMs, using them for coding sessions, legal agent evaluations, and agent simulations that require multiple containers and real-world environments. Modal recommends using VM Sandboxes when workloads need Docker, FUSE filesystems, or niche kernel features, while gVisor remains the default for compatible workloads.

## Context

Modal’s existing gVisor-based Sandboxes provided lightweight container isolation but limited agents’ ability to run Docker, FUSE filesystems, or kernel-level operations. Agents increasingly need full Linux VMs for realistic environments, as demonstrated by Ramp’s internal agent driving the entire software development lifecycle on Modal Sandboxes.

## Approach / What changed

Modal built a custom VM runtime on the Rust-based Cloud Hypervisor, adding host filesystem innovations, lazy image loading, memory bursting, and snapshotting to preserve the same APIs and sub-second cold starts as their gVisor Sandboxes.

## Takeaways

- VM Sandboxes support Docker, FUSE filesystems, and niche Linux kernel features that gVisor Sandboxes cannot.
- Switching from gVisor to VM Sandboxes requires only a single flag change, sharing the same APIs, Images, and pricing.
- Early customers have launched over 20 million VMs for use cases like coding sessions, legal agent evaluations, and agent simulations.

## FAQ

### When should I use VM Sandboxes instead of gVisor Sandboxes?

Use VM Sandboxes when your workload requires Docker, FUSE filesystems, or niche Linux kernel features. If your workload runs happily on gVisor, it will continue to work; gVisor remains the default runtime.

### How do I switch from gVisor to VM Sandboxes?

Switching is as simple as adding runtime="vm" flag. Both runtimes share the same APIs, Images, and usage-based pricing, making it a drop-in change.

### What technical changes did Modal make to support VM Sandboxes?

Modal built a custom runtime on the Rust-based Cloud Hypervisor, adding innovations in host filesystems, lazy image loading, memory bursting, and snapshotting to preserve the same APIs and sub-second cold starts.

**Tags:** [AI Agents](https://yomu.fyi/topic/ai-agents), [Containers](https://yomu.fyi/topic/containers), [Serverless](https://yomu.fyi/topic/serverless), [Virtualization](https://yomu.fyi/topic/virtualization)

- Source: [Modal](https://modal.com/blog/vm-sandboxes-agent-computers)
- Source URL: https://modal.com/blog/vm-sandboxes-agent-computers
- Ingested by Yomu: 2026-10-01T21:00:16.129Z

[Read original post](https://modal.com/blog/vm-sandboxes-agent-computers)
