✈ CodeSwarm
CodeSwarm is a focused terminal workspace for collaborating with one or more Agent Client Protocol (ACP) coding agents. Build a roster of Claude Code, Codex, Gemini CLI, or another ACP-compatible agent and let them work through a task sequentially in one shared conversation.
Highlights
- Run one coding agent or an unlimited roster from the same terminal UI.
- Relay multi-agent turns in order, so every response can build on the last.
- Select the first recipient for the next relay message directly from the roster beside the prompt.
- Queue follow-up messages safely while an agent is working.
- Use a compact fighter-HUD interface designed for terminal workflows.
- Keep work local: CodeSwarm collects no telemetry.
Install
uv tool install codeswarm
# or: pip install codeswarm
CodeSwarm requires Python 3.14 or later on macOS or Linux.
Run
codeswarm
On first launch, choose the agents for your roster. Later launches restore that roster. To select a project directory, pass it to the command:
codeswarm ~/projects/example
Launch a specific roster directly when needed:
codeswarm run -a claude -a codex -a gemini ~/projects/example
Agents take turns sequentially. Click an agent beside the prompt to choose who
receives the next message. Press Ctrl+C to cancel work or quit; use
Ctrl+Shift+P to pause or resume a multi-agent relay.
New sessions default to Auto pilot, which allows agent tool requests without asking for confirmation. CodeSwarm translates that policy to each agent's native permission mode and keeps the roster synchronized. You can change the policy from the mode selector beside the prompt.
Essential controls
| Action | Control |
|---|---|
| Attach a project file | Type @ followed by its path. @ does not tag agents. |
| Choose the next recipient | Click an agent beside the prompt. |
| Pause or resume a relay | Ctrl+Shift+P or /pause |
| Cancel active work | Press Ctrl+C once. |
| Quit | Press Ctrl+C while idle, or twice within three seconds while work is active. |
| Set the relay safety limit | Start with --max-rounds N (default: 100 automated turns). |
Messages submitted while an agent is working wait in a bounded holding area and are delivered in order before the relay advances. See the user manual for the complete launch flow, commands, permissions, and troubleshooting guide.
ACP agents
CodeSwarm bundles catalog entries for Claude Code, Codex, and Gemini CLI. To use another ACP-compatible command:
codeswarm acp "node /path/to/agent-acp.js" ~/projects/example
The external agent and its ACP adapter must already be installed and authenticated. CodeSwarm starts the adapter but does not bundle provider CLIs or manage their accounts.
Privacy
CodeSwarm does not collect telemetry. Agent prompts, responses, tool calls, and terminal activity remain subject to the policies of the agent and provider you choose.
Development
make verify
License
CodeSwarm is licensed under AGPL-3.0. See the commercial license notice for commercial licensing.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codeswarm-0.6.34.tar.gz.
File metadata
- Download URL: codeswarm-0.6.34.tar.gz
- Upload date:
- Size: 843.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c974bed6f5e825f0bf940ee01e102a92dbc05912150ad9719a32f028bf986db5
|
|
| MD5 |
c4613c00ceaedab8677aa16e7510e33d
|
|
| BLAKE2b-256 |
73692ecad0363ae8b1fae5d682a0dee14f9c4bd9c97a45bb3552bcb291a8f759
|
File details
Details for the file codeswarm-0.6.34-py3-none-any.whl.
File metadata
- Download URL: codeswarm-0.6.34-py3-none-any.whl
- Upload date:
- Size: 701.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d824dc66f1b29ce1af2fe1733e4423d89bf583d16ecc5d413a12c48eeaec9f0b
|
|
| MD5 |
c8f8c39c0052a4be5ca962efe2e4964a
|
|
| BLAKE2b-256 |
64c4a2bce78504962183d9fdb608339f155f4b37da04536ba090a14f34b28dee
|