Concept course

Become an AI Engineer

The path from "I write backend code" to "I ship production AI features": how LLMs work, prompting, retrieval, evals, agents, cost and latency, and the interview. Read in order, one stage at a time.

  • 36 lessons in 8 stages
  • ~10 hours of reading
  • 21 with a hands-on coding twin
Concepts · you are here AI Engineer Reading lessons: the ideas, the trade-offs and the interview framing. No code to set up.
Hands-on Agentic AI 24 lessons where you build and test an agent in Python. Lessons marked "+ hands-on lesson" below have a twin there.

How each lesson works

  1. 1. Check what to read firstThe card at the top lists prerequisites. Skim those if a term is new.
  2. 2. Read the deep diveEach lesson goes from the naive approach to the production one, with diagrams.
  3. 3. Build it, then test yourselfJump to the hands-on twin where there is one, and finish with the interview questions.

Syllabus

Eight stages. New to AI? Start at stage 1. Already shipping? Jump to stage 3 or 4.

OrientationStage 1 · 4 lessons · about 1h 2m
  1. The AI Engineer Role (vs ML Engineer, vs Data Scientist) ~14 min
  2. How LLMs Actually Work (Next-Token Prediction, Sampling) ~16 min
  3. The Math You Actually Need (and What to Skip) ~19 min
  4. Python for AI Engineers (Async, Bounded Concurrency) ~13 min
Working With ModelsStage 2 · 5 lessons · about 1h 20m
  1. LLM APIs and SDKs (Roles, Streaming, Error Classes) + hands-on lesson ~15 min
  2. Tokens, Context Windows, and Cost Math + hands-on lesson ~16 min
  3. Prompt Engineering, Systematically ~17 min
  4. Structured Outputs (JSON Mode, Constrained Decoding) + hands-on lesson ~16 min
  5. Model Selection and Routing (Cascades, Self-Hosting) ~16 min
RetrievalStage 3 · 6 lessons · about 1h 36m
  1. Embeddings and Semantic Similarity + hands-on lesson ~15 min
  2. Vector Databases and ANN Search (HNSW, IVF-PQ) + hands-on lesson ~17 min
  3. Document Parsing and Chunking ~15 min
  4. RAG End to End + hands-on lessonPro ~16 min
  5. Hybrid Search and Reranking (BM25, Cross-Encoders) + hands-on lessonPro ~16 min
  6. Advanced Retrieval (Multi-Hop, GraphRAG, Agentic Search) + hands-on lessonPro ~17 min
Evaluation and ReliabilityStage 4 · 5 lessons · about 1h 35m
  1. Evals: The Core Discipline + hands-on lessonPro ~8 min
  2. LLM-as-Judge and Automated Grading + hands-on lessonPro ~20 min
  3. Hallucination, Grounding, and Citations Pro ~23 min
  4. Prompt Injection, Jailbreaks, and the OWASP LLM Top 10 + hands-on lessonPro ~23 min
  5. Tracing and Observability for LLM Apps + hands-on lessonPro ~21 min
AgentsStage 5 · 4 lessons · about 1h 27m
  1. Tool Calling Fundamentals + hands-on lessonPro ~23 min
  2. Agent Architectures (ReAct, Planner-Executor, Multi-Agent) + hands-on lessonPro ~22 min
  3. Model Context Protocol and Tool Ecosystems + hands-on lessonPro ~20 min
  4. Agent Memory, State, and Durable Execution + hands-on lessonPro ~22 min
CustomizationStage 6 · 4 lessons · about 1h 13m
  1. Fine-Tuning: When, Why, and How (LoRA, QLoRA) Pro ~18 min
  2. RLHF, DPO, and Preference Tuning Pro ~18 min
  3. Distillation and Small Models Pro ~17 min
  4. Synthetic Data Generation Pro ~20 min
ProductionStage 7 · 6 lessons · about 1h 54m
  1. Inference Serving (Continuous Batching, KV Cache, vLLM) Pro ~18 min
  2. GPU Capacity and Cost Engineering Pro ~20 min
  3. Latency Engineering for LLM Apps + hands-on lessonPro ~21 min
  4. Prompt and Semantic Caching + hands-on lessonPro ~18 min
  5. Deploying and Rolling Out AI Features + hands-on lessonPro ~18 min
  6. Multimodal (Vision, Audio, Documents) Pro ~19 min
Getting HiredStage 8 · 2 lessons · about 41m
  1. Portfolio Projects That Get You Hired + hands-on lessonPro ~20 min
  2. The AI Engineer Interview + hands-on lessonPro ~21 min

What an AI Engineer Actually Is

An AI Engineer works at the product layer — you take a foundation model you did not train and build reliable systems on it. An ML Engineer works at the model layer — training, tuning, and serving the models themselves. Both are real engineering; they are different jobs, and the first one is where most hiring currently sits.

The good news for anyone already writing backend code: you own most of the skill surface already. API design, idempotency, retries, queues, caching, observability, cost control — all of it transfers. What is new is that one of your dependencies is non-deterministic, bills per token, and will return a confidently wrong answer in a perfectly valid response format.

You do not need a PhD, the ability to derive backpropagation, or to train a model from scratch. You do need the six bits of maths in topic 3, an accurate mental model of how these systems fail, and the discipline to measure instead of guess.


The Five Skills That Get Screened

Job postings vary wildly in wording but converge on five clusters. This track is weighted toward them, which is why evaluation gets five topics and prompt tricks get one.

Skill cluster Why it matters Start here
Evals The load-bearing skill, and the one most self-taught candidates skip. Without a measurement you cannot tell an improvement from a regression Evals
Retrieval architecture Retrieval quality caps answer quality. Most “the model is dumb” bugs are retrieval bugs RAG End to End
Agent orchestration Letting a model act without the system becoming unbounded or unpredictable Tool Calling
Cost and latency Model calls are the slowest, most expensive dependency most products have shipped Tokens and Cost Math
AI security Prompt injection has no complete fix, so the discipline is bounding the damage AI Security

—## Curated Playlists

Three ordered routes through the same 0 topics. Pick one based on what you need next, or read the syllabus above in order.

Crash Course

10 topics, about a week. The shortest path to shipping something real and knowing whether it works. Skips agents, tuning, and self-hosted serving entirely.

  1. The AI Engineer Role
  2. How LLMs Actually Work
  3. LLM APIs and SDKs
  4. Tokens and Cost Math
  5. Prompt Engineering
  6. Structured Outputs
  7. Embeddings
  8. RAG End to End
  9. Evals
  10. AI Security

GenAI Product Track

16 topics. For building user-facing features on foundation models. Heavy on retrieval and evaluation, which is where these products actually succeed or fail.

Topics 1 and 2, then 5 through 18 in order — orientation, the full model-interaction surface, all six retrieval topics, then evals, judges, and grounding.

Start at The AI Engineer Role and read straight through to Hallucination and Grounding, skipping topics 3 and 4 if your Python and maths are already solid.

Production AI Track

12 topics. For engineers who already have something working and now have to operate it at scale, on a budget, on call.

  1. Evals
  2. AI Security
  3. Tracing and Observability
  4. Tool Calling
  5. Agent Architectures
  6. Agent Memory and State
  7. Inference Serving
  8. GPU Cost Engineering
  9. Latency Engineering
  10. Prompt and Semantic Caching
  11. Deploying AI Features
  12. The AI Engineer Interview

How Long This Takes

An estimate, not a promise. It assumes you already code professionally, you are studying part time, and you are building rather than only reading.

Period What you cover What you can build
Weeks 1-4 Stages 1 and 2 A useful single-call feature with validated structured output
Months 2-3 Stage 3 and the start of Stage 4 A full RAG pipeline plus your first real eval suite
Months 3-5 Rest of Stage 4, Stage 5, parts of Stage 7 A traced, guarded, tool-using system inside a latency and cost budget
Months 5-8 Stage 6 or deeper Stage 7, then Stage 8 A measured portfolio project and interview readiness

Roughly six months to solid interview readiness. The curve is steepest in months 2 and 3, because retrieval quality is genuinely fiddly and that is where most people quit. Anyone selling a weekend transition is selling a demo, not the job.


The One Habit That Matters

Write an eval set early, even a bad one. Fifty labelled cases from real inputs will teach you more than fifty hours of reading, because it converts every later change from a guess into a measurement. Teams that ship reliable AI features are not the ones with the cleverest prompts — they are the ones whose eval set grows every week from real failures.


  • Design ChatGPT — the worked system design for an AI chat product: streaming, GPU scaling, context management
  • System Design Concepts — caching, queues, idempotency, observability. The fundamentals underneath every AI system
  • HLD Problems — system design practice for the architecture round
  • DSA Problemset — the coding round is still an ordinary coding round