Compaction and summarisation

Three hours into a coding session, the agent's context window is nearly full. Stop, and the progress is gone; carry on, and the request fails. Compaction rewrites the history into a short, faithful summary so the agent can keep going, as long as the summary keeps the decisions that matter.

In this lesson you'll learn to

Create a free account to open this lesson

It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.