AI Engineering track
AI engineering, from the basics up
A free course that needs no account: 63 lessons in 12 modules, each with a visual you can try.
This track teaches how to build features around AI models. It is for software and backend engineers, and it runs beside the system design path.
What it covers: building production apps on language models, with calls, prompts, retrieval, evaluation, agents, reliability and serving. It does not teach machine learning theory or how to train a model from scratch.
Module 0 needs nothing else on the platform. Later modules build on it, and on caching, queues and rate limits from the system design path. Interviews ask about this mainly for teams that build AI features.
Where each module fits
- You — ask a question — healthy
- The AI feature — Module 1 — healthy
- Answer cache — Module 8 — healthy
- Vector search — Module 3 — healthy
- Model server — Module 11 — healthy
- The answer — Module 7 — healthy
- Tools — Module 5 — healthy
You ask a question. The feature checks its cache, finds useful text, and sends a prompt to the model server. The answer comes back a few words at a time. Pick a box to open the module that explains it.
These modules are about the whole picture, not one box:
The core path
For any software engineer who builds features on a model. Take these modules in order: each one uses only ideas from the ones before it.
Module 0: AI basics, in plain English
How a model learns, then what a prompt, a token, an embedding and RAG are, for someone who has never used an AI API.
Module 1: Calling a model from your code
What one request to a model API holds and returns, why answers vary, and how to get output your code can check.
Module 2: Evaluation and observability
How to tell whether answers are getting better or worse: test sets, live signals and the limits of a model grading a model.
Module 3: Retrieval and vector search in depth
How documents are cut up, turned into numbers and searched, and why mixing word search with meaning search works best.
Module 4: Reliability: fallbacks, timeouts and guardrails
What to do when the model is slow, down or wrong: fallbacks, timeouts, safe retries and output checks.
Module 5: Agents that call tools
A model that calls tools in a loop, and the limits that keep it safe: step budgets, timeouts and human approval.
Module 6: Security: prompt injection and data boundaries
Why text from tickets, web pages and tools can steer a model, and the checks in code that keep data and actions inside their limits.
Module 7: How a model writes, one token at a time
Why answers appear a few words at a time, why the first word is slow, and what the model keeps in memory while it writes.
Module 8: Caching for AI features
Three ways to reuse work: exact, prefix and meaning-based caches, and the risk of serving the wrong answer.
Module 9: Cost and latency
What one request costs, how sending easy questions to a small model saves money, and how to cap spending per customer.
Module 10: Prompt, retrieve or fine-tune
How to choose between a better prompt, retrieval and fine-tuning, and what fine-tuning takes when it is the right call.
Specialisation: running model servers
For engineers who host models on their own GPUs, or who join a team that runs an inference platform. A team that calls a hosted model API does not need it to build features.
Module 11: Serving a model: batches, memory and queues
Run a model server, fill it with requests, and watch batches, memory and queues decide how fast each user gets an answer.
Already on the platform
- LLM serving and retrieval: the concept page, with the full retrieval design.
- Design an AI support assistant: an interview problem.
- Design an LLM inference platform: an interview problem.
- Design an LLM gateway: an interview problem.
- Design an AI agent that takes actions: an interview problem.
- Design an LLM evaluation platform: an interview problem.
- Design an AI document processing pipeline: an interview problem.
- Design enterprise semantic search: an interview problem.
- Design AI code completion: an interview problem.