Native MCP Server
One stdio server (farmwork mcp) exposes 8 deterministic tools, 6 live resources, and 7 cross-agent workflow prompts — zero duplicated slash-command files.
Escape Trash Mountain before you build it. Repo-native standards, Beads task graphs, maintained Justfiles, MCP tools, and a live Local Viewer for real AI-assisted projects.
v3.2.0 · MCP + Beads + Justfile + Security & Pillar Audits + Local Viewer
One repo-native workflow for Claude, Gemini, Codex, and Cursor: ideas age naturally, plans come before code, Beads tracks tasks, Justfiles speed up commands, and deterministic gates prove quality before you ship.
One stdio server (farmwork mcp) exposes 8 deterministic tools, 6 live resources, and 7 cross-agent workflow prompts — zero duplicated slash-command files.
Everything lives in git: Beads task graphs, a maintained Justfile, living FARMHOUSE.md & CHECKLIST.md, GARDEN.md, _PLANS/, and lazy Pillar Audits.
Run farmwork view on a repo or parent workspace to toggle checklists, manage Beads, run Just recipes, trigger gates & security scans, and watch live SSE updates.
Software factories optimize for raw agent throughput. Farmwork was built for the other half of the equation: keeping real repositories healthy once agents write code faster than humans can clean it.
In late December 2025, right as coding agents crossed into multi-file autonomy, two complementary ideas emerged within days of each other. Steve Yegge began Gas Town (Dec 15–16, 2025; public Jan 1, 2026) and StrongDM later popularized the "dark software factory" (Feb 2026) — pushing multi-agent swarms to generate code at industrial scale.
Four days after Gas Town's first commit — on December 20, 2025, with farmwork.dev live on Dec 30 before Gas Town went public — Farmwork started from the opposite question: what stops AI-built projects from turning into "Trash Mountain" after the prototype works?
Even Steve's own talk (Escape from Trash Mountain) highlights the exact failure mode: unchecked speed creates prompt drift, rotting backlogs, and unmaintainable code. Farmwork isn't a 50-agent swarm daemon — it's the repo-native Homestead guardrails layer that pairs with any agent, harness, or factory (including Steve's own Beads and maintained Justfiles).
| Dimension | Ad-Hoc Vibe Coding | Software Factories (Gas Town / Dark Factories) | Farmwork (The Homestead) |
|---|---|---|---|
| Primary Goal | Fast throwaway prototypes | Maximum autonomous throughput (20–50+ agents) | Durable craft & zero-drift repos that outlive prototypes |
| Role in Stack | Single chat loop | Multi-agent orchestration runtime / swarm daemon | Repo-native quality, planning & governance layer (works with any runtime) |
| State & Memory | Lost when chat resets | Swarm queues, mail bridges & Beads ledgers | Plain git: _PLANS/, GARDEN.md, .beads/, justfile, _AUDIT/ |
| Quality Control | "Looks good to me" | Automated loops (risks Trash Mountain if unchecked) | Deterministic 0–10 score, lint/test/build/secrets gates & lazy Pillar Audits |
| Best Used For | Weekend spikes & demos | Parallelizing large, well-specified issue queues | Every real project — standalone with 1 agent, or guarding a full factory |
Connect Claude Code, Gemini CLI, Codex, Cursor, or Antigravity to farmwork mcp. Every tool runs deterministic Node checks directly against your repository.
farmwork_status
0–10 health breakdown, pillar scores, Beads summary, Justfile recipes, tests, gates, checklists, plans & git state
farmwork_audit
Tend GARDEN.md & refresh FARMHOUSE.md — or pass pillar to save lazy SECURITY / PERFORMANCE / ACCESSIBILITY / CODE_QUALITY reports
farmwork_gates
Run configured lint, test, build, and built-in security secrets checks and save verified results
farmwork_beads
Dependency-graph task tracking via Beads (status, ready, list, create, claim, update, close, dep, sync, init)
farmwork_just
Inspect, run, or generate a maintained Justfile (list, run, init)
farmwork_checklist
list, complete, pending, skip, or add standards in _AUDIT/CHECKLIST.md
farmwork_garden
list, plant, or compost pre-plan ideas in GARDEN.md (lazily creates COMPOST.md)
farmwork_plan
list, create (graduates linked ideas), or complete specs in _PLANS/
Resources
farmwork://standards, farmhouse, checklist, garden, compost, justfile
Prompts
audit, inspect, security, performance, plan, new-ideas, ship
No hosted accounts, no duplicated agent prompt folders, no lock-in. Delete Farmwork tomorrow and every file still makes complete sense.
your-project/
├── justfile # Maintained recipes (`just --list`, `just check`, `just ready`)
├── .beads/ # Git-backed Beads task & dependency graph (`bd ready`, `bd sync`)
├── .farmwork.json # Manifest: stack, gates & last verified results
├── .mcp.json # Smart MCP config (`farmwork mcp` or `npx`)
├── AGENTS.md # Universal standards & MCP tool guide for any AI
├── CLAUDE.md # Lean pointer to AGENTS.md (never drifts)
├── _AUDIT/ # Living documents — updated, never deleted
│ ├── FARMHOUSE.md # Deterministic 0–10 health score & audit history
│ ├── CHECKLIST.md # Stack-aware standards ([x] done, [-] skip)
│ ├── GARDEN.md # Pre-plan ideas with natural 45d / 60d aging
│ └── (lazy on demand) # SECURITY.md, PERFORMANCE.md, COMPOST.md
└── _PLANS/ # Plan-before-implement feature specs
Setup & Docs (2.0), Checklists (3.0), Automated Tests (1.5), Verified Gates (2.5), and Planning & Garden Hygiene (1.0) — zero LLM guesswork.
Graduate ideas into _PLANS/ before coding, break confirmed work into Beads (bd ready), and run just check before shipping.
Past Farmwork v1/v2 repos are never auto-modified — they open read-only in farmwork view until you explicitly run farmwork init --reinstall.
Auto-detects Ruby/Rails, Vite/React, Next.js, Node/TS, MCP Servers, Python, Rust, and Go — with real test file counting and stack-aware checklists.
Point farmwork view at one repo or an entire workspace folder. It reads and writes your local files straight on disk with live SSE auto-refresh and zero hosted servers.
$ farmwork view ~/Work
❖ FARMWORK v3.2.0 · Agent-First Standards & MCP
URL http://127.0.0.1:4174
Watching Folder /Users/you/Work (live SSE)
Farms Found 8
Dark-glass cards with Score Pips, checklist ribbons, Beads & Justfile counts, live SSE updates, and read-only protection for legacy v1/v2 repos.
Create, claim, close, and sync Beads tasks — and run any maintained justfile recipe with 1 click and live output.
1-click Run Audit, Run Gates, and Security Scan catching leaked secrets, committed .env files, and vulnerable dependencies.
Plant ideas with Fresh/Wilting badges, graduate plans in _PLANS/, toggle checklists, and read every Markdown doc cleanly.
Initialize repos, start the MCP server, launch the Local Farm Viewer, or run deterministic checks from any terminal.
farmwork init
Detects your stack and scaffolds the v3 contract, smart .mcp.json, justfile, and .beads/.
-f · --reinstall · --no-justfile · --no-beads
Overwrite, upgrade v1/v2, or customize
farmwork mcp
Starts the stdio Model Context Protocol server for Claude Code, Gemini CLI, Codex, Cursor, or Antigravity.
--cwd <path>farmwork view [path]
Opens the live Local Farm Viewer (SSE + auto-port fallback) for one repo or a folder of projects.
farmwork beads [--init] [--json]farmwork just [recipe] [--init] [--json]farmwork gates [--only lint,test,build,security]farmwork security [--skip-deps] [--json]farmwork status / audit / doctornpm install -g farmwork
Writes justfile, .beads/, .farmwork.json, AGENTS.md, .mcp.json, and _AUDIT/.
cd your-project
farmwork init
.mcp.json wires Claude Code & Cursor automatically — or add Farmwork globally in Gemini CLI, Codex, or Antigravity:
{
"mcpServers": {
"farmwork": {
"command": "npx",
"args": ["-y", "farmwork", "mcp"]
}
}
}
farmwork view ~/Work
Node 18+ and any AI coding agent. Optionally install Beads (bd) for dependency task graphs and Just (just) for maintained command recipes.
Claude Code
Reads .mcp.json and CLAUDE.md natively
Gemini CLI / Antigravity
Connects directly to farmwork mcp + reads AGENTS.md
OpenAI Codex / Cursor
Connects via MCP and follows the exact same 8 deterministic tools