smtg-ai/claude-squad
A Go terminal dashboard for parallel coding agents using tmux and Git worktrees
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
Claude Squad is a Go terminal application that supervises external coding-agent processes. Starting a task combines two mechanisms: tmux gives the agent a terminal that users can attach to and detach from, and a Git worktree gives the task a separate checkout. The two address different problems: terminal continuity and separation of uncommitted changes.
The tree includes main.go and the cmd/, session/, config/, and ui/ directories. The manifest includes Cobra for the CLI, Bubble Tea, Bubbles, and Lip Gloss for the TUI, and creack/pty for pseudo-terminal support. The documented integration boundary is a launch command, not an MCP server or a model-serving API. The selected agent handles prompts, authentication, and inference.
Key Capabilities & Differentiators
The cs dashboard creates sessions with or without an initial prompt, lets users attach to send follow-up instructions, and switches between a terminal preview and a scrollable Git diff. A checkout action commits changes and pauses the session; it can then be resumed. Committing and pushing to GitHub is a separate action. That distinction matters if the goal is to review a branch locally before publishing it.
The default command is claude; -p can instead run commands such as codex, gemini, or Aider with a model argument. Named profiles pair a display name with a shell command so users can choose a program when creating a session. A profile changes how the process is launched; it does not normalize models, credentials, or permission prompts across agents.
Trade-offs & Limitations
Compared with running Claude Code directly, this adds value when parallel branches and frequent context switching justify another layer of tmux and Git state. The direct CLI is simpler for one task. Compared with a managed product such as Devin, Claude Squad keeps session execution on your host; you remain responsible for the machine, credentials, and backend access. Running the manager locally does not remove model-service costs.
Worktrees separate checkouts, not permissions. They neither sandbox agent commands nor eliminate merge conflicts between branches that edit the same code. Keep experimental --autoyes off where confirmation prompts are part of the review process. AGPL-3.0 is a separate adoption consideration, particularly if you redistribute the manager or modify it and let users interact with it remotely.
Hardware & Deployment Guide
Install the local CLI through Homebrew or the manual installer. The Homebrew instructions add a cs symlink; the manual installer places cs in ~/.local/bin by default. Set up tmux, Git for worktrees, and gh, then install and authenticate the intended agent CLIs. cs debug reports the configuration path, normally ~/.claude-squad/config.json. The source manifest declares Go 1.23.0 and toolchain go1.25.8.
Self-hosting the session manager does not make an agent offline. Network access, credentials, and inference hardware depend on the chosen agent and model. Plan capacity around concurrent processes, repository tooling, and worktree disk use. Release v1.0.20 records the base commit for existing-branch sessions and fixes recovery when the tmux server dies. These are session-state fixes, not a guarantee that interrupted agent work will resume.
-p runs a chosen CLI command, and named profiles make commands selectable at session creation.Developers who already use terminal coding agents and need to run several branch-scoped tasks, inspect diffs, and reattach without juggling terminal windows.
You mostly run one agent session, or you need managed execution, a security sandbox, or built-in model serving.
Quick Start & Installation
brew install claude-squad ln -s "$(brew --prefix)/bin/claude-squad" "$(brew --prefix)/bin/cs"
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| claude-squad ★ | 8.9k | +44 | Go | AGPL-3.0 | A Go terminal dashboard for parallel coding agents using tmux and Git worktrees |
| 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/smtg-ai/claude-squad.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about claude-squad
How do I add another coding agent?
cs -p "codex" or define a named program in ~/.claude-squad/config.json. Claude Squad runs the command in tmux and gives the task a Git worktree. This integration does not require an MCP interface to the agent.Does Claude Squad need a GPU, and how should I size the host?
Can a company self-host it under AGPL-3.0?
When should I choose this over direct Claude Code or a managed alternative?
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