superradcompany/microsandbox

🧱 easy fast local-first microVM runtime and library

What it solves

Microsandbox 提供一種安全的方式來執行不受信任的工作負載——例如 AI 代理、使用者提交的程式碼、外掛與自動化腳本——而不會危及主機系統。它以輕量級的 microVM 取代緩慢且龐大的虛擬機,提供硬體層級的隔離與近乎即時的啟動時間。

How it works

它使用 microVM 技術建立相容 OCI 的隔離環境,意味著可以執行來自 Docker Hub 等註冊表的標準容器映像。此系統設計為可嵌入式,讓開發者能透過 Rust、Python、TypeScript 與 Go 的 SDK,直接在程式碼中以子行程方式產生 VM,或是使用 CLI 工具 (msb) 進行管理。

Who it’s for

適合需要安全執行程式碼的 AI 代理開發者、管理不受信任外掛或 CI 工作的平台工程師,以及任何需要快速、本地、硬體隔離沙箱來進行自動化或開發環境的人員。

Highlights

  • Hardware Isolation: Uses microVMs for stronger security than standard containers.
  • Instant Startup: Average boot times under 100 milliseconds.
  • OCI Compatible: Supports standard container images from Docker Hub and GHCR.
  • Embeddable: Can be integrated directly into applications without requiring a long-running daemon or setup server.
  • Agent-Ready: Includes an MCP server and specific skills to allow AI agents to manage their own sandboxes.