Multi-LLM development harness — local-first, test-gated, honest by construction. Requirements→spec→plan→build→review→release with real verification gates; operable by humans, CLI, desktop, or other agents via MCP.
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/jrullan/ducklab && cp ducklab/*.md ~/.claude/agents/Subagents overview
# Ducklab A full-cycle software development harness that is **multi-LLM by default** and honest by construction. **In one block:** self-hosted development harness (Go engine + CLI + desktop, Linux first) · brief → requirements → spec → plan → build → review → release · verdicts are exit codes, never model opinions · local models first (llama.cpp, vLLM) beside any OpenAI-compatible or Anthropic endpoint · operable by humans or by other agents over **MCP** with recorded, attributed decisions · Apache-2.0 · develops itself (the run records in `.ducklab/` are the receipts). Agents: start at [`AGENTS.md`](AGENTS.md) and [`llms.txt`](llms.txt). You give it a brief. It writes requirements, a spec and a plan; builds tasks with one model or several arguing; runs your project's real test gate; and stops for you before anything is committed. Every model call is logged. No model ever decides a verdict. <p align="center"> <img src="docs/screenshots/council.gif" alt="A live council intake: the architect streams a requirements draft, the reviewer approves, and the run stops at a human gate" width="840"> <br><em>A real council intake, recorded live and sped up: the architect streams the draft, a different model reviews it, the budget ticks in cents — and the run stops at <strong>your</strong> gate. Total cost of what you just watched: $0.07.</em> </p> It was built for **local models first** — the two that built most of it are a vLLM box on the LAN and a llama.cpp server on localhost, both priced at zero — and hosted models sit beside them in the same roster, measured by the same evidence. ## Why this exists Most agentic coding tools assume one strong model and trust it. Ducklab assumes **several cheap models and trusts none of them**: - **The gate decides, never a model.** A verdict is a command's exit code. A test-first run measures a green **baseline** before any test is written, the red **over the new test** after, and every accept **reproduces the gate from a clean checkout of the committed sha** — nothing lands that did not reproduce, and an accept whose reproduction fails takes its own commit back. - **Decorrelation everywhere.** A different model reviews; a reviewer never learns who wrote the code (absent from the payload, not hidden in the UI); tournament judges choose blind; council critics read the draft, not each other. - **Work is a contract.** A task's deliverables are the implementer's numbered checklist; it reports on each by number, the reviewer checks each against the diff, and an undelivered item summons the **rubber duck** — an advisor seat that wakes only on measured distress (brake refusals, failure streaks, red gates) and answers `none`, a note that sends the implementer straight back to work, or `stop`. - **Seats are chosen on evidence.** Every duckling carries a scorecard — in-seat pass rate from your own runs, cost per run, coding index — and the roster board suggests seats from it, with the ranking criteria yours to reorder. Suggestions are rare and justified: pass rates rank by their Wilson lower bound, three runs minimum, locals never win on a $0 price. - **Nothing is unbounded.** Turns, tokens, cost, wallclock, tool output, shell commands — every ceiling visible and liftable mid-run, on the record. - **Your documentation is not bounded by the model's window.** Attach a wiki to a stage and a big seat reads it whole; a small seat gets each document digested to fit, the full text one `ref_read` call away, and the gate names any document nobody opened. A 32k local model can be briefed by a quarter-million characters of reference material — the harness carries the working memory. <p align="center"> <img src="docs/screenshots/runs.png" alt="The run record: 358 runs with verdicts, costs, and reproduced-green accepts" width="900"> <br><em>The record does not round up: every run with its verdict, its cost, and whether its accept <strong>reproduced green from a clean checkout</strong>.</em> </p> And the existence proof: **ducklab is developed inside ducklab.** The plan, the bugs, the releases and 111 accepted tasks went through its own loop, driven by the same local and hosted models it measures — most recent features (the escalation suggestions, the acceptance receipts, the MCPB release packaging, the multimodal chat) were built by the duck, gated by a person. Don't take the claim on faith: ```bash git clone https://github.com/jrullan/ducklab && cd ducklab go build -o ducklab-cli ./cmd/ducklab for r in .ducklab/runs/*/receipt.json; do ./ducklab-cli proof verify "$r"; done ``` Receipts ship with every accept since v0.7.0: the committed sha, the gate command, its exit code, and the clean-checkout reproduction verdict — facts a third party re-derives, never assessments. ## Status **v0.7.0**, moving fast — seven releases in the first three weeks. Seven stages, five modes, the roster board with evidence and suggestions, reference documents with automatic digestion, skills managed from the desktop, a seated consultant you can chat with (images included, vision verified before they are sent), bugs with screenshot evidence, adopt surveys with a deterministic coverage check at the gate, provider-aware queueing that says why a run waits, escalation suggestions when a seat measurably hits its ceiling, **exportable acceptance receipts** with `ducklab proof verify`, releases, autopilot, a CLI, a desktop app, and an **MCP server** — in the [official MCP registry](https://registry.modelcontextprotocol.io) as `io.github.jrullan/ducklab` — that lets another model operate the whole loop with recorded, attributed decisions. [`docs/status.md`](docs/status.md) tracks all acceptance criteria and does not round up. Where code and spec differ, the difference is recorded in [`docs/decisions/`](docs/decisions/). ## Install Needs Go 1.25+, Node 22+ for the desktop, and git. ### Linux The CLI and engine are pure Go. The desktop is a Wails v3 app and needs the GTK/WebKit development packages: ```bash sudo apt install libgtk-3-dev libwebkit2gtk-4.1-dev # Debian/Ubuntu names make desktop && make install ``` On Ubuntu 24.04+ the desktop also needs an AppArmor profile — see [decision 0003](docs/decisions/0003-apparmor-userns.md) and `packaging/apparmor/`. ### macOS ```bash xcode-select --install # the desktop build links against WebKit brew install go node make desktop && make install ``` Honesty note: ducklab is developed and exercised daily on Linux. The CLI and engine compile-check for `darwin/arm64` on every `make cross`, but no desktop build has been verified on a Mac yet — the first person to try it is the test, and `make install` gives you the CLI and engine either way. Please report whatever breaks. ### Both `make install` installs to `~/.local/bin` — make sure it is on your `PATH`. It warns when the desktop binary predates `frontend/src`, because it will happily install a stale one. ## Frontend development without the desktop To exercise the frontend against the lightweight fake engine, run the engine and Vite in separate terminals, then open the browser with its connection details: ```bash go run ./cmd/fake-engine --port 8787 --token fake-token npm run dev --prefix frontend # open http://localhost:5173/?engine=http://127.0.0.1:8787&token=fake-token ``` The `engine` and `token` query parameters are available only in Vite dev builds. They can also be supplied as `VITE_DUCKLAB_ENGINE` and `VITE_DUCKLAB_TOKEN` environment variables. The desktop shell continues to use its injected `window.ducklab` connection. ## Three binaries | | What it is | |---|---| | `ducklab-engine` | The daemon. Owns every run. Binds 127.0.0.1 only, bearer token rotated each start. | | `ducklab` | The CLI client. Holds no state; it asks the engine. | | `ducklab-desktop` | The desktop app. Also a client, also holds no state. Starts (or adopts) the engine itself. | Provider keys come from the engine's environment at call time — export them before it starts, or launch the desktop through a wrapper that loads them from your keyring. The app tells you when the engine it adopted is missing a key this app has, with the restart button beside the words. ## A cycle, end to end From the desktop: **Projects → New project**, then **Cycle → Draft it**. From a terminal: ```bash cd ~/dev/myproject git init # ducklab needs a git repo ducklab project init --name MyProject # auto-starts the engine if none is running ducklab intake --from brief.txt # brief → requirements ducklab spec # requirements → spec ducklab plan # spec → milestones and tasks ducklab run T-001 # build it ducklab run accept r-20260729-... # commit it ducklab review T-001 # read the commit ducklab release plan --bump minor # what shipped ``` Each stage writes a `.proposed` file first and waits for you. `accept` promotes it; `reject` restores exactly what the run wrote and nothing else; "request changes" sends any draft — spec, plan, release notes — back with your note. Nothing is committed without you (or without the autonomy level you explicitly granted). **Reference documents** ride any stage: `--ref ~/wiki/product/` (or the attach door in the desktop) loads files or whole directories as background for the architect — grounded by two rules the prompt states outright: the approved requirements own the scope, and where a reference and the code disagree, the code is the truth. When the corpus outgrows the seat's context, each document is digested once (cached by content hash), the full text stays reachable through the `ref_read` tool, and the proposal card lists any document no seat ever opened. **Adopting an existing codebase** works the same way: intake reads the code and writes as-built requirements, the spec marks
What people ask about ducklab
What is jrullan/ducklab?
+
jrullan/ducklab is subagents for the Claude AI ecosystem. Multi-LLM development harness — local-first, test-gated, honest by construction. Requirements→spec→plan→build→review→release with real verification gates; operable by humans, CLI, desktop, or other agents via MCP. It has 3 GitHub stars and its last recorded update is dated 2026-08-24.
How do I install ducklab?
+
You can install ducklab by cloning the repository (https://github.com/jrullan/ducklab) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is jrullan/ducklab safe to use?
+
Our security agent has analyzed jrullan/ducklab and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains jrullan/ducklab?
+
jrullan/ducklab is maintained by jrullan. The last recorded GitHub activity is dated 2026-08-24, with 3 open issues.
Are there alternatives to ducklab?
+
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Deploy ducklab to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/jrullan-ducklab)<a href="https://claudewave.com/repo/jrullan-ducklab"><img src="https://claudewave.com/api/badge/jrullan-ducklab" alt="Featured on ClaudeWave: jrullan/ducklab" width="320" height="64" /></a>More Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The agent engineering platform.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.