Six weeks of decisions become one artifact: a system design document for a production LLM system. Tonight we assemble it, then pressure-test yours live, so Thursday you present something that holds.
Nothing new to invent tonight, you've been writing this document since Week 2. The capstone is the connective tissue: showing every decision fits with the others.
| Section | Answers | From |
|---|---|---|
| Problem & scope | what does this system do, for whom, at what bar? | goals |
| Boundary | what's code, what's model? | S2 |
| Context & retrieval | what does the model see? | P1 |
| Cost, latency, reliability | what are the ceilings, and how does it fail safely? | P2 |
| Architecture & security | which pattern, and how is it defended? | P3 |
| Evals & observability | how do you know it works, and stays working? | P4 |
| Trade-offs & risks | what did you choose against, and what remains? | all |
A reviewer should grasp your system in thirty seconds. This is the picture: boundary, retrieval, the model core, guardrails, and the observability wrapped around it.
flowchart LR IN["Request"] --> CODE["Code shell
auth, rules"] CODE --> RET["Retrieve + rank"] RET --> M{"Model core"} M --> GUARD["Validate + guardrails"] GUARD --> ACT["Action / answer"] TR[("Traces → evals → dashboards")] -.-> M TR -.-> GUARD classDef code fill:#D6F5E3,stroke:#1F2937,color:#0E1726; classDef model fill:#EEE6FF,stroke:#1F2937,color:#0E1726; classDef ops fill:#DCEBFE,stroke:#1F2937,color:#0E1726; class CODE,GUARD,ACT code; class M model; class TR ops;
| Problem | answer billing questions for paid users · <2s · never invent policy |
| Boundary | code: auth, routing, refunds · model: understand the ask + draft |
| Context | hybrid over billing docs + this user's invoices · rerank to 5 · cite |
| Cost / reliab. | small model default, escalate on low confidence · fallback ladder · <$0.01 |
| Architecture | workflow (route → retrieve → answer), not an agent · tools least-privilege |
| Evals / ops | 40 golden cases + 5% online sampling · trace every request · 3 dashboards |
| Top risk | injection via a support doc · mitigated: no-write tools + approval on refunds |
A strong design names its own weak points before the reviewer does. For every major decision, be ready with the trade-off and the trigger, the S1 move, applied to the whole system.
Draft your one-page overview and your trade-offs section now. We'll take volunteers and run the design clinic: I ask the hard questions, the group finds the gaps, you leave knowing exactly what to firm up.
Seven sections that connect, a system on one page, hard questions pre-answered, and gaps closed. That's the System Design Document, and it's the thing you take to work on Monday.