A PRD in. Reviewed pull requests out — or a production release with the evidence to prove it shipped.
It's for solo builders and small teams already working in Claude Code, so you can hand off a whole feature and supervise a board instead of babysitting a terminal.
A charrette is an intense, deadline-bound work session that has to end in a reviewed deliverable. That is what this does: it staffs a fleet of Claude agents against your assignment, holds them to acceptance criteria, and stops at exactly two decision points that are yours — approve the plan, and merge the pull request. It never merges for you.
Approving the plan, then agents working the task DAG. The problem it solves: one agent session plans nothing you can review, builds serially, and grades its own homework. The feed, task board, intent tracker and cost meter are live.
| What it is | A local-first CLI + localhost dashboard that orchestrates a fleet of Claude agents through plan → build → adversarial QA → PR |
| Who it's for | Solo builders and small teams already living in Claude Code, who want to hand off whole features rather than functions |
| The problem | One agent session plans nothing reviewable, builds serially, grades its own homework, and forgets everything you have learned about how you build |
| What you get | Reviewed PRs against a plan you approved, with a run ledger that makes agent-built software auditable — and a hard budget cap so it cannot run away with your money |
| Status | Pre-release (v0.0 walking skeleton + v0.1 dashboard). Usable; not yet 1.0 |
| Cost | ~$2 per merged task on a small greenfield repo, ~$21 on a large brownfield service |
Use it if you already pay for Claude API or Pro/Max usage, you maintain a
library of SKILL.md playbooks you want routed to the right task automatically,
and you would rather supervise a board than babysit a terminal.
Do not use it if you need a framework for building agents — that is LangGraph, CrewAI or the Agent SDK directly. Charrette is not a framework; it is the thing that ships. Also skip it if you cannot run repositories you trust: until OS sandboxing lands, agents run with broad local permissions.
Built on the Claude Agent SDK.
Intake and specification agents turn the full brief into executable
requirements; a planner builds a task DAG; you approve the plan; workers
implement tasks in isolated git worktrees and adversarial QA checks them. Review
mode stops at reviewed PRs. Explicit production mode follows the release through
merge, named deployment jobs, deployed-revision verification and production
acceptance. Merging remains manual unless you explicitly authorize
--auto-merge; GitHub protections still apply.
- docs/OPERATIONS.md — install, configure, run, observe, recover. Start here.
- docs/REMOTE.md — run it on a Linux host you reach over SSH: allowlisted agent environments, push notices, the dashboard tunnel and a provisioning script.
- docs/PRODUCTION-DELIVERY.md — full PRD → deployed release, authority, evidence and resume.
- docs/CLAUDEFLOW-LEARNINGS.md — Claude Flow comparison and adopted practices for focused context, recovery and efficient verification.
- PRD.md — the full product spec: architecture, threat model, performance budget, phasing.
- CONTRIBUTING.md — how to build, test, and send a change.
- SECURITY.md — what is in scope, and what is deliberately not.
Pre-release walking skeleton (v0.0 per the PRD phasing) plus the v0.1 dashboard backend:
- ✅ Intake agent: repo-grounded clarifying questions with options and a recommendation → agreed brief
- ✅ Planner → PRD + validated task DAG → plan approval gate (terminal or dashboard)
- ✅ Worker → deterministic checks → QA agent loop with iteration caps
- ✅ Continuous integration into
charrette/<runId>/main, idempotent GitHub issues + PRs - ✅ Event-sourced SQLite state (
node:sqlite, zero native deps), crash-resume - ✅ Budget caps enforced before every agent turn; live cost ledger; the plan gate prices the plan against the cap from what previous runs in the same repo actually cost
- ✅ Intent validator reads the merged whole against your original assignment — seams, reachability, and whether the thing could actually be deployed and would move real money — and a FAIL queues one task per gap and builds them rather than just reporting them
- ✅ An interrupted conversation is picked up where it stopped:
resumere-asks the question nobody answered instead of planning around it - ✅ The plan gate says which external services the plan intends to build for real and which it intends to fake, before a worker is paid — and which of deployment, sign-in, visual design and failure-visibility your brief asked for that no task owns at all
- ✅ The same intent question is asked of the plan, not only the result: could this plan, executed perfectly, deliver the assignment? Gaps reach you at the gate and the planner on a reject
- ✅
charrette postmortem— why a run produced what it produced: questions nobody answered, verdicts and whether they were heeded, tasks that could pass without anything leaving the process, spend by how sessions died, and which charrette build each session ran under — because a fix built while a run is executing never reaches it - ✅ Skills discovery: lexical SKILL.md matching with SHA-256 provenance (also exposed as a stdio MCP server)
- ✅ Localhost dashboard: live activity feed (what each agent is reading, editing, running), task board, cost meter, gate approval (127.0.0.1-only, bearer token, Origin/Host checks)
- ✅ A run ends when the product is proven, not when the task list empties: the acceptance suite green, the intent check PASS (it can also answer UNKNOWN, and an abstention is not a pass), and an agent having started the finished product from a clean checkout and driven the critical path the brief was turned into before any code existed. Anything short of that parks the run in
BLOCKEDwith what is unmet on the record, opens no pull request for review, and re-enters the gates oncharrette resume - ✅ Pit stops: after every epic the run stops, a demo agent starts the half-built product and drives it, three named reviewers judge it, and you keep going, redirect the unbuilt tasks, re-plan them, or stop — docs/PITSTOP.md
- ✅ Parallel workers over the DAG, held apart by the planner's
touchedPathsso two of them do not edit one file into a merge conflict - ⬜ Plan editing UI, OS sandboxing, semantic skill matching — see PRD §7
Measured across four completed runs, cost per merged task ranges from about $2 on a small greenfield repo to about $21 on a large brownfield service, and the number of times it stops to ask you something scales with it. Size the cap, and your own attention, against the repo rather than against the task count.
- Node ≥ 22.13 (uses built-in
node:sqlite, which is unflagged from 22.13 and 23.4 on; earlier 22.x needs--experimental-sqlite), pnpm ≥ 11 - Anthropic credentials, resolved by the Agent SDK from the environment:
CLAUDE_CODE_OAUTH_TOKEN(Claude Pro/Max — runclaude setup-token) orANTHROPIC_API_KEY - Optional:
GITHUB_TOKEN(fine-grained, single repo: contents/issues/PRs write) +CHARRETTE_GITHUB_REPO=owner/repo GEMINI_API_KEY(orGOOGLE_API_KEY) — required, not optional, and on Google's paid API tier for the default routing, because Gemini 4 Neon is not on the free tier. The planner, the specification and the escalation ceiling default togemini-4-neon. The pit-stop PM defaults togemini-4-hydrogen, and so does the pit stop'sreviewer, which is pinned to Gemini so that the agent judging the work is not from the family that wrote it. A run refuses to start without the keyDEEPSEEK_API_KEY— required, not optional. The build and tool-driving roles (worker,workerLight,integrator,advisor,demo,live,repair,skillsmith) default todeepseek-flash; a run refuses to start rather than discovering it at the first dispatch- Optional:
OPENAI_API_KEY, if you point a role at OpenAI.charrette run --model worker=gpt-5.6-terrachanges one, and the same flag oncharrette resumechanges it for the rest of a run already in flight.qa,prodandintakestay on Anthropic andreviewerstays on Google, though each can move to another model of its vendor; see Using other providers. How hard each model thinks is set per model with--effort model=level; see Effort per model - Any of these may go in a
.envfile in the directory you runcharrettefrom (not the repository being built — a task spec can write to that one). An exported variable wins over the file
npm install -g charrette # or: npx charrette run
cd ~/code/my-app # the repo you want built
charrette runFrom a clone instead, which is also how you develop on it:
pnpm install && pnpm build
pnpm link-cli # symlinks `charrette` into ~/.local/binThat is the whole command — no assignment, no flags. The target repo, the deterministic checks, the budget caps and the dashboard all resolve to safe defaults, and the banner prints what each resolved to, and why, before anything is spent:
repo /Users/you/code/my-app
checks pnpm run typecheck · pnpm run lint · pnpm run test (auto-detected from package.json scripts via pnpm)
budget run $30 · task $10 (defaults)
intake conversation before planning (default)
dashboard http://127.0.0.1:4777/#a1b2… (the fragment is your auth token)
Then it asks what to build — and keeps asking until the answer is buildable:
> add rate limiting to the API
● package.json pins fastify 5 and there is no middleware directory, so this is
a new layer rather than an edit to an existing one.
Where should the limit be enforced?
1. Fastify plugin, in-process (recommended) — no new infra, and the deploy
config shows a single instance
2. Redis-backed — survives horizontal scaling, adds a dependency
3. Reverse proxy — no app changes, but no per-user keys
[1-3, enter = 1, or type your own answer]
> 1
Answer with a number, press enter for the recommendation, or type anything else
— free text always beats the options (end a line with \ to keep typing on the
next one). The agreed brief, not your first sentence, is what the planner
receives, and it asks about the things that are expensive to change later:
scope, look and feel, stack, data, performance, security, how it ships.
The plan gate in the dashboard — every task the planner intends to build, the full PRD behind it, and one box that sends your objection back to the planner:
Then, every epic, it stops and shows you what it actually built:
# Pit stop 1 — the "Sign-in" epic is finished
**It runs.** `pnpm dev` on :5173
## What it did
- ✓ **Sign in** — 302 to /home, session row written (signin.png)
- ✗ **Download a pack** — GET /v1/pack/current → 404 (pack-404.png)
## What it could NOT check
- payments — no Stripe test keys on this machine
## What the reviewers think
### product-manager — DRIFTING
- The pack screen has no content behind it
> Is the map still in scope?
What now?
enter keep going
<anything> send it to the 4 task(s) that have not run yet
replan <words> re-plan the remaining work around what you say
stop park the run; `charrette resume` picks it up where it is
Override any of it per run, or commit charrette.config.json for per-repo defaults:
charrette run "Add rate limiting" # an assignment on the CLI skips the conversation
charrette run --check "npm test" --run-cap 50 --no-dashboard
charrette init # write charrette.config.json with the resolved defaults
charrette resume <runId> # continue after any interruption; nothing re-executes
charrette status # run/task states, QA iterations, spend
charrette version # the build this binary is, and whether `dist/` is current with `src/`charrette --version prints that build on its own — version@sha, with a +
when the checkout is dirty. It is the same string every agent session is
stamped with, so a session record and a binary can be matched without
cross-referencing git log against process start times. charrette version
adds the part a sha cannot answer: Node loads dist/, so a fix that is
committed but never compiled leaves a clean sha in front of an old build.
Full configuration reference, recovery playbook, and troubleshooting: docs/OPERATIONS.md.
| Package | What |
|---|---|
packages/shared |
zod contracts: states, events, plan schema, config |
packages/core |
store, event bus, budget, git/worktrees, agent pool, intake conversation, run controller, GitHub adapter |
packages/skills-mcp |
SKILL.md indexer + stdio MCP server (search_skills, describe_skill) |
packages/dashboard |
Fastify backend + single-file SPA (SSE via fetch-stream) |
apps/cli |
charrette run / resume / status / init / version, terminal intake chat, repo-root and default resolution |
Secrets never enter agent context; pushes are confined to charrette/<runId>/* branches and never forced (the one exception creates a base branch origin does not have, create-only); the charrette has no code path that merges PRs; the dashboard binds loopback only and every state-changing endpoint requires a bearer token plus Origin/Host validation. Full threat model and requirements: PRD §12. Until OS sandboxing lands (PRD v1.0): run repos you trust.
MIT (pending open-source release checklist — PRD §7 v1.0).