Python Interpreter
Createdbimalpaudels
Automates Python script execution via LLMs within isolated environments.
About
This tool is a lightweight, experimental server designed to execute arbitrary Python scripts in a structured and reproducible environment. It leverages uv to run isolated code snippets through subprocesses, enabling secure and controlled execution of scripts generated by Large Language Models. It provides a simple API to run Python code and retrieve the output, making it ideal for integrating with LLM-powered applications that require dynamic code execution.
Key Features
- Easy integration with OpenAI Agents SDK and Claude Desktop
- Captures and returns the stdout of executed scripts
- Provides a simple API for running scripts
- Executes arbitrary Python code in isolated environments
- 1 GitHub stars
- Uses uv to ensure dependency isolation
Use Cases
- Running Python scripts generated by Large Language Models
- Automating tasks through LLM-driven script execution
- Integrating with LLM-powered applications for dynamic code execution