Terrarium – Local VMs for AI agents with explicit permissions
Reported by r/LocalLLaMA1 source ↓
Terrarium is a beta tool that runs AI agents in persistent Linux virtual machines, with folder and network access set in YAML recipes. Its creator says it runs on Linux, Apple Silicon macOS and Windows.
Key points
- Each VM has its own kernel, and its recipe controls which host folders and network destinations it can access
- Terrarium is available under the Apache-2.0 license and is in beta
- The creator reports an existing box starts its first command in under 200 ms and uses about 45 MB of host memory while idle
- Host CPU, memory and disk quotas are not yet available
Details
The Terrarium creator describes it as a command-line tool for running agents in persistent Linux virtual machines, called boxes. YAML recipes specify which host folders a box can read or modify and which network destinations it can reach; an empty recipe grants neither folder access nor network access. The creator says the network policy is enforced outside the VM and applies to processes and tools running inside it.
The tool is in beta and licensed under Apache-2.0. The creator lists support for Linux on amd64 and aarch64 with KVM, Apple Silicon macOS, and Windows on amd64 with Windows Hypervisor Platform; a Windows arm64 build is available but untested by the creator. The creator says the CLI is intended to remain stable, while on-disk formats may change.
The creator reports that an existing box on their Linux machine starts its first command in under 200 milliseconds and uses about 45 MB of host memory when idle. They note that permissions still determine what an agent can do: it can delete files in writable shared folders, read credentials provided to it, and send data to allowed destinations. Host CPU, memory and disk quotas are not yet implemented.
Written from coverage as of
Stocks in this story
Change since open: 20 Nov to 21 Nov 2026
Last refresh