pydantic/monty

A minimal, secure Python interpreter written in Rust for use by AI

About the project

Monty is a minimal Python interpreter written in Rust that runs AI-generated code in a restricted environment without direct filesystem, environment-variable, or network access. It is for AI agents that need to execute Python and type-checking tasks while allowing developers to control which host functions and objects the code can use, and the catalogue entries integrate it into agent workflows.

These files are pydantic/monty's own configuration. They tell Claude Code, Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.

8,168Stars on the repository
13Files it configures its agents with
15,199Tokens loaded in every session
3Agents configured

Instructions

Settings

Skills

Agents