Claude Squad

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

Visit Claude Squad

Key features

  • Multi-session orchestration — Run and supervise multiple concurrent Claude coding agent instances from a single TUI. - Integrated diff viewer — Inspect real-time code modifications and patch outputs for the active instance directly in the terminal. - Live diff statistics — Monitor background sessions with continuous +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.

Use cases

Use Case: Parallel Feature Development A developer can launch multiple Claude agent instances to implement complementary features across separate git branches simultaneously, tracking the status and code changes of each task from one interface without juggling multiple terminal windows.

Use Case: Concurrent Refactoring and Test Generation A team can assign one agent instance to refactor a backend module while a second instance generates missing unit tests in parallel, reviewing the diffs and terminal outputs side-by-side as each agent completes its work.

Use Case: High-Throughput Bug Triage When resolving multiple independent bug tickets, developers can spin up dedicated agent sessions per issue, watch real-time line modifications across instances, and inspect diffs prior to committing.

Who it is for

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.

Install guide

Installation Install Claude Squad using Go or by cloning and compiling the repository: 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/

First Run Ensure your Anthropic API credentials or Claude CLI execution environment are configured in your shell environment: bash export ANTHROPIC_API_KEY="your-anthropic-api-key" Launch Claude Squad in the root of your Git repository: bash claude-squad

Example Session 1. Inside the Claude Squad TUI, press n (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

Related CLI agents

  • Pi Boss — Pi Boss is an open-source multi-agent orchestration extension developed by skyfallsin for the pi terminal coding agent ecosystem. It provides…
  • Gridbash — Gridbash is an open-source terminal orchestrator and multi-pane agent harness developed by Jason Suhari. It is designed to manage, supervise,…
  • The Perfect Orchestrator — The Perfect Orchestrator is an open-source orchestration harness and plugin designed for Anthropic's Claude Code CLI. Created by developer daman8271,…
  • Even — Even is an agent-native desktop workspace and orchestration environment developed by Todience, Inc. It integrates a native terminal, an embedded…
  • Repomon — Repomon is an open-source developer harness and repository companion tool created by Ali Hamza Azam. Built with a Rust core…
  • clideck — clideck is an open-source agent harness and terminal orchestration tool maintained by rustykuntz on GitHub. It serves as a unified…
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories