mitsuhiko: an AST interpreter alone is too fragile as an agent code-execution sandbox
mitsuhiko · x · 2026-10-10
In a thread on codemode implementations, developer mitsuhiko explains he wasn't comfortable relying on an AST interpreter as the only isolation mechanism for AI agent code execution: it's substantial work and tricky to sandbox, and he's even unsure about wasm/worker as the sole isolation layer. He previously noted Pi picked quickjs for codemode out of pragmatism. The thread weighs tradeoffs between quickjs/AST approaches and wasm+worker isolation, including serialization overhead — useful engineering context for anyone building coding agents.
Related event: mitsuhiko: No Silver Bullet for Agent Code Sandboxing(9 posts)→
More from coding & agent
- NVIDIA launches Nemotron 4, built for long-running coding agents that work for days — nvidia · 2026-12-02
- Solo filmmaker makes 3.5-min AI short film: 21 shots with Midjourney, Seedance 2.5 and ElevenLabs — DavidmComfort · 2026-12-02
- Claude Code + ARIA via MCP: debugging agent evals from 4/12 to 9/12 — CoreWeaveDevs · 2026-12-02
- GitHub Copilot Fusion Max reportedly tops Terminal-Bench at 71.2% while undercutting rivals — DanWahlin · 2026-12-02
- Ali Ghodsi's 2016 take: the hardest part of AI is all the code around it — a16z · 2026-12-02
- Claude Opus 5.5 + Unreal Engine 5.9 used to rapid-prototype a "Wedding Videographer Simulator" — gorkem · 2026-12-02