Skip to content

v0.1.0 — Zero-KVM WebAssembly Linux Sandbox for AI Agents

Choose a tag to compare

@jonyhy96 jonyhy96 released this 05 Dec 04:58
· 5 commits to main since this release

Highlights

Initial open-source release of unkernel-sandbox — a Zero-KVM WebAssembly Linux 7.x sandbox platform for AI Agents powered by pithings/unkernel.

What's Included

  • Zero-KVM Dedicated Linux 7.x Kernels: Runs unmodified ARM64 Alpine / Debian / custom rootfs inside non-privileged Kubernetes Pods (runAsNonRoot, readOnlyRootFilesystem, drop: [ALL], ~20 MiB RSS per sandbox).
  • OpenSandbox-Aligned Control Plane & JS/TS SDK: create, get, list, exec, files, pause/resume, preview, kill, TTL reaper, and WarmPool (~173 ms cold start, ~8 ms WarmPool, 26 ms pause / 51 ms resume).
  • Production Streaming Exec (SSE) & Full-Duplex WebSocket PTY:
    • Real-time POST /v1/sandboxes/:id/commands SSE streaming (init/stdout/stderr/exit, timeout SIGKILL, disconnect cleanup).
    • Native Linux /dev/pts WebSocket PTY (GET /v1/sandboxes/:id/pty) with RFC 6455 framing, SIGWINCH resize, detachable/sessionId, CLI usbx shell <id>, and local-hosted @xterm/xterm + FitAddon Web Playground.
  • SSRF-Guarded Guest Internet & Zero-Trust SandboxMesh: Default eth0 internet protected by NIC-level SSRF + TLS SNI/HTTP Host policy (policyBackend), coexisting with private *.mesh AF_VSOCK peer networking.
  • Kubernetes CSI S3 / JuiceFS 9p Mounts: Tenant-confined MountGuard (--s3-fuse-dir, --s3-fuse-rw, safe auto-created tenant subdirectories, per-mount readOnly override, anti-traversal & symlink escape protection) plus userspace S3VirtualFs.
  • Native MCP Server: usbx mcp (stdio) and POST /mcp (HTTP JSON-RPC 2.0) ready for Claude Code, Cursor, and Codex.

Container Image

docker pull ghcr.io/jonyhy96/unkernel-sandbox:0.1.0