#5454th of 129 in Agent and MCP starters

llm-sandbox

Python library that runs LLM-generated code in container or local sandboxes

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.2k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 29 weeks+105
13 May 2026: 1,047 stars20 May 2026: 1,053 stars27 May 2026: 1,062 stars3 Jun 2026: 1,067 stars10 Jun 2026: 1,072 stars17 Jun 2026: 1,076 stars24 Jun 2026: 1,076 stars1 Jul 2026: 1,079 stars8 Jul 2026: 1,083 stars15 Jul 2026: 1,089 stars22 Jul 2026: 1,091 stars29 Jul 2026: 1,094 stars5 Aug 2026: 1,099 stars12 Aug 2026: 1,103 stars19 Aug 2026: 1,107 stars26 Aug 2026: 1,113 stars2 Sept 2026: 1,117 stars9 Sept 2026: 1,119 stars16 Sept 2026: 1,121 stars23 Sept 2026: 1,125 stars30 Sept 2026: 1,127 stars7 Oct 2026: 1,127 stars14 Oct 2026: 1,130 stars21 Oct 2026: 1,132 stars28 Oct 2026: 1,136 stars4 Nov 2026: 1,140 stars11 Nov 2026: 1,141 stars18 Nov 2026: 1,142 stars25 Nov 2026: 1,148 stars2 Dec 2026: 1,152 stars

1,047 on 13 May 20261,152 on 2 Dec 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LLM Sandbox is a Python package with one API (SandboxSession) for executing LLM-generated code on Docker, Kubernetes, Podman, Bubblewrap, NsJail, and experimental Windows MXC and WSL2 backends. It handles library installs, file copy in and out, plot capture and container pooling, and ships an MCP server for clients such as Claude Desktop. Supported languages are Python, JavaScript, Java, C++, Go and R.

Who it is for: Developers adding sandboxed code execution to LLM agents or MCP clients

Strengths

  • Same session API across Docker, Kubernetes, Podman, Bubblewrap, NsJail and Windows backends
  • Local Bubblewrap and NsJail backends run without Docker or a daemon
  • Container pooling with pre-warming; published benchmarks for Docker, Bubblewrap and NsJail
  • Examples for eleven agent frameworks, plus plot extraction and an MCP server

Weaknesses

  • Bubblewrap and NsJail share the host kernel and are not a VM boundary
  • Local Linux backends lack container images, pooling and interactive sessions
  • Interactive IPython sessions only on Docker, Podman and Kubernetes, Python only
  • Windows MXC and WSL2 adapters are experimental; MXC supports only Python and JavaScript

What it needs

  • Python
  • Needs Docker, Podman or Kubernetes (container backends), Bubblewrap 0.8.0+ and libseccomp2 (local Linux), NsJail binary (nsjail backend)

What changed

  1. 0.3.45 ↗ (opens in a new tab)Security fix

    GHSA-CRFW-XVCM-HJXJ. “Fixes unsafe host-side archive extraction in copy_from_runtime() described in GHSA-crfw-xvcm-hjxj.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent and MCP starters

See all 129
Also in Agent and MCP starters
RankProjectScore
#52mcp-typescript-templateTypeScript starter for remote MCP servers over HTTP with Express and Effect61 starsMIT68 out of 100
#53kernel-imagesSandboxed headful Chromium images with CDP access, live view and session recording1.2k stars+50 (+4.4%) in 30 daysApache-2.067 out of 100
#55agents-universeSelf-hosted multi-agent platform with Product Owner, Tech Lead and QA roles Live demo ↗ (opens in a new tab)1.1k stars+257 (+31%) in 30 daysApache-2.067 out of 100
#56deuz-sdkTypeScript SDK for model calls, agents and multi-agent swarms467 starsMIT67 out of 100
#57studioSelf-hosted MCP control plane with agents, model routing, SSO and audit logs420 starsMIT67 out of 100