pydantic/monty
A secure Python interpreter written in Rust that enables AI agents to safely execute LLM-generated code with microsecond latency.

Velocity · 7d
+6.6
★ / day
Trend
→steady
star history
Monty is a minimal Python interpreter built in Rust, designed specifically as a secure execution environment for AI agents. It replaces heavyweight container sandboxes to run LLM-generated code safely and efficiently, achieving startup times measured in microseconds rather than milliseconds. This tool enables AI systems to execute dynamically generated Python code as part of agent workflows.