CourseAgentic AI Engineer: The Complete Course · Module 7: Context Engineering · part 41 of 97
Part 41 · Module 7: Context Engineering

Lesson 2: Nine ways to keep the agent's context small

30 min read·13 Oct 2026
Module 7 · Lesson 2 · About 55 minutes · Needs: Module 5, Lesson 1 (the loop and ScriptedModel) and Module 3 (the eight tools)

The situation

It is Tuesday 26 May 2026, week 7. Priya wants the agent to work the morning queue as one shift, in one conversation, so it can see that R-1006 repeats R-1001. Marta opens the cost view and frowns: every call resends the whole shift so far.

One fact must survive the morning. R-1001 is Aisha's robot vacuum, order 5521: return RET-001, label LBL-001, and a $129.00 refund waiting for Marta. This lesson keeps that fact sharp while the context stays small, using nine techniques, traced on this one shift.

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.