Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Microsandbox

$ msb Official Med Risk
Superrad · Agent Bridges & Meta · Apache-2.0 · macos / linux / windows

Microsandbox (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.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install superradcompany/tap/microsandbox
CLI vs MCP Decision Hybrid (CLI + MCP)

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

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

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
Trust & Safety 23 / 25

True hardware-level microVM isolation via libkrun with ephemeral msb run cleanup and snapshot/fork support.

  • libkrun microVM hypervisor isolation and ephemeral msb run teardown
Setup & Portability 13 / 15

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
Utility & Efficiency 14 / 15

Sub-100ms microVM boot using standard OCI images beats traditional VM latency while providing stronger isolation than containers.

  • OCI image compatibility with <100ms libkrun boot
Maintenance & Lineage 8 / 10

Maintained by Superrad (superradcompany/microsandbox) under Apache-2.0.

  • Active superradcompany/microsandbox repository under Apache-2.0
Docs & Verifiability 8 / 10

Clear microsandbox.dev docs and README covering msb doctor, Sandboxfile, snapshots, and SDKs.

  • Official docs at microsandbox.dev and GitHub README

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Runs locally without cloud auth; stores OCI image layers, Sandboxfile configs, and microVM state locally.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, local-first, and Apache-2.0 open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Verify host hypervisor readiness
msb doctor

Checks Apple Silicon / KVM / WHP hypervisor prerequisites without starting any VM.

List managed microVM sandboxes
msb ls

Displays persistent microVM sandboxes and their current running status.

Controlled Writes & Previews

Run untrusted code inside an ephemeral Python microVM
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 libkrun microVMs boot standard OCI images in <100ms locally.
  • + Familiar Docker-style run/create/exec/ls UX with msb fork and snapshots.
  • + Zero cloud dependency or per-minute VM billing.

Caveats & Pitfalls

  • ! Requires hardware hypervisor support (fails inside nested cloud VMs without nested KVM).
  • ! Limited --json formatting on management commands like msb ls and msb doctor.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI