Skip to content

flexdinesh/cbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Sandbox Images

Standalone Docker images for running agent CLIs with a host directory mounted at /workdir.

Images

  • sandbox-opencode
  • sandbox-pi
  • sandbox-codex

Usage

See docs/nocli.md for manual Docker build and run commands.

docs/nocli.md remains the source of truth for manual Docker command equivalence.

Local CLI

Install the development CLI from the local Go module:

cd tools/cbox
go install ./cmd/cbox

Build all local Sandbox Images:

cbox build
cbox build --all

Build selected Harnesses:

cbox build --harness opencode
cbox build --harness pi
cbox build --harness codex
cbox build --harness opencode --harness pi
cbox build --harness opencode --harness pi --harness codex

Run a Harness explicitly:

cbox run opencode
cbox run pi
cbox run codex

Run a Harness with shorthand commands:

cbox opencode
cbox pi
cbox codex

Pass a command through to the container by placing it after --:

cbox run opencode -- opencode debug
cbox run pi -- pi --version
cbox run codex -- codex --version
cbox opencode -- opencode debug
cbox pi -- pi --version
cbox codex -- codex --version

Start a fresh Harness container with a shell instead of the default CLI:

cbox run opencode -- sh
cbox run pi -- sh
cbox run codex -- sh

Print the CLI version:

cbox --version

About

a cli tool to run your harnesses in a local docker sandbox

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Contributors