Python Interpreter

•
1
•

Automates Python script execution via LLMs within isolated environments.

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.

主な機能

01Easy integration with OpenAI Agents SDK and Claude Desktop
02Captures and returns the stdout of executed scripts
03Provides a simple API for running scripts
04Executes arbitrary Python code in isolated environments
051 GitHub stars
06Uses uv to ensure dependency isolation

ユースケース

01Running Python scripts generated by Large Language Models
02Automating tasks through LLM-driven script execution
03Integrating with LLM-powered applications for dynamic code execution