vndee/llm-sandbox
Lightweight and portable LLM sandbox runtime (code interpreter) Python library. observed · 2026-09-03
Health v2 · maintenance only
90/100
- Activity 100
- Release rhythm 96
- Longevity 56
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1.5
- age_days: 797
- days_rel: 30
- days_push: 0
- n_releases_24m: 45
Adoption not part of the score
1118 stars · 104 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
LLM Sandbox is a lightweight Python library for safely executing LLM-generated code in isolated container environments with support for Docker, Kubernetes, and Podman backends. It offers multi-language code execution, security policies, resource limits, and an MCP server integration for AI assistants like Claude Desktop.
Use cases
- run code generated by LLMs safely in an isolated sandbox
- execute AI-generated Python or JavaScript with automatic dependency installation
- add a secure code interpreter to an AI agent or LangChain pipeline
- let Claude Desktop execute code via an MCP server
- capture plots and artifacts produced by sandboxed code
- run untrusted code with CPU, memory, and network restrictions
When to choose
- you need to execute untrusted LLM-generated code without risking the host system
- you want a Python library with pluggable container backends (Docker, Kubernetes, Podman)
- you're building AI agents that need a code interpreter tool
- you need multi-language execution with on-the-fly dependency management
When to avoid
- you need a fully managed cloud code-execution service rather than self-managed containers
- your environment cannot run containers (no Docker/Podman/Kubernetes)
- you only need to run trusted code with no isolation requirements
Facets
library · maturity active
security sdk mcp developer-tools large-language-models security developer-tools python cross-platform code-interpreter sandbox llm-generated-code container-backends mcp-server ai-agents docker kubernetes
3 sources
- readme: https://github.com/vndee/llm-sandbox · fetched 2026-09-03 · e47bce63788c
- homepage: https://vndee.github.io/llm-sandbox/ · fetched 2026-08-29 · 4f42cbd5aa07
- registry_pypi: https://pypi.org/pypi/llm-sandbox/json · fetched 2026-08-29 · 16638c5ae578
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vndee/llm-sandbox | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="vndee/llm-sandbox")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem