返回顶部
a

acp-teamACP团队协作层

Team coordination layer for multi-agent workflows with mailbox, task board, and lease-based task management. Use when users need to coordinate multiple AI agents, manage shared task boards, send messages between agents, or set up team-based workflows. Triggers on "spawn agent", "team", "task board", "multi-agent", "agent coordination", "message agent", "inbox".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
299
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

acp-team

acp-team:多智能体团队协调

acpx 的团队协调层——邮箱、任务板和多智能体工作流。

何时使用此技能

当用户出现以下情况时使用此技能:

  • - 希望协调多个AI智能体协同工作
  • 需要带有认领/租约机制的任务板
  • 希望智能体通过消息收件箱进行通信
  • 询问生成具有不同角色的团队成员
  • 需要跨智能体的任务分配和状态跟踪

架构

┌─────────────────────────────────────────────────────────┐
│ acp-team │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ TaskStore │ │ MessageBus │ │ TeamStore │ │
│ │ .tasks/ │ │ .team/inbox │ │ .team/config│ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │ │ │ │
│ └────────────────┼────────────────┘ │
│ │ │
│ Coordinator │
│ │ │
│ ▼ │
│ acpx sessions │
└─────────────────────────────────────────────────────────┘

安装

bash
npm install -g acp-team

需要先安装 acpx:
bash
npm install -g acpx

快速开始

bash

在项目中初始化团队


acp-team init --name my-project

创建任务

acp-team task create 修复认证漏洞 acp-team task create 编写单元测试

生成团队成员

acp-team spawn alice -r coder -p 修复任务 #1 中的认证漏洞

检查状态

acp-team status

发送消息

acp-team msg send alice 漏洞修复进展如何? acp-team msg inbox alice

命令参考

团队管理

命令描述
acp-team init [--name <团队名称>]在项目中初始化团队
acp-team status
显示团队和任务状态 | | acp-team spawn <名称> -r <角色> -p <提示> | 使用 acpx 生成团队成员 | | acp-team shutdown <成员> | 请求成员关闭 |

任务板

命令描述
acp-team task create <主题>创建新任务
acp-team task list
列出所有任务 | | acp-team task unclaimed | 列出未认领的任务 | | acp-team task claim [-o <所有者>] | 认领任务 | | acp-team task assign <成员> | 将任务分配给成员 | | acp-team task done | 将任务标记为完成 |

任务租约系统

命令描述
acp-team task claim-lease <ID> -o <所有者> -d <毫秒>带租约认领(默认60秒)
acp-team task heartbeat <ID> -t <令牌>
续租 | | acp-team task release-expired | 释放所有过期租约 |

消息传递

命令描述
acp-team msg send <收件人> <消息>发送私信
acp-team msg broadcast <消息>
广播给所有成员 | | acp-team msg inbox [名称] | 读取收件箱(消耗消息) | | acp-team msg peek [名称] | 预览收件箱(不消耗消息) |

任务状态机

pending → claimed → running → blocked → completed
↓ ↓
cancelled failed
↓ ↓
timed_out

消息信封格式

json
{
schema_version: 1.0,
message_id: uuid,
trace_id: ...,
sender: alice,
recipient: bob,
type: message,
content: ...,
created_at: 1234567890,
priority: 1
}

文件结构

.team/
├── config.json # 团队配置
└── inbox/
├── alice.jsonl # Alice的收件箱
├── bob.jsonl # Bob的收件箱
└── lead.jsonl # 负责人的收件箱

.tasks/
├── task_1.json # 任务 #1
├── task_2.json # 任务 #2
└── ...

工作流示例

bash

1. 初始化


acp-team init --name feature-dev

2. 创建任务

acp-team task create 设计API架构 acp-team task create 实现后端 acp-team task create 编写测试

3. 生成设计师

acp-team spawn designer -r architect -p 为任务 #1 设计API架构 -a claude

4. 设计完成后,生成实现者

acp-team spawn coder -r backend -p 基于设计实现API

5. 监控进度

acp-team status acp-team msg inbox lead

6. 生成测试员

acp-team spawn tester -r qa -p 为新API编写测试

资源

  • - npm: https://www.npmjs.com/package/acp-team

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 acp-team-1776152881 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 acp-team-1776152881 技能

通过命令行安装

skillhub install acp-team-1776152881

下载

⬇ 下载 acp-team v0.1.0(免费)

文件大小: 2.36 KB | 发布时间: 2026-4-15 13:42

v0.1.0 最新 2026-4-15 13:42
Initial release of acp-team: multi-agent team coordination for acpx

- Provides mailbox-based messaging, shared task board, and team management for multi-agent workflows
- Supports task creation, assignment, status tracking, and lease-based task claiming
- Enables spawning team members (agents) with different roles and prompts
- Direct and broadcast messaging between agents via inboxes
- Includes command-line interface for managing teams, tasks, and communication

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部