AI Engineer

Intermediate · Roadmap · 36 lessons · 8 groups

Building products on top of models you did not train. Thirty-six lessons from what a token is through retrieval, agents, evaluation and safety, to the work of keeping an LLM feature alive in production.

0%

Not started

Nothing saved yet. Progress is kept in this browser until you sign in.

Start the path

What you are actually building on

4 lessons

  1. 01 / 04What is an AI engineer?A discipline that builds products on models it did not train, sitting between the ML engineer who trains them and the developer who consumes an API.23 min
  2. 02 / 04How LLMs workNext-token prediction, a learned function with billions of parameters, and why the output is a probability distribution rather than a lookup.8 min
  3. 03 / 04Tokens and tokenizationSubword tokenization, byte-pair encoding, and why token counts rather than word counts are the unit of both cost and context.7 min
  4. 04 / 04EmbeddingsDense vectors whose geometry encodes meaning, where they come from, and what they are and are not good for.9 min

Talking to a model

5 lessons

  1. 01 / 05The context windowThe window as a budget you spend rather than a setting you configure, what happens at the limit, and why a bigger one is not a strategy.10 min
  2. 02 / 05Calling a model APIMessages and roles, the request and response envelope, tokens in and out, and the error handling every production call needs.15 min
  3. 03 / 05Sampling parametersTemperature, top-k, top-p and repetition penalties — what each one does to the distribution, and when touching it is justified.15 min
  4. 04 / 05Structured outputGetting schema-conforming JSON out of a model reliably, using constrained decoding rather than asking politely and hoping.17 min
  5. 05 / 05Choosing a modelOpen weights against closed APIs, size against latency and cost, and why a benchmark leaderboard is the weakest evidence available to you.7 min

Prompt and context engineering

5 lessons

  1. 01 / 05Prompt anatomyThe parts of a working prompt — role, task, context, constraints, output format — and why structure beats the search for magic words.25 min
  2. 02 / 05Few-shot promptingZero-shot against few-shot, how to choose and order examples, and the cases where examples make the output worse.11 min
  3. 03 / 05Chain of thoughtGetting a model to work before it answers, from step-by-step prompting to reasoning models that do it internally.13 min
  4. 04 / 05Context engineeringDeciding what goes in the window and why — write, select, compress, isolate — and the failure modes of a window packed to the limit.22 min
  5. 05 / 05Prompt cachingHow a cached prefix removes repeated prefill work, how to arrange a prompt so the cache actually hits, and what it saves.9 min

Giving the model your data

5 lessons

  1. 01 / 05ChunkingSplitting documents for retrieval, and why chunk boundaries decide retrieval quality more than the embedding model does.8 min
  2. 02 / 05Vector databasesWhat a vector index actually does, how HNSW and IVF trade accuracy for speed, and when Postgres with pgvector is enough.25 min
  3. 03 / 05Similarity searchScoring, top-k, hybrid search with BM25, and re-ranking — why vector search alone underperforms on real queries.8 min
  4. 04 / 05The RAG pipelineIngest, chunk, embed, index, retrieve, re-rank, generate — the whole path, with the failure mode waiting at each stage.13 min
  5. 05 / 05RAG or fine-tuningWhich problem each one actually solves, why fine-tune it on our docs is usually the wrong instinct, and when the answer is neither.9 min

Models that take actions

5 lessons

  1. 01 / 05What is an agent?A model using tools in a loop to reach a goal — where that genuinely helps, and where a fixed pipeline is the better engineering.15 min
  2. 02 / 05Tool callingDeclaring tools, executing what the model asks for, feeding results back — and designing tools a model can actually use correctly.25 min
  3. 03 / 05The agent loopPlan, act, observe, repeat — owning the control loop, deciding when to stop, and why agents stall or run away.17 min
  4. 04 / 05Model Context ProtocolThe problem MCP solves, how hosts, clients and servers fit together, and what a standard interface changes about wiring an agent to the world.20 min
  5. 05 / 05Multi-agent systemsOrchestrators and sub-agents, handoffs, isolated context — and the honest case that one good agent usually beats five.15 min

Knowing whether it works

4 lessons

  1. 01 / 04Why evals matterWhy iterating on vibes stops working, what an eval actually is, and the error-analysis loop that turns failures into measurements.12 min
  2. 02 / 04Building an eval setSourcing real failures, labelling them, writing assertions that do not need a model, and keeping the set from going stale.27 min
  3. 03 / 04LLM as judgeGrading output with a model, aligning that judge against human labels, and the biases that make an unvalidated judge worse than none.24 min
  4. 04 / 04Tracing and observabilityWhy LLM traces are a different problem from uptime monitoring, what a span should carry, and finding the failing step in an agent run.21 min

Where it goes wrong

4 lessons

  1. 01 / 04Prompt injectionWhy instructions and data share one channel, direct and indirect injection, the lethal trifecta, and why no complete fix exists.12 min
  2. 02 / 04Guardrails and moderationInput and output checks, classifiers and moderation APIs, human review — and an honest account of what guardrails can promise.26 min
  3. 03 / 04Bias and fairnessWhere bias enters a model and a product built on one, how it is measured, and what an application engineer can actually do about it.9 min
  4. 04 / 04Privacy and data handlingHow user data moves through prompts, logs and retrieval, what provider terms actually say, and designing a system that does not leak by default.11 min

Shipping it

4 lessons

  1. 01 / 04Fine-tuningFull fine-tuning against LoRA, what adaptation teaches and what it does not, and the real cost of owning a tuned model.18 min
  2. 02 / 04Multimodal AIHow images, audio and video reach a language model, what changes in an application when the input is not text, and where the costs move.17 min
  3. 03 / 04Cost and latencyToken economics, time to first token, caching, routing and batching — the levers that decide whether an LLM feature is affordable.23 min
  4. 04 / 04Shipping and monitoringRollout and fallbacks, provider outages and rate limits, versioning prompts and models, and watching quality after launch.23 min
Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark