MicroPython in WebAssembly sandbox released

Tools AI-Agents

TL;DR: Simon Willison released micropython-wasm 0.1a1 for safe Python code execution in Datasette Agent, with GPT-5.5 failing to escape the sandbox.

Summary: Simon Willison released micropython-wasm 0.1a1, a WebAssembly build of MicroPython aimed at sandboxed Python execution. The release addresses limitations encountered while building datasette-agent-micropython, which allows LLM agents to generate and run Python code safely. Early testing shows GPT-5.5 has not yet broken out of the sandbox.

Why it matters: This offers a practical sandboxed Python runtime for AI agents to execute generated code. AI builders should evaluate micropython-wasm for safe code execution in agent workflows, especially when using LLMs to generate Python.

Source: simonwillison.net