import{c as t,Q as a,j as i,m as s}from"./chunks/framework.BPKcPtvA.js";const u=JSON.parse('{"title":"Module 8: Capstone — Production Multi-Agent System","description":"","frontmatter":{},"headers":[],"relativePath":"modules/m8-capstone.md","filePath":"modules/m8-capstone.md","lastUpdated":1780488246000}'),n={name:"modules/m8-capstone.md"};function r(l,e,o,d,h,p){return a(),i("div",null,[...e[0]||(e[0]=[s(`
Build, deploy, and evaluate a complete production-grade multi-agent system. Choose from three project options, or propose your own.
Build a multi-agent system that monitors how LLMs mention a brand across multiple AI services.
Agents:
Requirements:
A plan → build → review → verify chain with CI/CD integration.
Agents:
Requirements:
An 8-agent CEO board with adversarial debate, fact verification, and execution planning.
Agents:
Requirements:
Deliverable: One-page architecture document including:
Template:
# System Design: [Project Name]
## Architecture
[ASCII diagram or mermaid]
## Agent Roster
| Agent | Model | Tools | Domain | Memory |
|-------|-------|-------|--------|--------|
## Data Flow
[How agents communicate, what state they share]
## Security
[L-level, hooks, verifier, damage-control rules]
## Cost Estimate
[Per-session estimate with model pricing]Build each agent:
Wire agents together:
Apply security layer:
[ ] Architecture document (one page, with diagram)
[ ] All agent source code with system prompts
[ ] Mental model files for each agent
[ ] Security configuration (damage-control rules)
[ ] Verifier agent (if applicable)
[ ] Golden dataset (10+ test cases)
[ ] Test results (pass@k at k=1, k=3, k=5)
[ ] Cost analysis ($/task, optimization opportunities)
[ ] Security audit (which L-level, what gaps remain)
[ ] Retrospective (max 1 page)| Criterion | Minimum | Target |
|---|---|---|
| System runs without manual intervention | ✓ | ✓ |
| All agents have domain-locked permissions | ✓ | ✓ |
| Each agent has mental model file | ✓ | ✓ |
| pass@k (k=3) on golden dataset | >60% | >80% |
| Cost analysis within 2x of optimal | ✓ | ✓ |
| Security audit identifies ≥2 improvements | ✓ | ✓ |
| Observability captures all tool calls | ✓ | ✓ |
| Architecture document submitted | ✓ | ✓ |
| Area | Weight | Poor (0) | Good (1) | Excellent (2) |
|---|---|---|---|---|
| Architecture | 20% | No diagram, unclear design | Diagram present, mostly clear | Clear diagram, justified choices |
| Implementation | 25% | Agents don't work | Agents work on happy path | Agents handle errors gracefully |
| Security | 20% | L1 only | L3+ with damage-control | L4+ with verifier |
| Testing | 15% | No eval | pass@k computed | pass@k + cost analysis + grind detection |
| Documentation | 10% | Minimal | Architecture + setup | Architecture + setup + retrospective |
| Cost Optimization | 10% | Single model | Cascade routing | Cascade + verified savings |