zerofactory
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Warn
- process.env — Environment variable access in dashboard/build_css.mjs
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Autonomous multi-agent software factory with parallel task dispatch, Kanban pipeline, isolated Git worktrees, and automated code review.
Zero Factory
An open-source 24/7 AI software factory for Hermes Agent. Four isolated specialist agents turn GitHub issues and specs into reviewed, precommit-verified Pull Requests inside dedicated Git worktrees—while keeping humans in control of spec approval and final merge.
Quick Start · Proof in Production · AI Factory Consulting · Architecture Docs
[!NOTE]
Active Beta: Zero Factory is under active development and ships frequent improvements. Runhermes zerofactory doctorafter upgrades to verify your local setup and profile sync.
See It in Action
- Kanban + Review Loop Demo: zerofactory_demo.mp4 (download or host via GitHub release/issue asset URL for inline playback)
- 4-Column Actor Workflow: Everything requiring a human decision (
awaiting_merge,spec_approval,interview,blocked,triage) lands in Human (0 LLM tokens). Queued AI work runs through Todo ➔ Running (zf-orchestrator➔zf-goldfish➔zf-builder➔.zerofactory/precommit.sh+ anti-slop gate ➔zf-reviewer) ➔ Done.
Human (triage / spec_approval) ──► Todo (AI Queue) ──► Running (Worktree + Agents + Precommit)
▲ │
└── Changes Requested / Recovery ◄─┘
▼
Human (awaiting_merge) ──► Done (Merged PR)
Proof in Production
Zero Factory is dogfooded daily across multi-repository production codebases (including this repository). Metrics below are queried directly from local ~/.hermes/zerofactory.db and Hermes ~/.hermes/profiles/zf-*/state.db (session_model_usage):
| Metric | Verified Local Production Count |
|---|---|
Completed Tasks (done) |
465 across 4 boards |
| Pull Requests Shipped | 426 (zerohub: 204, zero-share: 114, hotcode-dev/zerovisual: 96, hotcode-dev/zerofactory: 12) |
| Matched Builder & Reviewer Sessions | 879 (zf-builder: 534, zf-reviewer: 345) |
| Tracked LLM API Calls | 11,022 |
Inspect recent public dogfooding PRs on this repository:
hotcode-dev/zerofactory#98·#97·#96·#95
AI Factory Consulting
Zero Factory is 100% open-source. If you run an engineering team and want help deploying a reliable, private AI Software Factory on your own repositories—custom multi-repo architecture contracts, deterministic .zerofactory/precommit.sh gates, review/recovery tuning, and safe unattended execution—reach out directly:
- Email: [email protected]
- Public Q&A & Inquiries: GitHub Discussions
How It Works
Zero Factory provisions four isolated Hermes profiles in ~/.hermes/profiles/ so automation never clashes with your personal profile:
| Profile | Role | Responsibility |
|---|---|---|
zf-orchestrator |
Planner & Recovery | Drafts technical specs, runs idle improvement scans, and diagnoses 3× failed tasks (capped at 1 autonomous recovery attempt). |
zf-goldfish |
Spec Auditor | Runs zero-context adversarial reviews on drafted specs to cut bloat before human sign-off. |
zf-builder |
Software Engineer | Implements minimal diffs and tests inside isolated Git worktrees (~/.zerofactory/workspaces/<board>/worktrees/<task_id>). |
zf-reviewer |
PR Gatekeeper | Reviews opened GitHub PRs in up to 2 thematic rounds (Correctness & Tests ➔ Verification & Polish) before human merge. |
Every PR passes through two zero-token deterministic gates before reaching review:
.zerofactory/precommit.sh— format ➔ build ➔ tests, with up to 3 automatic builder fix retries on failure.- Anti-Slop Gate (
dispatcher/slop_gate.py) — blocks leftover debuggers, skipped/assertion-free tests, untested diffs >20 lines,Do Not Touchviolations, and oversized PRs.
Quick Start: Zero to First Merged PR
Prerequisites
- Hermes Agent (
>=0.23.0) with a configured LLM provider/API key gitand authenticated GitHub CLI (gh) (gh auth loginorGH_TOKEN)- Optional: Node.js (
npx) if you want OpenWiki MCP enabled insidezf-builder/zf-reviewer
1. Install the Plugin
hermes plugins install hotcode-dev/zerofactory
2. Bootstrap Profiles & Run Preflight Diagnostics
For unattended headless execution (recommended for 24/7 operation):
hermes zerofactory setup --unattended
(Or run hermes zerofactory setup to keep allow_unattended_approvals: false and approve interactively. Run hermes zerofactory doctor at any time to verify git, gh, LLM keys, profile sync, and approval settings.)
3. Register a Repository Board & Precommit Gate
hermes zerofactory board create https://github.com/<owner>/<repo>.git --slug my-app
hermes zerofactory setup-repo --board my-app
4. Start the Dispatcher & Kanban Dashboard
Start the dispatcher in one terminal (or enable auto_start_dispatcher in Dashboard Settings):
hermes zerofactory start
Start the dashboard in a second terminal and open http://localhost:9119/zerofactory:
hermes dashboard
5. Ship Your First PR
# Import a GitHub issue or create a task directly
hermes zerofactory import-gh-issue 42 --board my-app
# or
hermes zerofactory create "Add healthcheck endpoint" --board my-app --status todo --assignee zf-builder
Watch the task move through Todo ➔ Running (building ➔ packaging ➔ review) ➔ Human (awaiting_merge), then review and merge the PR on GitHub.
Essential CLI Commands
# Setup & Diagnostics
hermes zerofactory setup [--unattended] [--force] # Provision zf-* profiles (optional --unattended opt-in)
hermes zerofactory doctor # Check git, gh auth, profiles, LLM keys & settings
hermes zerofactory sync-profiles # Sync SOUL.md prompts from plugin templates
hermes zerofactory start # Start foreground dispatcher loop
# Boards & Tooling
hermes zerofactory board list
hermes zerofactory board create <git_url> [--slug <slug>] [--target-branch <branch>]
hermes zerofactory setup-repo --board <slug> # Generate .zerofactory/precommit.sh
hermes zerofactory setup-openwiki --board <slug> # Generate openwiki/ agent docs
# Tasks
hermes zerofactory list [--status running] [--assignee zf-builder]
hermes zerofactory create "<title>" [--board <slug>] [--target-repos api,web]
hermes zerofactory import-gh-issue <number> [--board <slug>]
hermes zerofactory approve <task_id> [--split]
hermes zerofactory reject <task_id> --feedback "..."
hermes zerofactory recover <task_id> [--guidance "..."]
hermes zerofactory block <task_id> --reason "..."
Deep-Dive Documentation
- Architecture, Memory, Cron & Precommit Reference — Session-per-handoff model, multi-repo boards, Mem0 vector memory, OpenWiki MCP, and test suites.
- Workflow & State Machine Flows — Step-by-step Mermaid diagrams of every deterministic and agentic path.
- Debugging & Incident Playbook — SQLite decision-trail queries, symptom routing, and gotchas.
- Strategic Roadmap — Multi-repo boards, standalone runtime plans, and enterprise gates.
- Agent Instructions — Lean repository rules and OpenWiki retrieval contract for coding agents.
License
See LICENSE.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found