madarco/agentbox
CLI orchestration for parallel coding agents in local Docker and cloud sandboxes
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AgentBox is a TypeScript monorepo whose CLI orchestrates coding-agent environments. agentbox claude provisions a box, brings in the project and agent configuration, and starts Claude Code inside a detachable tmux session. The local Docker path creates a container with a FUSE workspace overlay, so a local box is not a standalone VM. The in-box agentbox-ctl daemon reports service and task status through agentbox status.
Runtime operations sit behind a provider interface. The CLI can target local Docker, remote Docker over SSH, or a supported cloud backend. New backends can be packaged as npm plugins against @madarco/agentbox-provider-sdk and registered with plugin add, without modifying the AgentBox core. The source checkout builds with pnpm, and apps/cli/dist/index.js is the built CLI entry point.
Key Capabilities & Differentiators
AgentBox carries project files and agent settings, skills, and plugins into separate boxes for Claude Code, Codex, and OpenCode. Developers can reattach to a running session, open a persistent shell, inspect service logs, connect VS Code or Cursor via Dev Containers, or use noVNC to access the box’s desktop in a browser. App previews use portless or OrbStack locally, portless over SSH for remote Docker, and provider-native URLs on Daytona, Vercel, and E2B.
Checkpoints reuse warm state for new boxes. Stopping a local Docker box preserves its writable layer, including node_modules; destroying it discards that layer. agentbox download copies the workspace back to the host with gitignore-aware behavior, while agentbox cp handles individual files. Remote Docker live snapshots use docker commit; Daytona is only partially supported, with experimental live snapshots. Test the checkpoint and preview paths on the backend you intend to use.
Trade-offs & Limitations
A coding-agent CLI running directly on the host has fewer moving parts, and Dev Containers alone may be enough for a single editor-centric workspace. AgentBox earns its extra setup when several sessions need independent writable workspaces, persistent shells, previews, and warm starts. Local Docker consumes host CPU, memory, and disk as concurrency grows; remote execution shifts that load but adds network dependence and either server maintenance or provider costs.
Git credentials remain on the host and pushes request approval, but moving project files and selected agent configuration to a remote backend is a separate data-handling decision. MIT licensing permits commercial use of the public code subject to its notice requirements; it does not replace review of agent or cloud terms. The CLI provides resource monitoring through agentbox top, but there is no fixed sizing target for parallel boxes: measure the actual services, dependencies, and desktop workloads you plan to run.
Hardware & Deployment Guide
For local use, install @madarco/agentbox globally with npm, run agentbox install for interactive setup, then run agentbox claude from a project. The CLI requires macOS on Apple Silicon or Intel, or Linux, plus Docker and Node.js 22.12 or newer. The first local creation builds the roughly 1 GB agentbox/box:dev image. Source builds require pnpm 9 or newer; the built CLI can be checked with node apps/cli/dist/index.js --help.
Self-hosted remote Docker uses SSH and the existing ~/.ssh/config; managed providers have their own authentication. Vercel, Hetzner, Daytona, and E2B credentials are stored in ~/.agentbox/secrets.env after login. Local execution removes the need for a cloud sandbox account, not necessarily the need for network access by the chosen coding agent. The macOS tray-latest release is a moving pointer to tray builds: version 0.4.6 adds multi-repository boxes and a PR badge. The app installs via agentbox install app or the DMG, while its source lives in a separate private repository.
node_modules; destroying it discards that layer, while checkpoints seed new boxes.agentbox url opens the app preview, screen opens noVNC, and code connects VS Code or Cursor through Dev Containers.docker commit; Daytona support is partial and its live snapshots are experimental.Developers or teams running parallel coding-agent tasks that need separate writable workspaces, resumable sessions, and browser or IDE access across local or remote environments.
A host-side agent or one Dev Container meets your needs, or your policy rules out copying project files and agent settings to the remote backend you intend to use.
Quick Start & Installation
npm -g install @madarco/agentbox agentbox install # Launch a new VM with claude, copy all your settings and workspace agentbox claude # Also install required project libraries and launch your dev server > Run setup wizard? -> Yes # Also use a cloud: agentbox hetzner claude # or vercel, daytona # Ctrl+a d to detach, claude keep going, to reconnect later: agentbox attach 1 # To open a persistent shell inside the box: agentbox shell 1 # Create a second box: agentbox claude agentbox attach 2 agentbox shell 2 # Open your web project on a .local url tunnel on your pc agentbox url 2 # Or the in-box browser via webVNC: agentbox screen 2 # Or connect to vscode/cursor inside the box: agentbox code 2 # See status and quickly switch between agents: agentbox dashboard
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agentbox ★ | 590 | +5 | TypeScript | MIT | CLI orchestration for parallel coding agents in local Docker and cloud sandboxes |
| gemini-cli | 109.6k | +376 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
| oh-my-pi | 40.5k | +483 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
| Codewhale | 41.2k | +38 | Rust | MIT | Rust coding agent with swappable models, sandboxed execution, and turn receipts |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/madarco/agentbox.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agentbox
How does AgentBox fit into an existing Claude Code or IDE workflow?
agentbox claude from the project to create a box and start Claude Code in a detachable tmux session. Use agentbox attach to reconnect, agentbox shell for a separate shell, or agentbox code to connect VS Code or Cursor through Dev Containers. AgentBox manages the execution environment rather than replacing the agent or editor.What hardware do I need to run several boxes locally?
agentbox top to measure CPU, memory, process count, and disk usage before raising concurrency. There is no specified GPU or VRAM requirement for AgentBox itself; size any separate local inference workload independently.Can a company self-host AgentBox and use it commercially?
When is AgentBox preferable to using Dev Containers directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy