Learning path · 5 stages · 14 days · about 2 h 20 min
AI system design in two weeks
For: Engineers who know classic system design and want to design, run or interview on AI systems.
Stage 1 of 5 · 0%
AI systems badge, not earned yet0 of 14 days done · about 2 h 25 min left
Start · start lessonQueues and batches on a GPUStage 1 of 5
Not startedDays 1-3 · Serving the model
Explain where an LLM request spends its time, what limits a GPU's throughput, and why a gateway sits in front.
0 of 3 days · about 35 min · checkpoint to pass
- You are hereQueues and batches on a GPUDay 1 · 3 chapters · 5.5 min · 0 of 3 partsRequests wait for a GPU, batching trades latency for throughput; then an internal experiment that filled the fleet.Start lesson
- Next upMemory, streaming and self-hostingDay 2 · 4 chapters · 10 min · 0 of 4 partsGPU memory, streaming, model servers that take minutes to start, and compression tested at the wrong load.Start lesson
- One front door for every teamDay 3 · 4 chapters · 17.5 min · 0 of 4 partsA gateway with token budgets and a reserve for customers; then an outage where a monitoring change took everything down.Start lesson
Checkpoint · 3 questions. Unlocks when the 3 steps left in this stage are done.
Stage 2 of 5
Not startedDays 4-6 · Running LLM APIs
Handle 429s by type, plan quota headroom, keep cost bounded, and fall back without hiding a drop in quality.
0 of 3 days · about 28 min · checkpoint to pass
- Not every 429 is the sameDay 4 · 3 chapters · 7.5 min · 0 of 3 partsRate limits, quota and overload need different responses; then retries at every layer multiplying one failure.Start lesson
- Headroom and cachingDay 5 · 3 chapters · 7.5 min · 0 of 3 partsCapacity you reserved but never got back, and a prompt cache that never hit; then a peak that ran out of room.Start lesson
- Cost, fallback and retirementDay 6 · 4 chapters · 10.5 min · 0 of 4 partsA bill nobody capped, a fallback that kept uptime green, a model retired from under you; then models vanishing from a picker.Start lesson
Checkpoint · 3 questions. Unlocks when the 3 steps left in this stage are done.
Stage 3 of 5
Not startedDays 7-9 · Retrieval
Design retrieval that finds the right chunks, returns enough of them, respects permissions and keeps the context small.
0 of 3 days · about 32 min · checkpoint to pass
- Finding the right chunkDay 7 · 2 chapters · 6 min · 0 of 2 partsApproximate search trades recall for speed; chunks lose the facts that identify them.Start lesson
- Filters, permissions, context and sourcesDay 8 · 4 chapters · 12 min · 0 of 4 partsTen asked, four returned; a leaver who can still search; more context, worse answers; an answer with no source.Start lesson
- An AI support assistant that can refundDay 9 · Page · 12 minPut it together: retrieval and a refund tool, built then broken at the Monday peak.Open page
Checkpoint · 3 questions. Unlocks when the 3 steps left in this stage are done.
Stage 4 of 5
Not startedDays 10-12 · Agents and tools
Bound an agent's loop and effort, make its tool calls safe to retry, and limit what an injected instruction can do.
0 of 3 days · about 25 min · checkpoint to pass
- Loops and effortDay 10 · 2 chapters · 6 min · 0 of 2 partsAn agent searching forever, and sub-agents for a one-line question: turn limits and effort rules.Start lesson
- Tools that act, and guardrailsDay 11 · 4 chapters · 12 min · 0 of 4 partsA refund paid twice, an email that gives orders, a destructive command; then a filter that refuses everyone.Start lesson
- Long runs and visibilityDay 12 · 2 chapters · 4.5 min · 0 of 2 partsDeploys that kill hour-long runs; then agents that kept finishing while their status fell behind.Start lesson
Checkpoint · 3 questions. Unlocks when the 3 steps left in this stage are done.
Stage 5 of 5
Not startedDays 13-14 · Failures with no errors
Catch wrong answers that raise no errors: evals before release, judges you can trust, and traces you can read.
0 of 2 days · about 23 min · checkpoint to pass
- Evals that catch silent failuresDay 13 · 4 chapters · 12 min · 0 of 4 partsDashboards stay green while answers get worse; release gates, judges that prefer long answers, and consistency across tries.Start lesson
- Parsing, traces and two real onesDay 14 · 4 chapters · 9 min · 0 of 4 partsRetries that hide bad output and traces that keep what they should not; then two official write-ups of quality failures.Start lesson
Checkpoint · 3 questions. Unlocks when the 2 steps left in this stage are done.
Not in this path yet
This path only lists content that exists. These are missing:
- A mock AI system design interview round. Use the follow-up questions at the end of the two AI walkthroughs, and each lesson's interview question, as practice prompts.
A step ticks itself when you finish it anywhere on the site. A chapter counts when all of its lessons are done, and shows how far along it is before that. Times are estimates.