Pydantic's Monty is a new sandboxing solution that provides a Python subset implemented in Rust for safely running LLM-generated code with microsecond startup times. The author demonstrates compiling Monty to WebAssembly in two forms: as a standalone WASM module callable from JavaScript, and as a wheel file loadable in Pyodide.

4m read time From simonwillison.net
Post cover image

Sort: