onyx-dot-app/python-sandbox
Secure and lightweight Python code execution environment for LLMs
This project provides a secure way for AI applications to run Python code. It takes Python code and any necessary files, executes them in a safe, isolated environment with strict resource limits, and returns the output (like print statements or results) and any generated files. This is designed for AI developers building agentic applications, large language model (LLM) tools, or any system that needs to execute untrusted code safely.
Use this if you are developing an AI agent or LLM application and need to add the capability to securely execute arbitrary Python code without risking your host system.
Not ideal if you are a data scientist looking for a local Python IDE or a general-purpose cloud computing platform for running large-scale data analysis tasks.
Stars
12
Forks
3
Language
Python
License
MIT
Category
Last pushed
Mar 02, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/onyx-dot-app/python-sandbox"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Compare
Higher-rated alternatives
e2b-dev/E2B
Open-source, secure environment with real-world tools for enterprise-grade agents.
alibaba/OpenSandbox
OpenSandbox is a general-purpose sandbox platform for AI applications, offering multi-language...
e2b-dev/infra
Infrastructure that's powering E2B Cloud.
always-further/nono
Secure, kernel-enforced sandbox CLI and SDKs for AI agents. Capability-based isolation with...
boxlite-ai/boxlite
Sandboxes for every agent. Embeddable, stateful, snapshots, and hardware isolation.