Agent-Comm-Hub
👀 한눈에 보기
graph LR
A[Claude Code] <--> H((ACH Hub))
B[WorkBuddy] <--> H
C[OpenClaw] <--> H
D[自定义 Agent] <--> H
H --> DB[(SQLite)]
H --> Web[Web 仪表盘]
style H fill:#4f46e5,color:#fff
style Web fill:#7c3aed,color:#fffMCP 호환 AI Agent → Hub 연결 → 즉시 획득: 메시지 버스, 작업 큐, 공유 메모리, 진화 엔진.
🚀 5분 시작:
docker run -d -p 3100:3100 ghcr.io/liuboacean/agent-comm-hub
Related MCP server: Agent MCP Gateway
💡 왜 필요한가?
여러 AI Agent(Claude Code, WorkBuddy, OpenClaw, Hermes 등)는 본질적으로 정보 고립(island) 상태입니다:
문제 | 기존 방식 | 왜 안 되는가 |
❌ Agent 간 통신 불가 | Webhook / 공유 파일 | 취약하고, 신뢰할 수 없으며, 수동 유지보수 |
❌ Agent 간 작업 스케줄링 불가 | 각자 싸움 | 조정하는 사람이 없어 작업 유실 |
❌ 컨텍스트 공유 불가 | 매 대화 처음부터 시작 | 팀 경험을 기억하지 못함 |
❌ 팀 진화 불가 | 각 Agent가 혼자 삽질 | 같은 문제를 반복해서 수정 |
**Agent Communication Hub(ACH)**는 이들의 공유 신경 중추입니다 — 메시지 버스 + 작업 스케줄러 + 팀 메모리 저장소 + 경험 진화 엔진.
🚀 3단계 시작
# 0. 安装 Python SDK(可选)
pip install agent-comm-hub
# 1. 启动 Hub(一行命令)
docker run -d -p 3100:3100 --name ach ghcr.io/liuboacean/agent-comm-hub
# 2. 注册 Agent
python3 -c "
from hub_client import SynergyHubClient
hub = SynergyHubClient('http://localhost:3100')
result = hub.register(invite_code='INVITE-001', name='my-agent')
hub.set_token(result['api_token'])
print(f'✅ Agent 注册成功,ID: {result[\"agent_id\"]}')
"
# 3. 发条消息试试
python3 -c "
from hub_client import SynergyHubClient
hub = SynergyHubClient('http://localhost:3100')
hub.set_token('your-token')
hub.send_message(to='other-agent', content='收到,任务完成。')
print('✅ 消息已发送')
"🔗 그런 다음 **http://localhost:3100/dashboard**를 열어 실시간 대시보드를 확인하세요
✨ 핵심 기능
📊 데이터 스냅샷
지표 | 값 |
MCP 도구 | 58개 |
Python SDK 메서드 | 68개 |
TypeScript SDK 메서드 | 35개 |
단위 테스트 | 288개 ✅ |
데이터베이스 테이블 | 32개 |
client-sdk 런타임 의존성 | 0(Python/TS 순수 표준 라이브러리) |
서버 런타임 의존성 | 5개 경량 의존성(express / better-sqlite3 / zod / eventsource / @modelcontextprotocol/sdk) |
메시지 지연 | < 50ms |
배포 방식 | Docker / npm / SkillHub |
🧩 기능 매트릭스
카테고리 | 도구 | 한 줄 설명 |
🔐 인증 | 6 | 등록 / 하트비트 / RBAC / 신뢰 점수 |
💬 메시지 통신 | 5 | P2P / 브로드캐스트 / FTS5 검색 / 중복 제거 |
📋 작업 스케줄링 | 8 | 7-상태 머신 / Pipeline / 병렬 그룹 |
🧠 공유 메모리 | 5 | 3단계 범위(비공개/팀/전역) |
🔀 오케스트레이션 | 11 | 의존성 체인 / 품질 게이트 / 작업 인계 |
📈 진화 엔진 | 12 | 경험 공유 / 정책 승인 / 신뢰 루프 |
🛡️ 보안 감사 | 6 | 해시 체인 감사 / 4단계 RBAC / CORS |
📎 파일 전송 | 3 | 업로드 / 다운로드 / 목록 |
🔧 고가용성 | 3 | DB 분할 감지 / 자동 병합 / 워치독 |
🖥️ 내장 웹 관리 패널
Hub를 시작한 후 **<http://localhost:3100/dashboard**를 열면> Agent 클러스터를 실시간으로 관리할 수 있습니다:
페이지 | 기능 |
개요 대시보드 | 온라인 Agent, Pipeline 상태, 메시지 처리량을 한눈에 확인 |
Agents | 모든 Agent 목록 확인(이름, 역할, 마지막 활성 시간, 신뢰 점수) |
메시지 처리량 | 5분 메시지량 + 제한된 Agent Top |
헬스 체크 | 버전 / 실행 시간 / DB 상태 / 백업 상태(로컬 + 원격) |
감사 로그 | 전체 작업 추적, 누가 언제 무엇을 했는지 |
순수 정적 HTML(프론트엔드 프레임워크 제로), 인라인 CSS+JS, 시작 즉시 사용 가능.
🏗️ 아키텍처
┌─────────────────────────────────┐
│ Agent Communication Hub │
│ localhost:3100 │
│ │
┌─────────┐ SSE/MCP │ ┌──────┐ ┌──────┐ ┌────────┐ │ SSE/MCP ┌─────────┐
│ Claude │◄─────────►│ │Auth │ │Msg │ │Memory │ │◄─────────►│WorkBuddy│
│ Code │ │ │RBAC │ │Bus │ │FTS5 │ │ │ │
└─────────┘ │ └──────┘ └──────┘ └────────┘ │ └─────────┘
│ ┌──────┐ ┌──────┐ ┌────────┐ │
┌─────────┐ │ │Task │ │Orch │ │Evol │ │ ┌─────────┐
│OpenClaw │◄─────────►│ │Sched │ │Str │ │Engine │ │◄─────────►│ Hermes │
└─────────┘ │ └──────┘ └──────┘ └────────┘ │ └─────────┘
└────────────┬────────────────────┘
│
┌──────▼──────┐ ┌─────────────┐
│ SQLite │ │ Web Panel │
│ (WAL 模式) │ │ /dashboard │
└─────────────┘ └─────────────┘🔧 SDK 빠른 시작
Python — 외부 의존성 제로
from hub_client import SynergyHubClient
hub = SynergyHubClient(hub_url="http://localhost:3100", agent_id="my-agent")
hub.set_token("your-api-token")
hub.send_message(to="other-agent", content="任务完成,交接。") # 发消息
hub.store_memory(content="用户偏好 JSON", scope="collective") # 存记忆
task = hub.create_task(title="评审 PR #42", assignee="claude-code") # 派任务
hub.share_experience(title="修复方案", content="...", category="debug") # 分享经验
hub.on_message = lambda msg: print(f"收到: {msg}")
hub.connect_sse() # 实时监听TypeScript — 외부 의존성 제로
import { AgentClient } from "./client-sdk/agent-client.js";
const client = new AgentClient({
agentId: "my-agent",
hubUrl: "http://localhost:3100",
token: "your-api-token",
onMessage: async (msg) => { /* 处理消息 */ },
onTaskAssigned: async (task) => { /* 处理任务 */ },
});
await client.start();
await client.sendMessage({ to: "other-agent", content: "搞定了!" });🆚 다른 솔루션 비교
기능 | ACH | 자체 Webhook | 공유 데이터베이스 | 메시지 큐(RabbitMQ) |
5분 배포 | ✅ | ❌ | ❌ | ❌ |
MCP 네이티브 지원 | ✅ | ❌ | ❌ | ❌ |
공유 메모리 + FTS5 검색 | ✅ | ❌ | ❌ | ❌ |
작업 스케줄링 + Pipeline | ✅ | ❌ | ❌ | ❌ |
진화 엔진(경험 재사용) | ✅ | ❌ | ❌ | ❌ |
내장 웹 패널 | ✅ | ❌ | ❌ | ❌ |
감사 해시 체인 | ✅ | ❌ | ❌ | ❌ |
외부 서비스 제로 | ✅ | ✅ | ✅ | ❌ |
Python + TS SDK | ✅ | ❌ | ❌ | ❌ |
📦 배포 방식
🐳 Docker(권장, 원클릭 시작)
docker run -d -p 3100:3100 --name ach ghcr.io/liuboacean/agent-comm-hub📦 Docker Compose(Prometheus + Grafana 모니터링 포함)
cd deploy/
docker compose up -d
# Hub: http://localhost:3100 | Grafana: http://localhost:3000 (admin/admin)🔧 소스 설치
git clone https://github.com/liuboacean/agent-comm-hub.git
cd agent-comm-hub
npm install && npm run build
npm start # 生产模式
# 或 npm run dev # 开发模式🎯 Skill로 설치
# ClawHub
claw install agent-comm-hub
# SkillHub(30+ 平台)
skillhub install agent-comm-hub⚠️ Node 버전 요구사항(중요)
이 프로젝트는 네이티브 모듈 better-sqlite3에 의존하며, 이는 Node 22(NODE_MODULE_VERSION 127)로 컴파일되었습니다. 따라서:
🔒 Hub 실행(
dist/src/server.js또는dist/src/stdio.js)은 반드시 Node 22로 시작해야 합니다. Node 24(또는 그 이상)를 사용하면 ABI 불일치로 즉시ERR_DLOPEN_FAILED가 발생하여 시작할 수 없습니다.🧪 CI의 Node 24는 단위 테스트에만 사용됩니다(stdio 시작 관련 스모크 테스트는 조건부
skip처리됨). 실행 환경은 반드시 Node 22(<23, better-sqlite3 네이티브 ABINODE_MODULE_VERSION 127요구)여야 하며,package.json의engines.node는">=22 <23"으로 선언되어 있습니다. Node 24로 서비스를 실행하지 마세요. 그렇지 않으면better-sqlite3이 ABI 불일치로ERR_DLOPEN_FAILED를 발생시키며 시작 시 크래시됩니다.✅ 권장 방법: 버전 관리자로 Node 22를 고정하거나(예:
nvm use 22), 시작 스크립트/hub 구성에 Node 22 바이너리 절대 경로를 명시적으로 지정하세요.
🔌 Agent에 MCP 구성
Stdio(권장)
{
"mcpServers": {
"agent-comm-hub": {
"command": "/path/to/node22/bin/node",
"args": ["dist/src/stdio.js"],
"env": { "HUB_AUTH_TOKEN": "your-key", "DB_PATH": "./comm_hub.db" }
}
}
}⚠️ 반드시 Node 22 바이너리로 시작해야 합니다(예: 절대 경로
/path/to/node22/bin/node), Node 24를 사용하지 마세요. 이 프로젝트의 네이티브 모듈better-sqlite3은 Node 22(NODE_MODULE_VERSION 127)로 컴파일되었으며, Node 24로dist/src/stdio.js또는dist/src/server.js를 시작하면 즉시ERR_DLOPEN_FAILEDABI 크래시가 발생합니다.
HTTP + SSE
{
"mcpServers": {
"agent-comm-hub": { "url": "http://localhost:3100/mcp" }
}
}🛡️ 보안 체계
계층 | 조치 |
인증 | Token + SHA-256 해시 저장, 원본 Token은 디스크에 저장되지 않음 |
권한 부여 | 4단계 RBAC: public → member → group_admin → admin |
감사 | 블록체인식 해시 체인 |
신뢰 | 자동 점수, 0-100점이 정책 승인 등급에 영향 |
네트워크 | CORS 화이트리스트 / X-Frame-Options / CSP / HSTS |
📁 프로젝트 구조
agent-comm-hub/
├── web/dist/index.html # Web 管理面板(零前端框架)
├── src/ # 核心源码(TypeScript)
│ ├── server.ts # Express + SSE + MCP 入口
│ ├── db.ts # SQLite WAL 数据库
│ ├── backup.ts # 自动备份模块
│ ├── identity.ts # 注册 / 心跳 / RBAC
│ ├── memory.ts # 三级记忆 + FTS5 搜索
│ ├── orchestrator.ts # 依赖链 / Pipeline
│ ├── evolution.ts # 经验共享 / 策略审批
│ └── security.ts # Token / 审计 / CORS
├── client-sdk/
│ ├── hub_client.py # Python SDK(68 方法,零依赖)
│ └── agent-client.ts # TypeScript SDK(35 方法)
├── deploy/ # Docker Compose + 监控
├── tests/ # 288 个测试
└── docs/ # 完整文档📚 문서 내비게이션
문서 | 대상 |
개발자(HTTP/SSE/MCP 엔드포인트 + Bearer 인증) | |
Pipeline을 구축하는 고급 사용자 | |
진화 엔진 가이드 | 실험적, PR 환영(A 레이어 |
Hermes 통합 가이드 | 실험적, PR 환영(A 레이어 |
운영/안정성 보장 | |
「작업이 A에서 B로 완전 자동으로 흐르고, 어디서 HITL이 걸리는지」를 알고 싶은 사람 | |
English speakers |
📌 문서 동기화 설명(B 레이어가 권위 소스): 서버 저장소(
agent-comm-hub-src)가 문서의 단일 권위 소스입니다. 현재package.json의docs:sync스크립트는scripts/sync-docs.ts에 의존하지만, 해당 파일은 아직 제공되지 않았습니다. 따라서 A 레이어 Skill 배포 패키지(~/.workbuddy/skills/agent-comm-hub/)는 수동 동기화가 필요합니다: 이 저장소의docs/,SKILL.md,README.md를 A 레이어의 해당 위치에 복사하세요. 추후scripts/sync-docs.ts가 추가되면npm run docs:sync로 자동 동기화할 수 있습니다.
🆕 업데이트 내역
⚡ 실제 호스트 실행기(HostExecutor) —
client-sdk/adapters/host-executor.ts추가,LlmHostExecutor/HttpHostExecutor참조 구현 제공,defaultHostExecutor()가 환경 변수에 따라 자동 선택;AbstractHostTaskBridge에 주입 가능한executor필드 추가🔧 setTimeout 자리표시자 제거 — WorkBuddy / Hermes 브리지
runTask()가this.executor.execute()에 위임, 작업 도착 즉시 호스트 실제 능력 트리거, 자율 실행 루프가 진정으로 연결됨📝 문서 —
docs/HOST_INTEGRATION.md§4 재작성, HostExecutor 주입 모델과 사용자 정의 실행기 예제 포함
🤖 기능 A: Agent 자율 실행 루프 —
AgentRuntime(client-sdk/runtime.ts) 추가,in_progress → execute() → completed/failed자동 구동, inFlight 중복 제거 / 크래시 복구 / loopGuard 포함, 수동「전달」제거🔐 기능 B: 인간 개입 승인 큐 — 작업 수준 승인 추가(
auth_requests테이블 +request_authorization/resolve_authorization도구, deny-by-default, TTL 10분) + 웹AuthQueue패널, 민감 작업 원클릭 승인/거부🧹 오래된 산출물 정리 —
client-sdk/아래 5월의 오래된 컴파일.js3개(agent-client.js/hermes-integration.js/workbuddy-integration.js) 및 해당.map제거,client-sdk/package.json엔트리 참조 수정
🟢 온라인 상태 통일 판정 —
isAgentOnline()추가 = (SSE 실시간 연결 존재) 또는 (하트비트 90초 이내);get_online_agents, 작업 배정 후보 정렬,/health/detailed,/api/agents, 지표 모두 통일 판정으로 변경, SSE 연결 시 온라인으로 간주되어 작업 배정 가능💓 하트비트 모니터링이 SSE 온라인 Agent를 오판하지 않음 — SSE 연결이 유지되는 Agent는 하트비트가 오래되어도 오프라인으로 잘못 표시되지 않고, 오프라인 알림도 브로드캐스트하지 않음; SSE 연결 수립 시
agents.status즉시 동기화🗂️
audit_log행 수 상한 자동 아카이브 —AUDIT_LOG_MAX_ROWS(기본 3000, env 조정 가능) 초과 시 가장 오래된 초과 행을audit_log_archive에 자동 미러링(WORM 안전, 원본 테이블 삭제 안 함); 시작 시 실행 + 매시간 유지보수 스케줄러 추가📦 백업 경로 안정화 —
backup.ts의BACKUP_DIR이process.cwd()/backups(휘발성 workspace)에서~/agent-comm-hub/backups로 변경, launchd 백업 스크립트와 동일 디렉터리,BACKUP_DIR오버라이드 지원
🔌 P1-1 SSE 재연결 경합 —
registerClient/removeClient에 연결 수준connId검증 추가, 이전 socket의close가 현재 실시간 연결을 잘못 삭제하지 않음, 재연결 후 메시지/작업이 조용히 유실되지 않음💾 P1-2 동시 쓰기
SQLITE_BUSY—busy_timeout=5000+foreign_keys+ WAL 자동 체크포인트, 동시 쓰기 시 조용한 데이터 유실 제거🛡️ P1-3 속도 제한 우회 — 인증 전 단일 IP / 전역 속도 제한(토큰 무차별 대입 및 인증되지 않은
/mcp리소스 고갈 방지);/mcp에 동시 진행 중 상한 추가(기본 50)로 DoS 방지🔍 P1-4/5 FTS 값 충돌 —
memories_fts에memory_id정확한 연관 키 추가(시작 시 이전 테이블 마이그레이션), 내용이 같은 두 메모리가 서로 혼동되지 않음🔐 P2 품질 — 신뢰 점수는
target열 기준으로 회수 계산(관리자 오차감 없음); 보호된 엔드포인트는Bearer만 허용,?token=및x-api-key토큰 노출 표면 제거
🏗️ 빌드 산출물 고정 —
dist/package.json생성 시build스크립트와 시작 스크립트 작성, 「설치 즉시 크래시」제거(version.ts시작 시../package.json의존)
📝 문서 도구 수를 58로 통일 —
src/security.ts의TOOL_PERMISSIONS매트릭스와 일치, README/SKILL.md에 남아 있던 56/53 수정📚
docs/API_REFERENCE.md신규 작성 — 정확한 HTTP/SSE/MCP 엔드포인트 빠른 참조(Bearer 인증 및 SSELast-Event-ID끊김 재연결 포함); README의 죽은 링크 3곳 수정🏷️ SKILL.md 파일 전송 도구 이름 수정 —
send_file/receive_file→upload_file/download_file
🔒 ClawScan 감사 67건 발견 수정 — fail-closed 권한 매트릭스 + stdio 필수 인증
🛡️ IDOR 객체 수준 권한 부여 강화 —
assertOwns+HUB_2004권한 없는 접근 방지🧩 버전 단일 진실 공급원 —
src/version.ts추출;/health통합
📄 중영문 README 동기화 — v2.5.1 정렬(Node 22 제약 잠금 + 테스트 수)
🧹 테스트 위생 — 단위 테스트가 저장소 루트에
undefined*임시 파일을 생성하는 문제 수정
🐛
get_db_stats수정 — ESM 모듈에서require("fs")오용으로require is not defined발생,import * as fs로 변경🔄 DB 경로 내결함성 —
resolveDbPath에 빈 데이터베이스 자동 폴백 추가, 빈 데이터베이스 오연결로 인한 메모리/진화 엔진 "데이터 손실" 오인 수정🔒 Node 22 잠금 — 시작 스크립트를 Node 22로 고정, better-sqlite3 네이티브 모듈과 일치(Node 24에서 ABI 충돌)
🧪 보호 테스트 — stdio/Hub가 반드시 Node 22를 사용해야 한다는 계약 테스트 추가, Node 24로 되돌려지는 것 방지
🧹 테스트 위생 — 단위 테스트가 저장소 루트에
undefined*임시 파일을 생성하는 문제 수정(isValidDbPath가드)
🖥️ 웹 관리 패널 — 순수 정적 HTML 대시보드, 실시간 페이지 6개
🔄 온라인 상태 개선 — 이진 레이블 → 마지막 활동 시간, 더 이상 점프하지 않음
📦 백업 모듈 — 로컬 + 원격 rsync 백업 상태 표시
⏱️ 지속적 가동 시간 — 재시작해도 초기화되지 않음
📊 새 API —
GET /api/agents🔧
.gitignore정리 — 추적된 빌드 산출물 제거
🔍 FTS5 태그 토큰화 수정(JSON 대신 공백 연결)
📊 조용한 예외 삼킴 12건 → logError 전체 체인 가시성 확보
🔐
authed()통합 인증 미들웨어 리팩터링
🔒 FTS5 인덱스가 각 저장 후 자동 검증
🛣️
HUB_ROOT환경 변수 지원📨
generate_invite초대 코드 도구 신규 추가🧪 테스트 사례 19개 신규 추가
🤝 기여하기
📄 라이선스
MIT — 개인 및 상업용 무료 사용 가능.
Available Tools
58 toolsaccept_handoffA
接受任务交接。只有被请求的 target Agent 可以调用。接受后任务 assigned_to 转移到当前 Agent。
Inputs: task_id (required).
acknowledge_messageA
标记消息为已处理(acknowledged)。调用此工具后该消息不会再出现在未处理消息列表中。Hermes 处理完 WorkBuddy 发来的消息并回复后,必须调用此工具。
Inputs: agent_id (required), message_id (required).
activate_agentA
激活一个已注册的 Agent(registered/suspended → active)。已激活再激活幂等。
Inputs: agent_id (required).
add_dependencyA
添加任务依赖关系。下游任务必须等上游任务完成后才能开始。自动进行环检测。添加后下游任务自动进入等待状态。
Inputs: upstream_id (required), downstream_id (required), dep_type.
add_quality_gateA
在 Pipeline 中添加质量门。质量门在指定 order_index 之后阻塞后续任务,直到评估通过。criteria 为 JSON 格式的检查规则。
Inputs: criteria (required), gate_name (required), after_order (required), pipeline_id (required).
add_task_to_pipelineA
将任务添加到 Pipeline。指定任务在 Pipeline 中的顺序。不传 order_index 则自动追加到末尾。
Inputs: task_id (required), pipeline_id (required), order_index.
apply_strategyA
采纳一个已审批的策略。记录到策略应用记录中,apply_count 自增。
Inputs: strategy_id (required), context.
approve_strategyA
审批策略(approve/reject)。仅 admin 可调用。审批后通过 SSE 通知提议者。
Inputs: action (required), reason (required), strategy_id (required).
archive_dataA
手动触发数据归档。将指定天数之前的记录从主表移入归档表,以减少主表体积。可归档 messages(默认 30 天前)或 audit_log(默认 90 天前)。仅 admin 可调用。
Inputs: type (required), days, vacuum.
assign_taskC
将任务分配给另一个 Agent。对方收到 task_assigned 事件后会自主开始执行,无需人工确认。
Inputs: to (required), from (required), description (required), context, +1 more.
batch_acknowledge_messagesA
批量确认消息为已处理。可按 agent_id 和时间范围筛选,将匹配的未确认消息全部标记为 acknowledged。用于清理消息积压。
Inputs: agent_id (required), after, limit, before, +2 more.
broadcast_messageA
向多个 Agent 广播消息,适用于任务协调、状态同步、紧急通知。
Inputs: from (required), content (required), agent_ids (required), metadata.
check_consumedA
查询某资源是否已被当前 Agent 处理过。在处理 WorkBuddy 发来的文件或信号前,先调用此工具检查,已处理的直接跳过。
Inputs: agent_id (required), resource (required).
check_veto_windowA
检查策略的否决窗口状态。处于 48h 否决窗口内的策略,如果负面反馈超过正面反馈的 50%,可被 admin 撤回。
Inputs: strategy_id (required).
create_parallel_groupA
将多个任务标记为并行组。同一并行组内的任务可以同时执行,无需等待其他任务完成。适用于无依赖关系的同层任务。
Inputs: task_ids (required).
create_pipelineA
创建一个新的 Pipeline(任务流水线)。Pipeline 是任务的有序容器,可添加质量门进行阶段性质量检查。
Inputs: name (required), description.
deactivate_agentA
挂起一个活跃 Agent(active → suspended)。已挂起再挂起幂等。
Inputs: agent_id (required).
delete_memoryA
删除一条记忆。仅能删除自己的私有记忆(admin 可删除任何记忆)。
Inputs: memory_id (required).
download_fileB
下载附件,返回 Base64 编码的文件内容。
Inputs: attachment_id (required).
evaluate_quality_gateA
评估质量门(通过/失败)。质量门失败时,Pipeline 中阻塞的后续任务自动进入 waiting 状态。
Inputs: status (required), gate_id (required), result.
feedback_strategyB
对策略提供反馈(正面/负面/中性)。每个 Agent 对每个策略只能反馈一次(防刷)。
Inputs: feedback (required), strategy_id (required), applied, comment.
generate_inviteA
生成新 Agent 邀请码。仅 admin 可调用。邀请码默认 24 小时后过期。
Inputs: role, expires_in_hours.
get_db_statsA
获取数据库统计信息。包括各表行数、数据库文件大小、WAL 大小、最后归档时间等。仅 admin 可调用。
Inputs: no named parameters.
get_evolution_statusA
查看 Evolution Engine 进化指标统计。包含经验数、策略数、审批率、贡献者排名等。
Inputs: no named parameters.
get_online_agentsA
查询当前通过 SSE 在线连接的 Agent 列表,分配任务前可先确认对方在线。
Inputs: no named parameters.
get_pipelineA
查询 Pipeline 状态和进度。返回 Pipeline 信息、关联任务列表及各状态统计。
Inputs: pipeline_id (required).
get_task_dependenciesA
查询任务的上下游依赖关系。返回依赖图,包含每个关联任务的状态和依赖类型。
Inputs: task_id (required).
get_task_statusA
查询任务的当前状态、进度和执行结果。
Inputs: task_id (required).
heartbeatA
上报 Agent 心跳,维持在线状态并累积信任分。Agent 上线后应每 30 秒调用一次。超过 90 秒无心跳将自动标记为离线。连续在线心跳每 3 次自动增加 1 点 trust_score(上限 100)。
Inputs: agent_id (required).
list_attachmentsB
列出消息的所有附件列表。
Inputs: message_id (required).
list_memoriesA
列出可访问的记忆列表。按创建时间倒序排列。可按 scope 筛选。
Inputs: limit, scope, offset.
list_pipelinesB
列出所有 Pipeline。支持按状态筛选,按创建时间倒序排列。
Inputs: limit, status.
list_strategiesB
查询策略/经验列表。支持按状态、分类、提议者筛选。
Inputs: limit, status, category, proposer_id.
mark_consumedA
记录 Agent 已处理某个资源(文件路径或信号 ID)。处理完 WorkBuddy 发来的任何文件或信号后必须调用,防止下次重复处理。
Inputs: action (required), agent_id (required), resource (required), notes, +1 more.
pause_pipelineA
暂停一个活跃 Pipeline(active → paused)。已暂停再暂停幂等。
Inputs: pipeline_id (required).
propose_strategyA
提议一个策略。策略需 admin 审批后才能被其他 Agent 搜索和采纳。Hub 会自动判定敏感级别。
Inputs: title (required), content (required), category (required), task_id.
propose_strategy_tieredB
提议策略(分级审批)。Hub 自动判定审批等级:auto(自动通过+72h观察窗口)、peer(同行审批)、admin(管理员审批)、super(高风险,需人工审批)。返回判定等级和审批状态。
Inputs: title (required), content (required), category (required), task_id.
query_agentsB
查询已注册的 Agent 列表。支持按状态、角色筛选。
Inputs: role, status, capability.
recalculate_trust_scoresA
手动触发信任评分重算。基于多因子自动计算:verified capabilities (+3)、approved strategies (+2)、positive feedback (+1)、negative feedback (-2)、rejected applications (-3)、revoked tokens (-10)。不传 agent_id 则重算全部。仅 admin 可调用。
Inputs: agent_id.
recall_memoryA
通过关键词全文搜索召回记忆。搜索范围包括自己的私有记忆、组内共享记忆和全局记忆。使用 FTS5 引擎,支持多关键词、短语搜索。
Inputs: query (required), limit, scope.
register_agentA
注册新 Agent 到 Hub。需要有效的邀请码。注册成功返回 agent_id 和 api_token(仅显示一次)。
Inputs: name (required), invite_code (required), capabilities.
reject_handoffA
拒绝任务交接。只有被请求的 target Agent 可以调用。拒绝后交接请求取消。
Inputs: task_id (required), reason.
remove_dependencyA
删除任务依赖关系。删除后自动检查下游任务是否可以开始执行。
Inputs: upstream_id (required), downstream_id (required).
request_handoffB
请求任务交接。将任务转交给另一个 Agent。目标 Agent 需要调用 accept_handoff 或 reject_handoff。只有负责人或创建者可以发起交接。
Inputs: task_id (required), target_agent_id (required).
resume_pipelineA
恢复一个暂停的 Pipeline(paused → active)。已激活再恢复幂等。
Inputs: pipeline_id (required).
revoke_tokenA
吊销 API Token,使其立即失效。仅 admin 可调用。
Inputs: token_id (required).
score_applied_strategiesA
自动评分已采纳策略:将 7 天前采纳但仍为 neutral 反馈的策略降为 negative。应定期调用。
Inputs: no named parameters.
search_memoriesB
全文搜索记忆内容。使用 FTS5 引擎,支持多关键词、短语搜索。可按可见范围和标签筛选。
Inputs: query (required), tags, limit, scope, +1 more.
search_messagesA
全文搜索消息内容。支持按 Agent ID 筛选。使用 SQL LIKE 模糊匹配(暂无 FTS5 索引)。
Inputs: query (required), limit, agent_id.
search_strategiesA
通过关键词全文搜索策略和经验。仅返回已审批(approved)的策略。
Inputs: query (required), limit, category.
send_messageA
向另一个 Agent 发送即时消息。对方在线时实时送达(<50ms),离线时持久化存储,上线后自动补发。
Inputs: to (required), from (required), content (required), type, +1 more.
set_agent_roleA
设置 Agent 角色(admin/member/group_admin)。group_admin 需指定 managed_group_id,仅能管理该 parallel_group 内成员的任务。仅 admin 可调用。
Inputs: role (required), agent_id (required), managed_group_id.
set_trust_scoreA
调整 Agent 信任分(-100 到 +100 的增量)。信任分影响 collective 记忆搜索排序,高信任 Agent 的记忆排名靠前。仅 admin 可调用。
Inputs: delta (required), agent_id (required).
store_memoryA
存储一条记忆到 Hub。支持 private(仅自己可见)、group(组内可见)、collective(全局可见)三种范围。存储后可通过 recall_memory 全文搜索召回。
Inputs: content (required), tags, scope, title, +1 more.
update_task_statusA
更新任务执行状态,自动实时通知发起方。支持中途汇报进度(in_progress + progress)。
Inputs: status (required), task_id (required), agent_id (required), result, +1 more.
upload_fileB
上传文件附件并关联到消息。文件以 Base64 编码传入,服务端解码后存储到本地磁盘。
Inputs: filename (required), message_id (required), content_base64 (required), mime_type.
veto_strategyA
撤回处于否决窗口内的策略(admin only)。仅在负面反馈超过正面反馈 50% 时可用。
Inputs: reason (required), strategy_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 58 tools
Many tools have distinct purposes (e.g., propose_strategy vs share_experience, store_memory vs recall_memory), but there is notable overlap between search_memories and recall_memory (both are FTS5 full-text search), and between get_task_status and update_task_status (one is status query, one is status update but names are close). Also, propose_strategy and propose_strategy_tiered are nearly identical in purpose, differing only in approval process, which could cause confusion despite descriptions clarifying slightly.
Most tool names follow a clear verb_noun pattern (e.g., accept_handoff, get_task_status, create_pipeline, activate_agent). There are minor deviations: 'check_consumed' vs 'mark_consumed' are consistent, but 'get_db_stats' is a bit non-standard (could be 'get_database_stats'), and 'score_applied_strategies' mixes an adjective into the noun phrase. However, the overall consistency is high.
58 tools is far beyond the typical 3-15 range. The server covers a wide domain (agent management, messaging, memory, strategies, tasks, pipelines, attachments, admin), but the count is excessive and likely overwhelms an agent's tool selection. Many tools are variants (e.g., 5 pipeline-related tools) that could be consolidated, but 58 is still a heavy load.
The tool set covers the core lifecycle for all its domains: agent registration/activation/deactivation, messaging with ack processing, memory CRUD and search, strategy proposal/approval/feedback, task assignment/status/dependencies, pipeline creation/management, and file attachments. Minor gaps exist: no direct way to delete a message, no audit log query, and no tool to explicitly list consumed resources (only check_consumed for a specific one), but agents can work around these.
Maintenance
Related MCP Connectors
Messaging network for AI agents: talk to other people's agents over MCP. Free forever.
Free social platform for AI agents — boards with tool-call receipts; MCP server + REST API.
MCP-first toolbox for agents: KV storage, auth, queue, and utility tools. Free in early access.
- aXDeprecatedio.github.ax-platform
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables deployment of autonomous AI agents with memory and tool execution capabilities through a WebSocket-based MCP protocol. Provides production-ready infrastructure with REST API access, persistent state management, and extensible function registry for building self-hosted AI systems.-
- AlicenseAqualityDmaintenanceProvides per-Subagent MCP controls to any coding agent or client across all your MCPs and prevents context window waste. Loads only 3 tools instead of all your MCP Server's tool definitions. Agents discover tools on-demand, only when needed and only the servers and tools they are allowed.489 PyPI42MIT
- AlicenseNot gradedqualityBmaintenanceOpen-source MCP server for collaborative AI agents, providing a shared mailbox, identity model, and notification fabric.3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to share knowledge, coordinate tasks, and maintain persistent memory across distributed infrastructure with secure vaults and 130+ MCP tools.7MIT