百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

ClawTeam-OpenClaw

> AI 编程
开源

ClawTeam 分支完全适配 OpenClaw — 以 OpenClaw 作为默认代理进行多代理群体协调

1.4K stars0 点赞5 次浏览
访问官网GitHub

工具介绍

ClawTeam 分支完全适配 OpenClaw — 以 OpenClaw 作为默认代理进行多代理群体协调

English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Français | Español | Deutsch | Italiano | Русский | Português (Brasil)

ClawTeam-OpenClaw

Multi-agent swarm coordination for CLI coding agents — OpenClaw as default

Fork of HKUDS/ClawTeam with deep OpenClaw integration: default openclaw agent, 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.

Platform Support

  • Linux and macOS keep the original tmux-first workflow.
  • Windows 10/11 is supported with an automatic fallback to the subprocess backend.
  • Task locking, process liveness checks, and signal registration are routed through a shared compatibility layer so unsupported Unix-only behavior degrades safely on Windows.
  • board attach still requires tmux, so on Windows prefer clawteam board serve for live monitoring.
  • If you want the original tmux workflow on Windows, run ClawTeam inside WSL.

Why ClawTeam?

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

How It Works

Agents Spawn Agents

The leader calls clawteam spawn to create workers. Each gets its own git worktree, spawn backend session, and identity.

bash
clawteam spawn --team my-team \
  --agent-name worker1 \
  --task "Implement auth module"

Agents Talk to Agents

Workers check inboxes, update tasks, and report results — all through CLI commands auto-injected into their prompt.

bash
clawteam task list my-team --owner me
clawteam inbox send my-team leader \
  "Auth done. All tests passing."

You Just Watch

Monitor the swarm from a tiled tmux view or Web UI. The leader handles coordination.

bash
clawteam board serve --port 8080
# Or, on Linux/macOS/WSL with tmux:
clawteam board attach my-team

Quick Start

Option 1: Let the Agent Drive (Recommended)

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.

Option 2: Drive It Manually

bash
# 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

Supported Agents

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

Install

Step 1: Prerequisites

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:

bash
python --version    # Need 3.10+
tmux -V             # Linux/macOS/WSL only
openclaw --version  # Or: claude --version / codex --version

Install 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:

powershell
clawteam config get default_backend

Windows Native Setup

Use this path for PowerShell or Windows Terminal:

powershell
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 8080

If you want the full tmux experience, install and run ClawTeam inside WSL instead.

Step 2: Install ClawTeam

⚠️ Do NOT run pip install clawteam or npm install -g clawteam directly:

  • pip install clawteam installs the upstream PyPI version, which defaults to claude and lacks OpenClaw adaptations.
  • npm install -g clawteam installs an unrelated name-squatting package (by a9logic). If clawteam --version shows "Coming Soon", you have the wrong one — run npm uninstall -g clawteam.

Use the three commands below — the pip install -e . step is required. It installs from the local repo, not from PyPI.

bash
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 clawteam

Optional — P2P transport (ZeroMQ):

bash
python -m pip install -e ".[p2p]"

Step 3: Ensure clawteam is on PATH

Spawned agents run in fresh shells that may not have pip's bin directory in PATH. A symlink in ~/bin ensures clawteam is always reachable:

bash
mkdir -p ~/bin
ln -sf "$(which clawteam)" ~/bin/clawteam

If which clawteam returns nothing, find the binary manually:

bash
# 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 -5

Then ensure ~/bin is in your PATH — add this to ~/.zshrc or ~/.bashrc if it isn't:

bash
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.

Step 4: Install the OpenClaw skill (OpenClaw users only)

The skill file teaches OpenClaw agents how to use ClawTeam through natural language. Skip this step if you're not using OpenClaw.

bash
mkdir -p ~/.openclaw/workspace/skills/clawteam
cp skills/openclaw/SKILL.md ~/.openclaw/workspace/skills/clawteam/SKILL.md

Step 5: Configure exec approvals (OpenClaw users only)

Spawned OpenClaw agents need permission to run clawteam commands. Without this, agents will block on interactive permission prompts.

…

If openclaw approvals fails, the OpenClaw gateway may not be running. Start it first, then retry.

Step 5b: Install the Hermes skill (Hermes Agent users only)

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.

bash
mkdir -p ~/.hermes/skills/openclaw-imports/clawteam
cp skills/hermes/SKILL.md ~/.hermes/skills/openclaw-imports/clawteam/SKILL.md

Verify with hermes skills list | grep clawteam. The skill should show up under openclaw-imports (Hermes auto-routes skills from that directory).

Key things the skill teaches Hermes:

  • Route multi-agent/swarm/team queries to clawteam (not delegate_task)
  • Use --team-name (not --team), -g/--goal, --force on launch
  • Always pass --command hermes on launch -- templates default to openclaw
  • On spawn, pass hermes as a trailing positional arg (not --command hermes)
  • Wait sleep 60 after launch for worker boot, then poll the board every 30s
  • Never peek inboxes within the first 60s (they'll be empty)
  • Read inboxes and produce a consolidated report before clawteam team cleanup

Spawned Hermes workers automatically inherit MCP servers configured in ~/.hermes/config.yaml, so any knowledge brain or tool setup is available to every worker.

Step 6: Verify

bash
clawteam --version          # Should print version
clawteam config health      # Should show all green

If using OpenClaw, also verify the skill is loaded:

bash
openclaw skills list | grep clawteam

Automated installer

Steps 2–6 above are also available as a single script:

bash
git clone https://github.com/win4r/ClawTeam-OpenClaw.git
cd ClawTeam-OpenClaw
bash scripts/install-openclaw.sh

This script is intended for Linux, macOS, and WSL shells, not native PowerShell.

Troubleshooting

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

Use Cas

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonai-agentsclawdbotopenclawopenclaw-extension

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.