KatalockAi AcademyBack to KatalockAi
Capstone 10, counts toward Phase 17

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.

about 40 h Earns its own certificate Reviewed against a 7-point rubric
Submit your project Get coached by Professor Katalock

The capstone and what it builds on

  1. 1Multi-Agent Software Engineering TeamThe capstone brief
  2. 2Supervisor / Orchestrator-Worker PatternPhase 16: Multi-agent systems and swarms
  3. 3Role Specialization - Planner, Critic, Executor, VerifierPhase 16: Multi-agent systems and swarms
  4. 4A2A - The Agent-to-Agent ProtocolPhase 16: Multi-agent systems and swarms
  5. 5Shared Memory and Blackboard PatternsPhase 16: Multi-agent systems and swarms
  6. 6Failure Modes - MAST, Groupthink, Monoculture, Cascading ErrorsPhase 16: Multi-agent systems and swarms
  7. 7Evaluation and Coordination BenchmarksPhase 16: Multi-agent systems and swarms
  8. 8Reviewer Agent: Separate Builder from MarkerPhase 14: Agent engineering
  9. 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

  1. 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.
  2. 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.
  3. At least two coders run in parallel, each claiming a subtask in its own git worktree branch (container per coder optional) and emitting diff_ready with the patch.
  4. Merge coordinator three-way merges coder branches into a staging branch and uses LLM conflict resolution only where files overlap; conflicts are logged.
  5. Reviewer reads the merged diff, cannot approve changes it authored or proposed, and routes specific feedback back to the owning coder.
  6. Tester runs the suite in a clean checkout and routes failures to the coder that owns the failing subtask.
  7. Handoff accounting: every cross-role message is logged with payload size, model and tokens; compute token amplification per subtask versus coder tokens alone.
  8. Single-agent baseline: the same model in one worktree on the same issues. Compare pass@1, wall-clock and tokens per solved issue.
  9. Injected-bug probe: at least 10 diffs with planted bugs sent to the reviewer; report the false-approval rate.
  10. 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/ and README.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.

CriterionWeightHow it's checked
Pass rate vs single agent20Results for 8 or more issues with pass@1 for team and single-agent baseline on the same model.
Parallel speedup10Wall-clock for team vs baseline reported per issue.
Review quality15Injected-bug probe of 10 or more diffs with false-approval rate; reviewer cannot approve its own work (enforced in code).
Token efficiency15Tokens per solved issue and token amplification computed from the handoff log.
Coordination engineering15Typed board, frozen plan, worktree isolation, merge coordinator with conflict log and handoff-failure histogram.
Code quality and structure10Roles are separate components communicating only via the board; runs per README.
README: design decisions and limitations15README explains role boundaries and message schema, analyses the learner's own broken handoffs and states whether multi-agent paid off.

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.