AgentRun
by Community
The easiest, and fastest way to run AI-generated Python code safely
OSS
AgentRun
Added 1 June 2026
Overview
AgentRun is an open-source Python library that provides a safe sandbox for executing AI-generated Python code. It focuses on speed and ease of use, allowing developers to run generated scripts without risking system integrity.
Best for
Best for
Developers who need to safely and quickly run AI-generated Python code in experimental or agentic contexts
Use cases
- Running Python code generated by large language models securely
- Testing and validating AI-generated scripts in isolated environments
- Integrating safe code execution into agentic workflows or pipelines
Notes
AgentRun is an open-source Python library that provides a safe sandbox for executing AI-generated Python code. It focuses on speed and ease of use, allowing developers to run generated scripts without risking system integrity.
371 stars on GitHub. Last updated 2024-11-29. Licensed Apache-2.0.
Use cases
- Running Python code generated by large language models securely
- Testing and validating AI-generated scripts in isolated environments
- Integrating safe code execution into agentic workflows or pipelines
Pros
- Simple and fast setup for executing untrusted code
- Built-in sandboxing reduces risk of harmful side effects
- Lightweight library with minimal dependencies
Cons
- Only supports Python code execution
- Not designed for high-scale production workloads
- Limited documentation and community support due to early-stage project
Indexed from awesome-langchain and enriched against its public facts.
Pros
- Simple and fast setup for executing untrusted code
- Built-in sandboxing reduces risk of harmful side effects
- Lightweight library with minimal dependencies
Cons
- Only supports Python code execution
- Not designed for high-scale production workloads
- Limited documentation and community support due to early-stage project
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Auto-GPT
Various
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Open Interpreter
Various
A natural language interface for computers
GPT Engineer
Various
CLI platform to experiment with codegen. Precursor to: https://lovable.dev
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.