Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

claude-squad

> 开发工具
Open source

Manage multiple AI terminal agents like Claude Code, Codex, OpenCode, and Amp.

8.2K stars0 likes0 views
WebsiteGitHub

About

Manage multiple AI terminal agents like Claude Code, Codex, OpenCode, and Amp.

Claude Squad

Claude Squad is a terminal app that manages multiple Claude Code, Codex, Gemini (and other local agents including Aider) in separate workspaces, allowing you to work on multiple tasks simultaneously.

Highlights

  • Complete tasks in the background (including yolo / auto-accept mode!)
  • Manage instances and tasks in one terminal window
  • Review changes before applying them, checkout changes before pushing them
  • Each task gets its own isolated git workspace, so no conflicts

https://github.com/user-attachments/assets/aef18253-e58f-4525-9032-f5a3d66c975a


Installation

Both Homebrew and manual installation will install Claude Squad as cs on your system.

Homebrew

bash
brew install claude-squad
ln -s "$(brew --prefix)/bin/claude-squad" "$(brew --prefix)/bin/cs"

Manual

Claude Squad can also be installed by running the following command:

bash
curl -fsSL https://raw.githubusercontent.com/smtg-ai/claude-squad/main/install.sh | bash

This puts the cs binary in ~/.local/bin.

To use a custom name for the binary:

bash
curl -fsSL https://raw.githubusercontent.com/smtg-ai/claude-squad/main/install.sh | bash -s -- --name <your-binary-name>

Prerequisites

  • tmux
  • gh

Usage

…

Run the application with:

bash
cs

NOTE: The default program is claude and we recommend using the latest version.


Using Claude Squad with other AI assistants:

  • For Codex: Set your API key with export OPENAI_API_KEY=<your_key>
  • Launch with specific assistants:
    • Codex: cs -p "codex"
    • Aider: cs -p "aider ..."
    • Gemini: cs -p "gemini"
  • Make this the default, by modifying the config file (locate with cs debug)

Menu

The menu at the bottom of the screen shows available commands:

Instance/Session Management
  • n - Create a new session
  • N - Create a new session with a prompt
  • D - Kill (delete) the selected session
  • ↑/j, ↓/k - Navigate between sessions
Actions
  • ↵/o - Attach to the selected session to reprompt
  • ctrl-q - Detach from session
  • s - Commit and push branch to github
  • c - Checkout. Commits changes and pauses the session
  • r - Resume a paused session
  • ? - Show help menu
Navigation
  • tab - Switch between preview tab and diff tab
  • q - Quit the application
  • shift-↓/↑ - scroll in diff view

Configuration

Claude Squad stores its configuration in ~/.claude-squad/config.json. You can find the exact path by running cs debug.

Profiles

Profiles let you define multiple named program configurations and switch between them when creating a new session. When more than one profile is defined, the session creation overlay shows a profile picker that you can navigate with ←/→.

To configure profiles, add a profiles array to your config file and set default_program to the name of the profile to select by default:

json
{
  "default_program": "claude",
  "profiles": [
    { "name": "claude", "program": "claude" },
    { "name": "codex", "program": "codex" },
    { "name": "aider", "program": "aider --model ollama_chat/gemma3:1b" }
  ]
}

Each profile has two fields:

Field Description
name Display name shown in the profile picker
program Shell command used to launch the agent for that profile

If no profiles are defined, Claude Squad uses default_program directly as the launch command (the default is claude).

FAQs

Failed to start new session

If you get an error like failed to start new session: timed out waiting for tmux session, update the underlying program (ex. claude) to the latest version.

How It Works

  1. tmux to create isolated terminal sessions for each agent
  2. git worktrees to isolate codebases so each session works on its own branch
  3. A simple TUI interface for easy navigation and management

License

AGPL-3.0

Star History

Issues· 54 open

View all issuesOpen on GitHub
  • #325

    Bubble Tea's input reader races the tmux attach reader for stdin

    Updated Aug 28, 2026
  • #260

    Feature request: worktree environment setup hook (deps, env files, port isolation)

    Updated Aug 14, 2026
  • #275

    Windows binary fails immediately on `n new` — `creack/pty` is unsupported on Windows

    Updated Aug 6, 2026
  • #56

    Enable multiple git repos with claude squad

    Updated Jul 29, 2026
  • #312

    Focus mode: type into a session directly from the list view

    Updated Jul 29, 2026
  • #311

    How to use with Ollama cloude ?

    Updated Jul 8, 2026
  • #296

    Feature Request: Compact mode

    Updated Jun 1, 2026
  • #292

    feature request

    Updated Jun 1, 2026
  • #300

    feat: custom themes

    Updated May 30, 2026
  • #266

    Bug: SendPrompt sends text before CLI (Codex/others) is ready, prompt lost

    Updated May 30, 2026

> Tags

Goclaude-codeclicodexopencode

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具