Agent sandbox
A collection of scripts putting agent harnesses inside docker sandboxes
-
Dockerfile A minimal docker image containing the different harnesses and the tools they need to complete their tasks
-
copilot/pi The script files initializing the corresponding harnesses
Usage
I recommend not using these as is, but as an inspiration to fit your workflow and tools. Regardless, here's how to run:
REBUILD=1 copilot builds the container, then starts copilot cli. REBUILD=1 pi does the same for pi.
Making these globally available requires modifying PATH. Assuming you have these files at ~/harness-sandbox, then export PATH="$PATH:$HOME/harness-sandbox".
After that, copilot and pi anywhere will start the sandboxed harness