Repository navigation
v0.1.0 — Zero-KVM WebAssembly Linux Sandbox for AI Agents
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/commandsSSE streaming (init/stdout/stderr/exit, timeoutSIGKILL, disconnect cleanup). - Native Linux
/dev/ptsWebSocket PTY (GET /v1/sandboxes/:id/pty) with RFC 6455 framing,SIGWINCHresize,detachable/sessionId, CLIusbx shell <id>, and local-hosted@xterm/xterm+FitAddonWeb Playground.
- Real-time
- SSRF-Guarded Guest Internet & Zero-Trust
SandboxMesh: Defaulteth0internet protected by NIC-level SSRF + TLS SNI/HTTP Host policy (policyBackend), coexisting with private*.meshAF_VSOCKpeer networking. - Kubernetes CSI S3 / JuiceFS
9pMounts: Tenant-confinedMountGuard(--s3-fuse-dir,--s3-fuse-rw, safe auto-created tenant subdirectories, per-mountreadOnlyoverride, anti-traversal & symlink escape protection) plus userspaceS3VirtualFs. - Native MCP Server:
usbx mcp(stdio) andPOST /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