A Docker-based agent sandbox for running AI coding agents in a secure, isolated environment.
This is a simple, configuration-file-driven way to run common AI agents inside Docker using a single command.
There are many tools that achieve similar things.
I wanted:
- Something simple
- Not GUI-based
- Easy to control via configuration files
- Built entirely using local AI agents
So I built this.
It’s mostly an excuse to throw a real-world problem at free or local models and see what they could produce.
I also wanted something I could fully inspect and control without extra services, orchestration layers, or hidden complexity.
- Agents run inside isolated Docker containers
- Everything is controlled via plain YAML configuration files
- No orchestration, no background services, no GUI
Just Docker and bash.
- Secure Isolation: All agents run in isolated Docker containers with restricted capabilities
- Agent Support: Run multiple AI agents (Claude, OpenCode, Codex, Goose, Gemini)
- Network Control: Option to disable internet access for enhanced security
- Credential Management: Persistent credential storage in Docker volumes
- Few Dependencies: Only requires Docker and bash available on your system
./sandbox claude./sandbox claude # Run Claude in current directory
./sandbox -d /path/to/project claude # Run Claude in specific directory
./sandbox claude "prompt" # Run Claude with single promptAll configuration is in plain YAML files:
config.yml– Global settingsagents/*.yml– Agent definitions
You can control:
- Which agents are available
- Whether internet access is enabled
- How credentials are persisted
Everything is explicit and file-driven.
- Capabilities dropped by default
- Network isolation when
internet: false - Auto-cleanup on exit
- Credential storage in Docker volume only
Security depends on configuration. If you mount sensitive host paths or privileged sockets, you reduce isolation.
This is meant to reduce risk and contain mistakes — not eliminate all possible attack surfaces.
- No GUI
- No orchestration
- No extra services
- No hidden layers
- Fast startup
- Fully inspectable
Plain container. Plain config. Single command.
Entirely built with OpenCode, MiniMax M2.5 Free, Ollama, and Qwen