Minimal
Open-source CLI that runs coding agents in declarative, isolated sessions built from a minimal.toml and a from-source package catalogue, on Linux namespaces or a libkrun microVM. A promising beta for developers who want declarative, reproducible agent sessions and are comfortable with a young toolchain.
Overview
Minimal is "a declarative isolation runtime for Claude Code, Gemini, Codex, Pi, and more". You describe the environment in a minimal.toml kept with the code, and Minimal builds a box from a catalogue where every package is built from source with SBOM and VEX data. On Linux the default sandbox uses unprivileged user and mount namespaces (kernel 5.10+); a libkrun microVM is available with --provider local-minvmd and is always used on Apple Silicon macOS. Intel Macs are not supported.
Sessions can be attached, detached and left running, and a hosted MCP server lets agents read the package catalogue. The CLI is in public beta (install page offers v0.7.2) and is Apache-2.0; remote execution and "Minimal for Teams" are marked coming soon or WIP. The README notes the full workspace does not yet build on macOS because the sandbox stack is Linux-only.
Notable
- Public beta; install page offers v0.7.2; Apache-2.0
- macOS uses a libkrun microVM on Hypervisor.framework; Linux defaults to unprivileged user/mount namespaces
- "Remote execution is coming soon" and Minimal for Teams is WIP
Minimal specifications
| Attribute | Details |
|---|---|
| Isolation | Linux: unprivileged user and mount namespaces by default (local-minimald), or a libkrun microVM with --provider local-minvmd; macOS: always a lightweight Linux microVM booted by libkrun on Hypervisor.framework |
| Deployment | Local / OS-level |
| Open source | Yes (Apache-2.0) |
| SDKs and interfaces | CLI, MCP server |
| Cold start (vendor claim) | Not documented |
| Max session length | Not documented |
| Persistence | Sessions can be attached, detached and kept running; the session workspace starts as a copy of the project files taken at activation; a /state directory can be shared across tasks via state_key |
| GPU | Not documented |
| Networking | Package builds get network access only when a dependency requires it and tasks "when necessary"; session network policy is not documented |
| Pricing | CLI free to download for Linux and macOS during public beta; "Minimal for Teams" (managed builds, policy enforcement, attestation) is WIP with a waitlist |
| Free tier | Free during public beta |
| Compliance | Not documented |
| Regions | Not documented |
Facts from Minimal’s public documentation, verified November 9, 2026. Performance numbers are vendor claims.
Strengths and trade-offs
Strengths
- You want the agent environment declared in a file next to the code and rebuilt reproducibly
- You care about supply-chain provenance of the tools inside the sandbox
- You are on Apple Silicon and want a microVM rather than a container
Trade-offs
- Public beta; Teams, remote execution and some macOS pieces are not ready
- Linux default is namespace isolation, which shares the host kernel
- Intel Macs and Windows are not supported
Good fit for: Reproducible, declaratively scoped local sessions for Claude Code, Codex, Gemini and Pi with a supply-chain-audited toolchain.
How Minimal compares
| Sandbox | Isolation | Open source | Self-host / BYOC | Cold start (vendor) | Max session | Snapshots / pause | GPU | SDKs |
|---|---|---|---|---|---|---|---|---|
| Minimal | namespaces or libkrun microVM | Yes | No / No | Not documented | Not documented | Not documented / Not documented | Not documented | CLI, MCP server |
| agents-sandbox | microsandbox microVM | Yes | No / No | Not documented | Not documented | Not documented / Not documented | Not documented | CLI |
| nono | Landlock / Seatbelt | Yes | No / No | Not documented | Not documented | Yes / Not documented | Not documented | CLI, Rust, Python, JavaScript/TypeScript, Go |
| Docker Sandboxes | MicroVM | No | Yes / No | Not documented | Until removed (local) | Yes / Yes | Yes | sbx CLI, TypeScript (cloud), REST API (cloud) |
| Anthropic Sandbox Runtime | OS-level (Seatbelt / bubblewrap) | Yes | Yes / Not documented | Process start | Not documented | No / No | Not documented | CLI (srt), TypeScript (npm) |
| Microsandbox | MicroVM (libkrun) | Yes | Yes / Yes | <100 ms | Not documented | Yes / Not documented | No | TypeScript, Python, Rust, Go, Ruby, CLI, MCP server |
| libkrun | In-process microVM | Yes | Yes / No | Not documented | Not documented | Not documented / Not documented | Yes | Rust, C |
Frequently asked questions
What is Minimal?
How does Minimal isolate code?
Is Minimal open source?
How much does Minimal cost?
What are the alternatives to Minimal?
Sources
Cite this page
Agent Sandboxes. (2026). Minimal. agentsandboxes.org. Last reviewed November 9, 2026. https://agentsandboxes.org/sandboxes/minimal/
Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.