Antfarm: Multi-Agent Coding Teams in One Command
Most multi-agent frameworks want you to set up Docker, Redis, and Kafka. Antfarm runs entirely inside OpenClaw with zero infrastructure.
Most multi-agent frameworks want you to learn their whole ecosystem. Install Docker. Set up Redis. Configure Kafka. Write Python graphs.
Antfarm takes a different approach: one command, zero infrastructure, and it runs inside your existing OpenClaw setup.
Here's what that actually means—and why it matters.
Antfarm is a multi-agent workflow system that runs entirely inside OpenClaw. One install command gives you a team of 6-7 AI agents that can ship PRs, fix bugs, and run security audits—all with deterministic, repeatable workflows.
The Problem With Current Multi-Agent Frameworks
I've used CrewAI. I've used AutoGen. I've experimented with LangGraph. They're all impressive engineering.
But here's the thing: none of them are designed for shipping code.
They're general-purpose orchestration tools. They assume you want conversational agents chatting with each other. They assume you'll build your own workflows from scratch. They assume you have DevOps capacity to run their infrastructure.
For most indie developers and small teams? That's too much overhead.
| Framework | GitHub Stars | Approach | Infrastructure |
|---|---|---|---|
| AutoGen (Microsoft) | 54,400+ | Conversational | Python, optional Docker |
| CrewAI | 43,800+ | Role-based teams | Python, LangChain deps |
| LangGraph | 24,500+ | Graph workflows | Python, state management |
| Antfarm | 248 (4 days old) | Deterministic workflows | Zero—runs in OpenClaw |
Antfarm isn't competing with these frameworks directly. It's solving a narrower problem: I want AI agents to write code and ship PRs, without babysitting them.
Who Built This (And Why It Matters)
Ryan Carson isn't a random GitHub user. He founded Treehouse in 2011—one of the largest online tech education platforms. The company was acquired in 2021. He was EY Entrepreneur of the Year in 2015.
More importantly, he's been iterating on this problem for years:
7,470 ⭐
9,903 ⭐
248 ⭐ (4 days)
ai-dev-tasks (2024)
Structured prompts and task lists for AI coding. Guardrailed and explicit. Necessary when models were less capable. Now at 7,470 stars.
Ralph (2025)
Autonomous agent loop. Based on Geoffrey Huntley's pattern—a simple bash loop that runs AI coding tools until the job is done. Context resets each iteration. Now at 9,903 stars.
Antfarm (Feb 2026)
Multi-agent teams built on Ralph loops. Deterministic workflows. Zero infrastructure. Ships inside OpenClaw. 248 stars in 4 days.
That's 17,600+ GitHub stars from someone who's been grinding on this specific problem. Not a weekend project—a progression of thinking.
The Ralph Loop: Why Fresh Context Matters
Before understanding Antfarm, you need to understand the Ralph pattern.
Geoffrey Huntley—the guy behind the original concept—put it simply:
"Ralph can replace the majority of outsourcing at most companies for greenfield projects."
The core idea is dead simple:
while :; do cat PROMPT.md | claude-code ; done
Run the AI coding tool. Let it work. When it finishes (or hits context limits), kill it and start fresh. Memory persists through git commits and progress files—not through conversation history.
Why this works: Context windows get polluted. The AI starts hallucinating state from 50 messages ago. Fresh context forces the agent to look at actual code, not imagined code.
Huntley calls it "deterministically bad in an undeterministic world." Each failure is a tuning opportunity. You're not debugging the AI—you're tuning the prompts like a guitar.
What Antfarm Actually Does
Antfarm scales the Ralph loop to multiple agents working in sequence.
Install it with one command inside OpenClaw:
install github.com/snarktank/antfarm
That's not a typo. Tell your OpenClaw agent that command, and it provisions everything: agent workspaces, cron polling, subagent permissions.
Three Workflows Out of the Box
🔧 feature-dev
Drop a feature request. Get back a tested PR. Planner decomposes into stories. Each story gets implemented, verified, tested. Failures auto-retry.
plan → setup → implement → verify → test → PR → review
🔒 security-audit
Point at a repo. Get a security fix PR with regression tests. Scans for vulns, ranks severity, patches each one, re-audits after fixes.
scan → prioritize → setup → fix → verify → test → PR
🐛 bug-fix
Paste a bug report. Get a fix with regression test. Triager reproduces it, investigator finds root cause, fixer patches, verifier confirms.
triage → investigate → setup → fix → verify → PR
The Key Differentiators
Deterministic workflows. Same steps, same order, every time. Not "hopefully the agent remembers to test."
Agents verify each other. The developer doesn't mark their own homework. A separate verifier checks every story against acceptance criteria.
Fresh context per step. Each agent gets a clean session. No context window bloat. No hallucinated state.
Automatic retry and escalation. Failed steps retry. If retries exhaust, it escalates to you. Nothing fails silently.
The Architecture: Minimal by Design
Here's what's actually running under the hood:
That's it. No Redis. No Kafka. No Docker. No container orchestrator.
Antfarm is a TypeScript CLI with zero external dependencies. It runs wherever OpenClaw runs.
Trade-off: SQLite means this isn't for distributed systems. It's for individual developers and small teams. That's the point—it's opinionated toward simplicity.
Quick Example
Here's what using Antfarm actually looks like:
$ antfarm workflow install feature-dev
✓ Installed workflow: feature-dev
$ antfarm workflow run feature-dev "Add user authentication with OAuth"
Run: a1fdf573
Workflow: feature-dev
Status: running
$ antfarm workflow status "OAuth"
Run: a1fdf573
Workflow: feature-dev
Steps:
[done ] plan (planner)
[done ] setup (setup)
[running] implement (developer) Stories: 3/7 done
[pending] verify (verifier)
[pending] test (tester)
[pending] pr (developer)
[pending] review (reviewer)
You can also start a dashboard:
$ antfarm dashboard
It shows run status, step progress, and agent output in real-time.
Building Your Own Workflows
The bundled workflows are starting points. Define your own in YAML:
id: my-workflow
name: My Custom Workflow
agents:
- id: researcher
name: Researcher
workspace:
files:
AGENTS.md: agents/researcher/AGENTS.md
steps:
- id: research
agent: researcher
input: |
Research {{task}} and report findings.
Reply with STATUS: done and FINDINGS: ...
expects: "STATUS: done"
If you can write a prompt, you can build a workflow. No Python required. No graph theory.
When to Use What
Let me be direct about when Antfarm makes sense:
Use Antfarm when:
- You're already using OpenClaw
- You want code shipped, not conversations
- You don't have (or don't want) DevOps overhead
- You value determinism over flexibility
Don't use Antfarm when:
- You need distributed multi-tenant agent systems
- You want agents to have free-form conversations
- You're building agent infrastructure for others
- You need to integrate with non-coding workflows
For general-purpose multi-agent orchestration, CrewAI and AutoGen are more flexible. For complex stateful workflows, LangGraph gives you more control. But for "I want AI to write code and ship PRs"? Antfarm is purpose-built.
What the Community Is Saying
It's been 4 days. Here's what early users are reporting:
"Batteries-included agent teams with deterministic Ralph loops is exactly what most people need. The wild west 'just prompt it' approach works until you need reliability. Then you need structure."
"Sitting on a couch and adding with Slack some PRDs to my Ralph CLI and let it run is the way."
The main question people are asking: "How does SQLite handle scale?" The answer is that it doesn't need to—this is for individual developers, not enterprise SaaS.
Try It
If you're already running OpenClaw, it's one command:
install github.com/snarktank/antfarm
Then run your first workflow:
antfarm workflow run feature-dev "Add dark mode toggle to settings page"
Watch what happens. Tune as needed. That's the Ralph philosophy: deterministically bad, but tunable.
Links
Sources
- Antfarm GitHub Repository — 248 stars, MIT license
- Ralph GitHub Repository — 9,903 stars
- ai-dev-tasks GitHub Repository — 7,470 stars
- Ryan Carson's personal website
- Treehouse history
- Geoffrey Huntley's Ralph article
- Ryan Carson on Crunchbase
- AutoGen GitHub — 54,416 stars
- CrewAI GitHub — 43,865 stars
- LangGraph GitHub — 24,510 stars
- DataCamp: Multi-agent framework comparison
- Original announcement tweet
All GitHub star counts verified via GitHub API on February 10, 2026.