hermes-agent多智能体协同
创建单一职责智能体
# 列出所有智能体
hermes profile list
# 创建 一个 后端编码 智能体
hermes profile create code-backend-worker --clone-from park-smart
# 创建 一个 前端编码 智能体
hermes profile create code-frontend-worker --clone-from park-smart
# 创建 一个 测试 智能体
hermes profile create code-test-worker --clone-from park-smart
# 创建 一个 代码审查 智能体
hermes profile create code-review-worker --clone-from park-smart
# 创建 数字员工 编排者
hermes profile create code-robot-master --clone-from park-smart
定义每个智能体角色
# 定义 后端编码 智能体角色
hermes profile describe code-backend-worker --text "后端开发专家:负责API设计、数据库模型、服务端逻辑。擅长Java/Python/FastAPI/Go/Node.js。"
# 定义 前端编码 智能体角色
hermes profile describe code-frontend-worker --text "前端开发专家:负责UI组件、页面布局、前端交互。擅长React/Vue/HTML/CSS/TypeScript。"
# 定义 测试 智能体角色
hermes profile describe code-test-worker --text "测试专家:负责单元测试、集成测试、测试策略。擅长pytest/Jest/Cypress。"
# 定义 代码审查 智能体角色
hermes profile describe code-review-worker --text "代码审查专家:负责审查代码质量、安全性、规范合规性。"
# 定义 编排着 智能体角色
hermes profile describe code-robot-master --text "项目编排者:负责需求分析、任务拆分、Kanban任务分配和进度管理。不直接写代码。"
使用kanban
# 启动gateway
hermes gateway start
# 看所有任务状态
hermes kanban list
# 看某个任务的详细输出(比如 T1 完成了什么)
hermes kanban show t_3bf1276e
# 持续监控(类似 tail -f)
hermes kanban tail t_4b15431d
# 统计信息
hermes kanban stats
开始工作
# 打开调度智能体
cd /mnt/d/hermes-data/project-root
# 在项目根目录创建
echo "" > AGENTS.md
# 像定义其他智能体那样在 AGENTS.md 定义内容
# 启动调度智能体
hermes -p code-robot-master
# 开始对话