Manage multiple AI terminal agents like Claude Code, Codex, OpenCode, and Amp.
- ✓Open-source license (AGPL-3.0)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
{
"mcpServers": {
"claude-squad": {
"command": "node",
"args": ["/path/to/claude-squad/dist/index.js"],
"env": {
"OPENAI_API_KEY": "<openai_api_key>"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows).<placeholder> values with your API keys or paths.OPENAI_API_KEYResumen de Tools
# Claude Squad [](https://github.com/smtg-ai/claude-squad/actions/workflows/build.yml) [](https://github.com/smtg-ai/claude-squad/releases/latest)
[Claude Squad](https://smtg-ai.github.io/claude-squad/) is a terminal app that manages multiple [Claude Code](https://github.com/anthropics/claude-code), [Codex](https://github.com/openai/codex), [Gemini](https://github.com/google-gemini/gemini-cli) (and other local agents including [Aider](https://github.com/Aider-AI/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
<br />
https://github.com/user-attachments/assets/aef18253-e58f-4525-9032-f5a3d66c975a
<br />
### 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](https://github.com/tmux/tmux/wiki/Installing)
- [gh](https://cli.github.com/)
### Usage
```
Usage:
cs [flags]
cs [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
debug Print debug information like config paths
help Help about any command
reset Reset all stored instances
version Print the version number of claude-squad
Flags:
-y, --autoyes [experimental] If enabled, all instances will automatically accept prompts for claude code & aider
-h, --help help for claude-squad
-p, --program string Program to run in new instances (e.g. 'aider --model ollama_chat/gemma3:1b')
```
Run the application with:
```bash
cs
```
NOTE: The default program is `claude` and we recommend using the latest version.
<br />
<b>Using Claude Squad with other AI assistants:</b>
- For [Codex](https://github.com/openai/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`)
<br />
#### 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](LICENSE.md)
### Star History
[](https://www.star-history.com/#smtg-ai/claude-squad&Date)
Lo que la gente pregunta sobre claude-squad
¿Qué es smtg-ai/claude-squad?
+
smtg-ai/claude-squad es tools para el ecosistema de Claude AI. Manage multiple AI terminal agents like Claude Code, Codex, OpenCode, and Amp. Tiene 7.2k estrellas en GitHub y se actualizó por última vez 29d ago.
¿Cómo se instala claude-squad?
+
Puedes instalar claude-squad clonando el repositorio (https://github.com/smtg-ai/claude-squad) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar smtg-ai/claude-squad?
+
Nuestro agente de seguridad ha analizado smtg-ai/claude-squad y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene smtg-ai/claude-squad?
+
smtg-ai/claude-squad es mantenido por smtg-ai. La última actividad registrada en GitHub es de 29d ago, con 51 issues abiertos.
¿Hay alternativas a claude-squad?
+
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.
Despliega claude-squad en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/smtg-ai-claude-squad)<a href="https://claudewave.com/repo/smtg-ai-claude-squad"><img src="https://claudewave.com/api/badge/smtg-ai-claude-squad" alt="Featured on ClaudeWave — smtg-ai/claude-squad" width="320" height="64" /></a>Más Tools
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
一款 AI 驱动的低代码平台,提供"零代码"与"代码生成"双模式——零代码模式一句话搭建系统,代码生成模式自动输出前后端代码与建表 SQL,生成即可运行。平台内置 AI 聊天助手、AI大模型、知识库、AI流程编排、MCP 与插件体系,兼容主流大模型,支持一句话生成流程图、设计表单、聊天式业务操作,解决 Java 项目 80% 重复工作,高效且不失灵活。