Microsandbox
$ msb Official Med RiskMicrosandbox (msb) boots hardware-isolated local microVMs backed by libkrun from standard OCI images in under 100ms with Docker-like CLI ergonomics. Supports msb run, msb create, msb exec, msb ls/start/stop/rm, msb fork, msb doctor, and msb sandbox.
brew install superradcompany/tap/microsandbox msb provides fast CLI microVM execution (msb run/exec), while Microsandbox also exposes SDK/MCP server interfaces for sandboxed code-interpreter tools.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Clean non-interactive lifecycle (doctor, run, create, exec, stop, rm), though msb lacks universal --json output across list/status commands.
msb doctor,msb run <image> -- <cmd>,msb create/exec/ls/stop/rm
True hardware-level microVM isolation via libkrun with ephemeral msb run cleanup and snapshot/fork support.
libkrunmicroVM hypervisor isolation and ephemeralmsb runteardown
Available via Homebrew tap, npm, PyPI, Cargo, Winget, and install scripts, though requires hardware virtualization (Apple Silicon, Linux KVM, or Windows WHP).
- Multi-ecosystem packages requiring KVM/Apple Silicon/WHP
Sub-100ms microVM boot using standard OCI images beats traditional VM latency while providing stronger isolation than containers.
- OCI image compatibility with <100ms
libkrunboot
Maintained by Superrad (superradcompany/microsandbox) under Apache-2.0.
- Active
superradcompany/microsandboxrepository under Apache-2.0
Clear microsandbox.dev docs and README covering msb doctor, Sandboxfile, snapshots, and SDKs.
- Official docs at
microsandbox.devand GitHub README
Security, Auth & Guardrails
Runs locally without cloud auth; stores OCI image layers, Sandboxfile configs, and microVM state locally.
100% free, local-first, and Apache-2.0 open-source.
# Microsandbox (msb) Agent Rules - Run `msb doctor` once on new hosts to verify KVM/Apple Silicon/WHP virtualization support. - Prefer ephemeral `msb run <image> -- <cmd>` unless persistent state via `msb create` is explicitly needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
msb doctor
Checks Apple Silicon / KVM / WHP hypervisor prerequisites without starting any VM.
msb ls
Displays persistent microVM sandboxes and their current running status.
Controlled Writes & Previews
msb run python -- python3 -c "print('isolated')" Boots an ephemeral hardware-isolated microVM from the python OCI image and removes it on exit.
Strengths for Agents
- + Hardware-isolated
libkrunmicroVMs boot standard OCI images in <100ms locally. - + Familiar Docker-style
run/create/exec/lsUX withmsb forkand snapshots. - + Zero cloud dependency or per-minute VM billing.
Caveats & Pitfalls
- ! Requires hardware hypervisor support (fails inside nested cloud VMs without nested KVM).
- ! Limited
--jsonformatting on management commands likemsb lsandmsb doctor.