Part 5 of 11

Context Engineering

Building the full world the model sees: context assembly and routing, compression and budgets, memory and state, tool context, and testing what was actually assembled.

Chapters
6
Hours
1
Difficulty
Intermediate
  1. 5.0intermediate

    Context is more than the prompt

    The six things that go into a context window every turn, why prompt engineering only covers one of them, and what the discipline of context engineering actually owns.

    10 min
  2. 5.1intermediate

    Context assembly and routing

    Why a 1M-token window doesn't make context free, and the route-then-assemble pipeline that decides what the model actually sees.

    10 min
  3. 5.2intermediate

    Compression and context budgets

    More context isn't better context. How lost-in-the-middle and context rot degrade long prompts, and when to trim, summarize, or re-retrieve.

    10 min
  4. 5.3intermediate

    Memory and state

    What an LLM remembers between turns, between sessions, and across years, and the techniques that make each scope work without crowding the context window.

    15 min
  5. 5.4intermediate

    Tool context and metadata

    Models have no clock, no role awareness, and no sense of locale. The metadata you inject and the way you describe tools prevent whole classes of confidently wrong answers.

    15 min
  6. 5.5intermediate

    Testing and observing context

    Snapshot the assembled context, regression-test the assembly logic, and capture traces that can answer why the model saw what it saw.

    10 min