Claude Squad is an open-source terminal user interface (TUI) orchestrator and multi-instance session harness for Claude coding agents, developed by smtg-ai. Built in Go, it allows developers to spin up, manage, and monitor multiple concurrent agent tasks from a unified terminal dashboard. In day-to-day workflows, Claude Squad enables developers to multiplex independent coding sessions across branches or worktrees. The interface provides a live list of active instances, terminal views into active agent execution, embedded preview tabs, and real-time Git change tracking showing added and removed line counts (`+X/-Y`) per session. It orchestrates Claude agent executions in parallel while giving the developer direct inspection capabilities over what each agent is modifying. Unlike standalone CLI coding agents that operate as single-task REPLs, Claude Squad acts as an orchestration harness tailored for concurrent agent management. It optimizes system resources by computing lightweight `git diff --numstat` summaries for inactive background instances while reserving full diff rendering for the actively selected instance, keeping terminal performance responsive under multi-agent workloads. Claude Squad is distributed as open-source software on GitHub and relies on the user's Anthropic access or underlying Claude CLI tooling for model execution.
Tags: agent harness, ai agent, cli, coding agent, terminal
+X/-Y line addition and deletion counts. - Tabbed navigation — Seamlessly toggle between terminal output, diff panes, and instance previews across sessions. - Resource-efficient monitoring — Background instances use lightweight status polling (git diff --numstat) to keep memory and CPU usage bounded. - Native Go binary — Fast startup and cross-platform execution with no heavy runtime dependencies.Claude Squad is built for software engineers and technical leads who actively use Claude coding agents and want to run multiple tasks in parallel rather than waiting on sequential CLI runs. It is less suitable for developers who prefer single-prompt GUI IDE extensions or those who do not use terminal-based agent workflows.
bash # Install via Go go install github.com/smtg-ai/claude-squad@latest # Or build from source git clone https://github.com/smtg-ai/claude-squad.git cd claude-squad go build -o claude-squad . sudo mv claude-squad /usr/local/bin/bash export ANTHROPIC_API_KEY="your-anthropic-api-key" Launch Claude Squad in the root of your Git repository: bash claude-squadn (or use the designated keybinding) to launch a new agent instance. 2. Enter your initial prompt for the instance: text "Refactor session/git/diff.go to use git diff --numstat for inactive instances" 3. Use the arrow keys or j/k to navigate between instances. 4. Switch to the Diff tab (or press Tab) to review generated code modifications in real time before finalizing changes.Part of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools