ClawTeam fork fully adapted for OpenClaw — multi-agent swarm coordination with OpenClaw as the default agent
ClawTeam fork fully adapted for OpenClaw — multi-agent swarm coordination with OpenClaw as the default agent
English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Français | Español | Deutsch | Italiano | Русский | Português (Brasil)
Multi-agent swarm coordination for CLI coding agents — OpenClaw as default
Fork of HKUDS/ClawTeam with deep OpenClaw integration: default
openclawagent, per-agent session isolation, exec approval auto-config, and production-hardened spawn backends. All upstream fixes are synced.
You set the goal. The agent swarm handles the rest — spawning workers, splitting tasks, coordinating, and merging results.
Works with OpenClaw (default), Claude Code, Codex, Hermes Agent, nanobot, Cursor, and any CLI agent.
tmux-first workflow.subprocess backend.board attach still requires tmux, so on Windows prefer clawteam board serve for live monitoring.Current AI agents are powerful but work in isolation. ClawTeam lets agents self-organize into teams — splitting work, communicating, and converging on results without human micromanagement.
| ClawTeam | Other multi-agent frameworks | |
|---|---|---|
| Who uses it | The AI agents themselves | Humans writing orchestration code |
| Setup | pip install + one prompt |
Docker, cloud APIs, YAML configs |
| Infrastructure | Filesystem + tmux | Redis, message queues, databases |
| Agent support | Any CLI agent | Framework-specific only |
| Isolation | Git worktrees (real branches) | Containers or virtual envs |
Agents Spawn AgentsThe leader calls |
Agents Talk to AgentsWorkers check inboxes, update tasks, and report results — all through CLI commands auto-injected into their prompt. |
You Just WatchMonitor the swarm from a tiled tmux view or Web UI. The leader handles coordination. |
Install ClawTeam, then prompt your agent:
"Build a web app. Use clawteam to split the work across multiple agents."The agent auto-creates a team, spawns workers, assigns tasks, and coordinates — all via clawteam CLI.
# Create a team
clawteam team spawn-team my-team -d "Build the auth module" -n leader
# Spawn workers — each gets a git worktree plus its own backend session
clawteam spawn --team my-team --agent-name alice --task "Implement OAuth2 flow"
clawteam spawn --team my-team --agent-name bob --task "Write unit tests for auth"
# Watch them work
clawteam board serve --port 8080
clawteam board attach my-team # Linux/macOS/WSL with tmux| Agent | Spawn Command | Status |
|---|---|---|
| OpenClaw | clawteam spawn --team ... |
Default |
| Claude Code | clawteam spawn claude --team ... |
Full support |
| Codex | clawteam spawn codex --team ... |
Full support |
| nanobot | clawteam spawn nanobot --team ... |
Full support |
| Hermes Agent | clawteam spawn hermes --team ... |
Full support (tmux + subprocess) |
| Cursor | clawteam spawn subprocess cursor --team ... |
Experimental |
| Custom scripts | clawteam spawn subprocess python --team ... |
Full support |
ClawTeam requires Python 3.10+ and at least one CLI coding agent (OpenClaw, Claude Code, Codex, etc.). On Linux/macOS, the full visual workflow also requires tmux. On Windows, tmux is optional because ClawTeam defaults to the subprocess backend.
Check what you already have:
python --version # Need 3.10+
tmux -V # Linux/macOS/WSL only
openclaw --version # Or: claude --version / codex --versionInstall missing prerequisites:
| Tool | Windows | macOS | Ubuntu/Debian |
|---|---|---|---|
| Python 3.10+ | Install from python.org | brew install [email protected] |
sudo apt update && sudo apt install python3 python3-pip |
| tmux | Optional | brew install tmux |
sudo apt install tmux |
| OpenClaw | pip install openclaw |
pip install openclaw |
pip install openclaw |
If using Claude Code or Codex instead of OpenClaw, install those per their own docs. OpenClaw is the default but not strictly required.
On Windows, after installation you can verify the backend choice with:
clawteam config get default_backendUse this path for PowerShell or Windows Terminal:
py -3 -m pip install -e .
clawteam config get default_backend # should print subprocess
clawteam spawn --team demo --agent-name worker1 --task "Do work"
clawteam board serve --port 8080If you want the full tmux experience, install and run ClawTeam inside WSL instead.
⚠️ Do NOT run
pip install clawteamornpm install -g clawteamdirectly:
pip install clawteaminstalls the upstream PyPI version, which defaults toclaudeand lacks OpenClaw adaptations.npm install -g clawteaminstalls an unrelated name-squatting package (bya9logic). Ifclawteam --versionshows "Coming Soon", you have the wrong one — runnpm uninstall -g clawteam.Use the three commands below — the
pip install -e .step is required. It installs from the local repo, not from PyPI.
git clone https://github.com/win4r/ClawTeam-OpenClaw.git
cd ClawTeam-OpenClaw
pip install -e . # ← Required! Installs from local repo, NOT the same as pip install clawteamOptional — P2P transport (ZeroMQ):
python -m pip install -e ".[p2p]"clawteam is on PATHSpawned agents run in fresh shells that may not have pip's bin directory in PATH. A symlink in ~/bin ensures clawteam is always reachable:
mkdir -p ~/bin
ln -sf "$(which clawteam)" ~/bin/clawteamIf which clawteam returns nothing, find the binary manually:
# Common locations:
# ~/.local/bin/clawteam
# /opt/homebrew/bin/clawteam
# /usr/local/bin/clawteam
# /Library/Frameworks/Python.framework/Versions/3.*/bin/clawteam
find / -name clawteam -type f 2>/dev/null | head -5Then ensure ~/bin is in your PATH — add this to ~/.zshrc or ~/.bashrc if it isn't:
export PATH="$HOME/bin:$PATH"On native Windows, you usually do not need the ~/bin symlink step. Instead, make sure the Python Scripts directory containing clawteam.exe is on PATH, or activate the virtual environment where you installed ClawTeam before spawning agents.
The skill file teaches OpenClaw agents how to use ClawTeam through natural language. Skip this step if you're not using OpenClaw.
mkdir -p ~/.openclaw/workspace/skills/clawteam
cp skills/openclaw/SKILL.md ~/.openclaw/workspace/skills/clawteam/SKILL.mdSpawned OpenClaw agents need permission to run clawteam commands. Without this, agents will block on interactive permission prompts.
…If
openclaw approvalsfails, the OpenClaw gateway may not be running. Start it first, then retry.
The skill file teaches Hermes Agent how to use ClawTeam through natural language -- including when to route to clawteam (vs delegate_task), correct spawn flags, and timing expectations. Skip this step if you're not using Hermes.
mkdir -p ~/.hermes/skills/openclaw-imports/clawteam
cp skills/hermes/SKILL.md ~/.hermes/skills/openclaw-imports/clawteam/SKILL.mdVerify with
hermes skills list | grep clawteam. The skill should show up underopenclaw-imports(Hermes auto-routes skills from that directory).
Key things the skill teaches Hermes:
delegate_task)--team-name (not --team), -g/--goal, --force on launch--command hermes on launch -- templates default to openclawspawn, pass hermes as a trailing positional arg (not --command hermes)sleep 60 after launch for worker boot, then poll the board every 30sclawteam team cleanupSpawned Hermes workers automatically inherit MCP servers configured in ~/.hermes/config.yaml, so any knowledge brain or tool setup is available to every worker.
clawteam --version # Should print version
clawteam config health # Should show all greenIf using OpenClaw, also verify the skill is loaded:
openclaw skills list | grep clawteamSteps 2–6 above are also available as a single script:
git clone https://github.com/win4r/ClawTeam-OpenClaw.git
cd ClawTeam-OpenClaw
bash scripts/install-openclaw.shThis script is intended for Linux, macOS, and WSL shells, not native PowerShell.
| Problem | Cause | Fix |
|---|---|---|
clawteam: command not found |
pip bin dir not in PATH | Run Step 3 and ensure either ~/bin or your Python Scripts directory is on PATH |
Spawned agents can't find clawteam |
Agents run in fresh shells without pip PATH | Verify clawteam is on PATH in new shells; on Windows check the Python Scripts directory or active virtualenv |
openclaw approvals fails |
Gateway not running | Start openclaw gateway first, then retry Step 5 |
exec-approvals.json not found |
OpenClaw never ran | Run openclaw once to generate config, then retry Step 5 |
| Agents block on permission prompts | Exec approvals security is "full" | Run Step 5 to switch to "allowlist" |
pip install -e . fails |
Missing build deps | Run pip install hatchling first |
clawteam --version shows "Coming Soon" |
Installed the npm name-squatting package (a9logic, unrelated to this project) |
npm uninstall -g clawteam, then reinstall per Step 2 |
No open issues yet, or sync has not completed.