返回顶部
a

antfarm-workflows蚁群工作流

Multi-agent workflow orchestration for OpenClaw. Use when user mentions antfarm, asks to run a multi-step workflow (feature dev, bug fix, security audit), or wants to install/uninstall/check status of antfarm workflows.

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

antfarm-workflows

Antfarm

基于OpenClaw的多智能体工作流管道。每个工作流由一系列专业智能体(规划者、开发者、验证者、测试者、审查者)组成,通过轮询共享SQLite数据库的cron作业自主执行。

所有CLI命令均使用完整路径以避免PATH问题:

bash
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js

下文简写:antfarm-cli 表示 node ~/.openclaw/workspace/antfarm/dist/cli/cli.js。

工作流

工作流管道用途
feature-dev规划 -> 搭建 -> 开发(故事) -> 验证 -> 测试 -> PR -> 审查新功能、重构
bug-fix
分类 -> 调查 -> 搭建 -> 修复 -> 验证 -> PR | 带有复现步骤的Bug报告 | | security-audit | 扫描 -> 优先级排序 -> 搭建 -> 修复 -> 验证 -> 测试 -> PR | 代码库安全审查 |

核心命令

bash

安装所有工作流(创建智能体 + 启动仪表盘)


node ~/.openclaw/workspace/antfarm/dist/cli/cli.js install

完全卸载(工作流、智能体、cron任务、数据库、仪表盘)

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js uninstall [--force]

启动一次运行

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow run <带有验收标准的详细任务>

检查运行状态

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow status <任务或运行ID前缀>

列出所有运行

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow runs

从失败步骤恢复运行

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow resume

查看日志

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js logs [lines]

仪表盘

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js dashboard [start] [--port N] node ~/.openclaw/workspace/antfarm/dist/cli/cli.js dashboard stop

启动运行前

任务字符串是您与智能体之间的契约。模糊的任务会产生糟糕的结果。

任务字符串中始终包含:

  1. 1. 要构建/修复的内容(具体而非模糊)
  2. 关键技术细节和约束条件
  3. 验收标准(复选框)

在运行前让用户确认计划和验收标准。

工作原理

  • - 智能体拥有cron作业(每15分钟,错开执行),轮询待处理步骤
  • 每个智能体认领其步骤,完成工作,标记完成,推进下一步
  • 上下文通过智能体输出中的KEY: value键值对在步骤间传递
  • 无中央协调器——智能体自主运行

强制触发智能体

要跳过15分钟的cron等待,使用带有 action: run 和智能体作业ID的 cron 工具。列出cron任务即可找到它们——命名格式为 antfarm//

工作流管理

bash

列出可用工作流


node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow list

安装/卸载单个工作流

node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow install node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow uninstall node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow uninstall --all [--force]

创建自定义工作流

关于编写工作流YAML、智能体工作空间、步骤模板和验证循环的完整指南,请参阅 {baseDir}/../../docs/creating-workflows.md。

智能体步骤操作(由智能体cron作业使用,通常不手动执行)

bash
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step claim # 认领待处理步骤
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step complete # 完成步骤(从标准输入输出)
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step fail # 步骤失败并重试
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step stories # 列出运行的故事

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 antfarm-workflows-1776419941 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 antfarm-workflows-1776419941 技能

通过命令行安装

skillhub install antfarm-workflows-1776419941

下载

⬇ 下载 antfarm-workflows v1.0.0(免费)

文件大小: 2.19 KB | 发布时间: 2026-4-17 20:03

v1.0.0 最新 2026-4-17 20:03
Initial release of antfarm-workflows: multi-agent workflow orchestration for OpenClaw.

- Launches autonomous, cron-driven workflow pipelines (feature dev, bug fix, security audit) using specialized agents.
- Provides CLI for workflow management: install/uninstall, run workflows, check status, logs, and dashboard access.
- Workflows and steps are fully automated via staggered cron jobs; agents operate independently and coordinate via a shared SQLite database.
- Includes documentation for best practices, custom workflow creation, and advanced management commands.

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

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

p2p_official_large
返回顶部