cbox

OS-level sandboxing for AI agents and arbitrary commands.

Run anything with full shell access. All filesystem mutations are captured. Nothing touches your real system until you approve.

Works on Linux (native namespaces) and macOS (Docker/Podman). MIT Licensed.


Demo

cbox demo


How it works

  1. cbox run — Launch an isolated sandbox. Let Claude Code reorganize, refactor, or clean up your project.
  2. cbox diff — See exactly what the agent changed. Every file added, modified, or deleted.
  3. cbox merge --pick — Cherry-pick which changes to keep. Discard the rest.

Features


Install

Homebrew

brew tap borngraced/cbox && brew install cbox

Cargo

cargo install --git https://github.com/borngraced/cbox cbox

Binaries

Download from GitHub Releases.


GitHub · MIT License