← all repositories

pydantic/monty

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

7.3k stars Rust Coding Assistants
monty
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.