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.