ainb (agents-in-a-box)
Terminal-native Rust TUI and CLI for running multiple AI coding agents in isolated git worktrees and tmux sessions, with a portable skills toolkit.
At a Glance
Self-hosted, MIT-licensed ainb TUI/CLI, plugin system and toolkit, installable via Homebrew.
Engagement
Available On
Listed Nov 2026
About ainb (agents-in-a-box)
ainb, published by stevengonsalvez as open source under the MIT license, is a terminal-native manager for AI coding agents. It runs Claude Code, Codex, Gemini CLI and GitHub Copilot sessions side by side, giving each its own git worktree and tmux session. The latest GitHub release listed is v1.28.5.
What It Is
ainb is a Rust TUI and scriptable CLI for supervising several coding agents at once. Each session gets its own branch and working directory, and tmux persistence lets sessions survive terminal disconnects, SSH drops and laptop sleep. Every TUI action has a CLI equivalent, with JSON output available for scripting. The project also bundles a portable toolkit of skills and agents, plus a knowledge system for capturing learnings.
How the fleet workflow works
A Fleet panel shows which agents are blocked and lets you answer them without attaching. Hangar provides boards, tasks, squads and autopilots so agents can pull queued work. A code review view shows hunk-by-hunk diffs, and ainb diff-review can run headless and emit JSON. A shared MCP pool, a Daemons screen and a single Inbox of notifications handle the surrounding plumbing. Optional pieces include ATC, an always-on queue watcher, and a fleet bridge to Telegram, Slack or Discord.
Plugins and usage tracking
Plugins are native subprocesses speaking JSON-RPC 2.0 over stdio, with capabilities declared in a manifest and denied by default. The burndown plugin provides analytics on token usage and spend by day, project, model and provider, along with an ainb usage CLI. Other in-tree plugins cover session reading, process inspection (witr) and agent monitoring (abtop).
Toolkit and knowledge system
The separate ainb-toolkit repository holds 94 skills and 16 agents that deploy to nine tools: Claude Code, Codex, Copilot, Gemini CLI, Amazon Q, Cursor, Cline, Roo and Claude Desktop (MCP servers only). A knowledge system built on GraphRAG and QMD captures learnings via /reflect and retrieves them across sessions.
Requirements and limits
tmux and git are required. Native Windows is not supported, though WSL2 works. Worktrees isolate git state but not ports, databases or node_modules. Memory starts empty until learnings are captured, and ATC and headroom are opt-in with extra setup.
Community Discussions
Be the first to start a conversation about ainb (agents-in-a-box)
Share your experience with ainb (agents-in-a-box), ask questions, or help others learn from your insights.
Pricing
Open Source
Self-hosted, MIT-licensed ainb TUI/CLI, plugin system and toolkit, installable via Homebrew.
- MIT license
- Installs with brew install ainb
- Per-agent git worktree and tmux sessions
- Plugin system (burndown analytics, session-reader)
- Toolkit with 94 skills and 16 agents deployable to 9 AI coding tools
Capabilities
Key Features
- Git worktree isolation per agent session
- tmux-backed persistent sessions
- Fleet panel to answer blocked agents
- Hangar boards, squads and autopilots
- Hunk-by-hunk code review and headless diff-review
- Burndown usage and spend analytics
- Shared MCP pool
- Deny-by-default plugin system over JSON-RPC
- Skill manager to deploy skills to 9 AI tools
- GraphRAG knowledge capture with /reflect
- Scriptable CLI with JSON output
- Optional fleet bridge to Telegram, Slack and Discord
- Read-only web dashboard (ainb web)
