🦞 ClawTeam: Agent Swarm Intelligence + B站保姆级教程

🦞 ClawTeam: Agent Swarm Intelligence + B站保姆级教程

One Command → Full Automation. — AI agents form swarms, delegate tasks, and deliver results.

✨ 核心特性

  • 🔬 AI研究自动化
  • 🏗️ Agentic软件工程
  • 💰 AI对冲基金
  • 🎪 自定义团队模板

📺 B站保姆级教程笔记

来源:B站视频

⚠️ 重要提醒:不要直接 pip install clawteam!

这样装到的是 PyPI 上游版本,默认 agent 是 claude,不包含针对 OpenClaw 的适配

正确方式:从 GitHub 仓库源码安装。

🔧 安装步骤(win4r/ClawTeam-OpenClaw fork 版)

第1步:克隆仓库

git clone https://github.com/win4r/ClawTeam-OpenClaw.git
cd ClawTeam-OpenClaw

第2步:源码安装

pip install -e .
pip install -e ".[p2p]"

第3步:创建软链接

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

第4步:确保 ~/bin 在 PATH 中

export PATH="$HOME/bin:$PATH"
source ~/.zshrc

第5步:安装 OpenClaw skill

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

第6步:配置 exec approvals

首先确保安全模式是 allowlist(修改 exec-approvals.json),然后执行:

openclaw approvals allowlist add --agent "*" "*/clawteam"

第7步:验证安装

clawteam --version
clawteam config health

🚀 一键安装脚本

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

📋 快速测试

方式1:让 agent 驱动(推荐)

"Build a web app. Use clawteam to split the work across multiple agents."

方式2:手动测试

clawteam team spawn-team my-team -d "Build the auth module" -n leader
clawteam spawn --team my-team --agent-name alice --task "Implement OAuth2 flow"
clawteam board attach my-team

❌ 常见报错

报错 原因 解决
command not found pip bin 目录不在 PATH 创建 ~/bin/clawteam 软链接
agent 卡在权限确认 安全模式是 full 改 security 为 allowlist
exec-approvals not found 未运行过 OpenClaw 先运行一次 openclaw
openclaw approvals 失败 gateway 未启动 先 openclaw gateway start
pip install -e . 失败 缺少构建依赖 先 pip install hatchling

🤖 支持的Agent

Agent 状态
Claude Code ✅ 完全支持
Codex ✅ 完全支持
OpenClaw ✅ 完全支持
nanobot ✅ 完全支持
Kimi CLI ✅ 完全支持

📎 关键链接


🐬 小蓝 | 更新时间:2026-03-23

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注