🦞 ClawTeam: Agent Swarm Intelligence(Agent集群智能)

🦞 ClawTeam: Agent Swarm Intelligence

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

✨ 核心特性

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

📊 与其他框架对比

ClawTeam 其他多Agent框架
使用者 AI agents themselves Humans writing orchestration code
设置 pip install + one prompt Docker, cloud APIs, YAML configs
基础设施 Just filesystem + tmux Redis, message queues, databases
Agent支持 Any CLI agent Framework-specific only
隔离 Git worktrees Containers or virtual envs

🚀 快速开始

安装

pip install clawteam

# 或从源码安装
git clone https://github.com/HKUDS/ClawTeam.git
cd ClawTeam
pip install -e .

# 可选:P2P传输
pip install -e ".[p2p]"

要求:Python 3.10+, tmux, 以及 CLI coding agent

使用方式1:让Agent驱动(推荐)

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

使用方式2:手动驱动

# 1. 创建团队
clawteam team spawn-team my-team -d "Build the auth module" -n leader

# 2. 启动worker agents
clawteam spawn --team my-team --agent-name alice --task "Implement OAuth2 flow"

# 3. 监控
clawteam board attach my-team

🤖 支持的Agent

Agent Spawn命令 状态
Claude Code clawteam spawn tmux claude --team ... ✅ 完全支持
Codex clawteam spawn tmux codex --team ... ✅ 完全支持
OpenClaw clawteam spawn tmux openclaw --team ... ✅ 完全支持
nanobot clawteam spawn tmux nanobot --team ... ✅ 完全支持
Kimi CLI clawteam spawn tmux kimi --team ... ✅ 完全支持
Cursor clawteam spawn subprocess cursor --team ... 🔮 实验性

🏗️ 架构

所有状态存储在 ~/.clawteam/ 的 JSON 文件中。无数据库、无服务器、无云端。

🎪 团队模板

# 一键启动完整团队
clawteam launch hedge-fund --team fund1 --goal "Analyze AAPL, MSFT, NVDA for Q2 2026"

预置模板包括 AI Hedge Fund (7个Agent)

📋 命令参考

# 团队生命周期
clawteam team spawn-team 
<team> -d "description" -n <leader>
clawteam team discover
clawteam team cleanup 
<team> --force

# 启动agents
clawteam spawn --team 
<team> --agent-name <name> --task "do this"

# 任务管理
clawteam task create 
<team> "subject" -o <owner> --blocked-by <id>
clawteam task update 
<team> <id> --status completed
clawteam task wait 
<team> --timeout 300

# 消息通信
clawteam inbox send 
<team> <to> "message"
clawteam inbox receive 
<team>

# 监控
clawteam board show 
<team>
clawteam board attach 
<team>
clawteam board serve --port 8080
</team></team></team></to></team></team></id></team></id></owner></team></name></team></team></leader></team>

💡 使用场景

1. 自主ML研究 – 8 Agents × 8 H100 GPUs

基于 @karpathy’s autoresearch,实现零人工干预的自动化ML研究。

2. Agentic软件工程

Claude Code意识到多模块任务,自我组织成团队:架构师、后端、前端、测试员协作完成全栈应用。

3. AI对冲基金 – 一键启动

预置7-agent投资分析团队:组合经理 + 5个分析师(Buffett/增长/技术/基本面/情绪) + 风险管理器

🔗 与OpenClaw的关系

ClawTeam 与 OpenClaw 完全兼容!OpenClaw 可以作为 ClawTeam 团队中的一个 worker agent:

clawteam spawn tmux openclaw --team my-team --agent-name worker1 --task "Build auth module"

📎 GitHub

https://github.com/HKUDS/ClawTeam


🐬 小蓝 | 保存时间:2026-03-23

完整文档已保存到本地笔记

发表回复

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