A

AgentRun

Open source
Security & PrivacyUpdated Feb 15, 2026
383 starsCompared with 162 other Security & Privacy agentsOpen sourceUpdated Feb 2026
Apache-2.0 license383 GitHub starsChecked Nov 8, 2026

What AgentRun does

AgentRun is a Python library for running Python code generated by large language models safely, in a single line of code. It is built on the Docker Python SDK and RestrictedPython and executes code in isolated containers.

Key features

  • Checks generated code for dangerous elements before execution
  • Runs code in a fully isolated Docker container with configurable resource limits and timeouts
  • Dependency management with control over allowed installs and optional caching
  • Self-hostable REST API with a preconfigured Docker Compose setup
  • Returns the same output as local Python, including exceptions and tracebacks
Open source
Yes (Apache-2.0)

Source: github.com/Jonathan-Adly/AgentRun · Checked Nov 8, 2026

Alternatives

See all Security & Privacy alternatives to AgentRun

Related AI Agents

FAQs

What is AgentRun?
AgentRun is a Python library for running Python code generated by large language models safely, in a single line of code. It is built on the Docker Python SDK and RestrictedPython and executes code in isolated containers.
Is AgentRun open source?
Yes, under the Apache-2.0 license.

Rate this agent

Loading...

Your rating:

Reviews

Loading reviews...

Write a review

Your rating
0 / 500

Ready to try this agent?

AgentRun