Multi-agent software engineering team
Build an architect, parallel coders in git worktrees, a merge coordinator, a reviewer and a tester that coordinate over a typed task board, then compare them against a single-agent baseline.
The capstone and what it builds on
- 1Multi-Agent Software Engineering TeamThe capstone brief
- 2Supervisor / Orchestrator-Worker PatternPhase 16: Multi-agent systems and swarms
- 3Role Specialization - Planner, Critic, Executor, VerifierPhase 16: Multi-agent systems and swarms
- 4A2A - The Agent-to-Agent ProtocolPhase 16: Multi-agent systems and swarms
- 5Shared Memory and Blackboard PatternsPhase 16: Multi-agent systems and swarms
- 6Failure Modes - MAST, Groupthink, Monoculture, Cascading ErrorsPhase 16: Multi-agent systems and swarms
- 7Evaluation and Coordination BenchmarksPhase 16: Multi-agent systems and swarms
- 8Reviewer Agent: Separate Builder from MarkerPhase 14: Agent engineering
- 9Delegate Agent Work with Isolation and Merge ContractsPhase 14: Agent engineering
What You'll Build
A software team made of agents: an architect breaks an issue into subtasks with explicit interfaces, two or more coders implement them in parallel git worktrees, a merge coordinator integrates, a reviewer gates and a tester verifies. Every handoff is a typed message on a task board with token accounting, so you can show where the team wins or loses against one agent per dollar.
Requirements
- Task board: file-backed JSONL (or Redis) with typed messages
plan_request,subtask,diff_ready,review_needed,test_needed,approved,rejected,replan_needed; roles subscribe by type. - Architect produces a plan DAG where each subtask names files touched, public functions and test impact. The plan is frozen once coders start; replans are separate events.
- At least two coders run in parallel, each claiming a subtask in its own
git worktreebranch (container per coder optional) and emittingdiff_readywith the patch. - Merge coordinator three-way merges coder branches into a staging branch and uses LLM conflict resolution only where files overlap; conflicts are logged.
- Reviewer reads the merged diff, cannot approve changes it authored or proposed, and routes specific feedback back to the owning coder.
- Tester runs the suite in a clean checkout and routes failures to the coder that owns the failing subtask.
- Handoff accounting: every cross-role message is logged with payload size, model and tokens; compute token amplification per subtask versus coder tokens alone.
- Single-agent baseline: the same model in one worktree on the same issues. Compare pass@1, wall-clock and tokens per solved issue.
- Injected-bug probe: at least 10 diffs with planted bugs sent to the reviewer; report the false-approval rate.
- Post-mortem: for every failed issue, name the handoff that broke and produce a handoff-failure histogram.
Constraints
- Model-agnostic: any OpenAI-compatible endpoint (including the KatalockAi API) or a local model (for example via Ollama, llama.cpp or vLLM) may be used. No named commercial model is required; record which model you used in the README. Roles may share one model with different prompts; using different models per role is optional.
- Hardware: a laptop with git; Docker is optional for coder isolation.
- Substitution: the lesson runs 50 SWE-bench Pro issues with four frontier models. Here at least 8 issues (a SWE-bench Lite or Verified subset, or issues in your own repos with hidden tests) are accepted, with the same-model single-agent baseline.
- Cap total spend in code and report it.
Stretch Goals
- Tune the reviewer prompt until false approval on the probe is under 5% and report the token cost of doing so.
- Replace the merge coordinator with a disjoint-files constraint on the plan and measure architect burden.
- Add a documenter role and judge whether its output justifies the extra tokens.
How to Submit
- Public GitHub repo with
board/,roles/(architect, coder, merger, reviewer, tester),scripts/(worktree helpers),eval/(issues, results, probe),postmortem/andREADME.md. - README: role design and message schema, how to run one issue and the eval, team vs single-agent table, token amplification, false-approval rate, handoff-failure histogram and limitations.
- Paste the comparison table, one complete team run log and the handoff-failure histogram.
How It's Reviewed
Professor Katalock reads your repository and the evidence you paste, and scores each criterion out of 100. You pass with a weighted total of 70 or more and no criterion below 40. A copied or padded submission is flagged and fails.
Submit
Push your work to a public GitHub repository with a README that explains how to run it, then paste the evidence below. Up to 3 reviews a day, free.
- Team vs single-agent table (pass@1, wall-clock, tokens per solved issue)
- One complete team run log from plan to tester result
- Reviewer false-approval probe results
- Handoff-failure histogram
- Short reflection on whether the team was worth its token cost
Reviews are done by AI against the rubric above. They check the evidence in your repository; they are not a substitute for a human code review, and a review can be wrong. If you think it is, improve the README so the evidence is unmistakable and resubmit.