antfarm-workflowsMulti-agent workflow orchestration for OpenClaw. Use when user mentions antfarm, asks to run a multi-step workflow (feature dev, bug fix, security audit), or...
Install via ClawdBot CLI:
clawdbot install YonghaoZhao722/antfarm-workflowsMulti-agent workflow pipelines on OpenClaw. Each workflow is a sequence of specialized agents (planner, developer, verifier, tester, reviewer) that execute autonomously via cron jobs polling a shared SQLite database.
All CLI commands use the full path to avoid PATH issues:
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js <command>
Shorthand used below: antfarm-cli means node ~/.openclaw/workspace/antfarm/dist/cli/cli.js.
| Workflow | Pipeline | Use for |
|----------|----------|---------|
| feature-dev | plan -> setup -> develop (stories) -> verify -> test -> PR -> review | New features, refactors |
| bug-fix | triage -> investigate -> setup -> fix -> verify -> PR | Bug reports with reproduction steps |
| security-audit | scan -> prioritize -> setup -> fix -> verify -> test -> PR | Codebase security review |
# Install all workflows (creates agents + starts dashboard)
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js install
# Full uninstall (workflows, agents, crons, DB, dashboard)
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js uninstall [--force]
# Start a run
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow run <workflow-id> "<detailed task with acceptance criteria>"
# Check a run
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow status "<task or run-id prefix>"
# List all runs
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow runs
# Resume a failed run from the failed step
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow resume <run-id>
# View logs
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js logs [lines]
# Dashboard
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js dashboard [start] [--port N]
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js dashboard stop
The task string is the contract between you and the agents. A vague task produces bad results.
Always include in the task string:
Get the user to confirm the plan and acceptance criteria before running.
To skip the 15-min cron wait, use the cron tool with action: "run" and the agent's job ID. List crons to find them — they're named antfarm/.
# List available workflows
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow list
# Install/uninstall individual workflows
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow install <name>
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow uninstall <name>
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js workflow uninstall --all [--force]
See {baseDir}/../../docs/creating-workflows.md for the full guide on writing workflow YAML, agent workspaces, step templates, and verification loops.
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step claim <agent-id> # Claim pending step
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step complete <step-id> # Complete step (output from stdin)
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step fail <step-id> <error> # Fail step with retry
node ~/.openclaw/workspace/antfarm/dist/cli/cli.js step stories <run-id> # List stories for a run
Generated Mar 1, 2026
An agency managing multiple client projects can use Antfarm Workflows to automate feature development and bug fixes. The multi-agent pipeline handles planning, coding, verification, and review autonomously, reducing manual oversight and ensuring consistent delivery timelines. This is ideal for agencies needing scalable, repeatable workflows across diverse tech stacks.
An e-commerce company can deploy Antfarm Workflows for routine security audits and bug fixes to maintain platform stability. The security-audit workflow scans code for vulnerabilities, prioritizes issues, and automates fixes, helping comply with PCI DSS standards. This reduces downtime and enhances customer trust through proactive security measures.
A fintech startup can leverage Antfarm Workflows to streamline feature development and compliance checks. The feature-dev workflow autonomously handles planning, implementation, and verification, ensuring code meets regulatory requirements like GDPR. This accelerates product iterations while maintaining high security and reliability standards.
A healthcare provider can use Antfarm Workflows to manage bug fixes and updates for patient management systems. The bug-fix workflow triages issues, investigates root causes, and deploys fixes with verification, minimizing disruption to critical services. This supports HIPAA compliance by automating secure, auditable change processes.
Offer Antfarm Workflows as a managed service with tiered subscriptions for different workflow capacities and support levels. Revenue comes from monthly fees based on the number of concurrent runs, agents, or integrations. This model appeals to small to medium-sized businesses seeking cost-effective automation without upfront infrastructure costs.
Sell perpetual licenses or annual contracts to large enterprises for on-premises deployment of Antfarm Workflows. Revenue includes upfront licensing fees, customization services, and ongoing maintenance support. This model targets organizations with strict data governance needs or high-volume workflow requirements.
Provide consulting services to help clients design, implement, and customize Antfarm Workflows for specific use cases. Revenue is generated through project-based fees, training workshops, and ongoing optimization support. This model complements the core tool by addressing complex integration needs in industries like finance or healthcare.
💬 Integration Tip
Integrate Antfarm Workflows by setting up cron jobs and a shared SQLite database as per the CLI commands; ensure task strings include detailed acceptance criteria to guide autonomous agents effectively.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection