🗺 AI System Design
Start simple, add complexity only when the task demands it. The design ladder: (1) a single well‑structured prompt, (2) add retrieval (RAG) when answers depend on facts the model can't have memorised, (3) add tools when it must fetch live data or take actions, (4) add multi‑step agents only when the task needs planning and iteration. Pick the smallest model that clears the quality bar — Haiku for speed and scale, Sonnet as the balanced default, Opus for the hardest reasoning. Every design trades off quality, latency, and cost; name the constraint that matters most before you choose.
The exam loves options that are more machinery than the task needs. Classic traps: jumping to a multi‑agent system when a single well‑structured prompt would do; adding RAG for knowledge the model already has (or that fits in context); fine‑tuning as a first resort instead of prompting + examples; solving a latency problem with a bigger model; and enforcing critical limits only in the prompt. The winning options usually: pick the simplest approach that satisfies the stated constraint, measure before tuning, and put hard rules in code.
“LADDER” — the order to add complexity: Language (a plain prompt) → Augment (RAG) → Do (tools) → Delegate (agents) → Evaluate (measure) → Refine. Most tasks are solved a rung lower than you'd think — don't skip rungs.
“QLC” — pick a model by Quality bar → Latency budget → Cost ceiling, in that order. If two models clear Q, the smaller one wins.
“SCB” — the three cheap wins before switching models: Stream (perceived speed), Cache (repeated context), Batch (offline volume).
Practise this domain with original, exam-style questions.
Start practising free