Overview¶
Agentic CLI runs agentic coding tools (Claude Code, GitHub Copilot, OpenCode) in isolated Docker containers, or optionally in a microVM. A tool sees only your workspace and its own config directory. It runs without root and leaves nothing behind when it exits, and in a container the filesystem is read-only.
Features¶
- Multiple tools - Claude Code, GitHub Copilot CLI, OpenCode, run the same way
- Isolated by default - read-only filesystem, no root, dropped capabilities, isolated network
- Per-project config -
.agenticrc.tomlfiles merge up the directory tree; namespaces keep separate image sets per project - Language runtimes - add Node.js, Java, .NET or Go on top of the base image, with version pinning
- Persistent state - named volumes survive across container runs
- Egress allowlist proxy - optionally restrict and log a tool's outbound network access
- Credential injection - API keys the agent never sees, only a placeholder
- Docker-in-Docker - optionally give a tool its own Docker daemon, never the host's socket
- Microsandbox runtime - optionally run a tool in a microVM with its own kernel instead of a container
See Security model for what each layer stops.
Motivation¶
Agentic coding tools are powerful - but that power comes at a cost. They do come with guard rails, but they still run with the same permissions as your user. You're trusting the tool not to access anything you didn't intend to give it - and that's a hard sell if you want to experiment without fully trusting the tool. Agentic runs the tool in a locked-down container instead, so it can only touch what you explicitly hand it. Docker Sandboxes offers a VM boundary instead - see Comparison for the trade-offs.
Beyond isolation, agentic also aims to make working with these tools practical day-to-day: a single command to build or update any tool, and a flexible configuration system that works globally or per-project so the right settings are always picked up automatically.
It's also a side project for learning how to build and work with AI-assisted tooling.