Skip to content
CoursesTrack
1 free lesson15 simulations

LLMs, Prompt Engineering & Context Engineering

How LLMs work, how to instruct them, and how to fill their context.

Level
Intermediate
Modules
6
Lessons
22
Total time
5h 41m
LLMs, Prompt Engineering & Context Engineering
Tools you'll use
  • Python
  • Claude
  • OpenAI
  • Gemini

After this track you can

  • Explain tokens, attention and the context window correctly
  • Write testable prompts that return structured output
  • Build RAG that can be measured rather than RAG that feels good
  • Write the eval set before the first prompt

Tokenisation, attention and sampling — enough to know why a model answers the way it does. Then testable prompt engineering, context engineering (what goes in the context window, RAG, memory), building on the APIs, and evaluation. That last part is the least taught and the most decisive: nearly every LLM project fails not because the model was not clever enough but because nobody could show the output was getting better.

Read a free lesson: How an LLM Reads Your Prompt

What you'll learn, module by module

6 modules · 22 lessons

Every module and lesson in this track. Lessons marked free are open to everyone; the rest open once you own the track.

Every lesson in this track, with summaries
  1. 01

    Tokens, embeddings, attention and next-token prediction — the mechanics that explain almost every LLM behaviour.

    1 free lesson4 lessons1h 4m3 simulations
    1. 1How an LLM Reads Your PromptFree
    2. 2Next-Token Prediction and Sampling
    3. 3Context Windows and Token Costs
    4. 4Choosing a Model
  2. 02

    Clear instructions, examples, step-by-step reasoning and structured output — proven techniques, no incantations.

    4 lessons58 min1 simulation
    1. 1Clear Instructions and Roles
    2. 2Few-Shot Examples
    3. 3Reasoning and Chain-of-Thought
    4. 4Structured Output
  3. 03

    What goes into the context window, where it comes from and in what order — the core skill of building LLM applications.

    4 lessons1h 4m2 simulations
    1. 1What Goes in the Context
    2. 2Retrieval-Augmented Generation (RAG)
    3. 3Long-Context Pitfalls
    4. 4Memory and Conversation State
  4. 04

    Calling APIs, streaming, tool calling, caching, and keeping cost and latency under control in production.

    4 lessons1h 6m5 simulations
    1. 1Your First API Call
    2. 2Tool Calling
    3. 3Cost, Latency and Caching
    4. 4Retries and Rate Limits
  5. 05

    Eval sets, LLM-as-judge and regression tests for prompts — replacing "looks good to me" with a number.

    3 lessons44 min1 simulation
    1. 1Building an Eval Set
    2. 2LLM as a Judge
    3. 3Regression-Testing Prompts
  6. 06

    Hallucination, prompt injection and guardrails — the risks to understand before an LLM app meets users.

    3 lessons45 min3 simulations
    1. 1Hallucinations and Grounding
    2. 2Prompt Injection
    3. 3Guardrails and Monitoring

Try a simulation from this track

The real one, from a lesson — it runs in your browser. No account needed.

Save with a career-path bundle

This track is part of a larger path. Buy the whole path as a bundle and every track in it costs 40% less.

Career-path bundle40% off

AI Engineer Career Path

  1. 1Python for Data Science
  2. 2Introduction to Deep Learning & Neural Networks
  3. 3LLMs, Prompt Engineering & Context Engineering
  4. 4Building AI Agents: Harness Engineering
  5. 5MLOps: Deploying Machine Learning & Deep Learning Models
  6. 6Computer Vision with Deep Learning
  7. 7Natural Language Processing (NLP)
Lifetime access
$9
Buy