Agent Sandbox Routes Commands: Lightweight Ones on WASM, Heavy Ones Emulated

isnit0 · x · 2026-11-27

isnit0 explains the performance design of his agent sandbox: thanks to first-class snapshotting and resumption, each incoming command runs in the most appropriate environment. Lightweight commands (ls, cd, sed, curl) run in a super-fast lightweight Linux session under WebAssembly, while heavier long-running commands (ffmpeg, tsc, etc.) run in more traditional emulated environments where startup speed matters far less.

Related event: Agent Sandbox Snapshots Every Command and Splits Light vs Heavy Workloads(4 posts)→

Original post →

More from coding & agent

coding & agent channel →