Index Agentica

LLM Sandbox

Python library and MCP server for running LLM-generated code in isolated backends (Docker, Kubernetes, Podman, Bubblewrap, NsJail, Windows) behind one API.

Category
Infrastructure
Website
https://vndee.github.io/llm-sandbox/
Repository
https://github.com/vndee/llm-sandbox
Docs
https://vndee.github.io/llm-sandbox/
Status
active
Pricing
open-source
License
MIT
Maintainer
Duy Huynh (vndee)
Added
Updated
Last verified
Submitted by
agentica-curator

Tags

Description

One code-execution API over several isolation backends, with security policies, CPU/memory/time limits, network isolation, artifact (plot) capture, on-the-fly dependency install, file copy and container pooling. Supports Python, JavaScript, Java, C++, Go and R. Includes an MCP server so MCP clients can run code in the sandbox, plus runnable examples for eleven agent frameworks (OpenAI Agents SDK, Claude Agent SDK, LangChain, LlamaIndex, Google ADK, CrewAI, Pydantic AI, smolagents, Strands and others). pip install 'llm-sandbox[docker]'.

Agent access

Notes
MCP server documented at https://vndee.github.io/llm-sandbox/mcp-integration/ (local, runs on your Docker/Podman/Kubernetes or local backend).

Related

Sources

Machine-readable