Run Claude Code and Codex in a version-pinned, non-root Docker container on your Mac. Separate agent logins, checksum-verified releases, and your files at their usual paths.
Developer toolsJavaScript · PythonGitHub @zurfyxOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Run personal AI coding agents, Claude Code and Codex, inside one Docker container, isolated from the host.
Taken from the repository README
Loading the full README.
Read the full README ↗Agentbox runs personal Claude Code and Codex sessions in a version-pinned, non-root Docker container on macOS. It keeps agent logins and configuration in a dedicated home instead of mixing them with host installations, while making your working files available at their normal absolute paths.
For example, open a project and start the agent you want:
cd ~/Code/my-project
agentbox claude
# or
agentbox codex
To reduce a session's host-filesystem reach to the current project, opt in at launch time:
agentbox --workspace-only claude
agentbox --workspace-only codex
By default, Agentbox can access broad host paths. Workspace-only reduces accidental access to unrelated files, but the project, persistent vendor state, and network access remain available. See Workspace-only access for the exact boundary and Git metadata exception.
The first launch downloads, verifies, and prepares only the requested agent. A later launch of the other agent prepares that agent without discarding the first or your persistent agent state.
Agentbox publishes linux/arm64 and linux/amd64 runtime artifacts, but native
Intel Mac behavior is not yet qualified.
Trust the tap before installing from it:
brew trust zurfyx/tap
brew install zurfyx/tap/agentbox
Then, from any working directory, launch either agent directly:
agentbox claude
agentbox codex
Follow the agent's sign-in flow when prompted. Docker and network activity begin
only when you launch an agent or explicitly run a lifecycle operation; package
installation itself does not create ~/.agentbox, run Docker, or download an
agent.
agentbox setup can eagerly prepare both agents, and agentbox doctor provides
read-only diagnostics, but neither is required before the first launch. Run
agentbox --help for the complete command summary.
Agentbox is available under the MIT License. Claude Code, Codex, Docker Desktop, the Debian base, and packaged dependencies retain their own licenses and terms; see THIRD_PARTY_NOTICES.md.