15 · The Workbench

Context Compaction

Shrinking what the model sees

Summarizing or dropping older messages and tool output so long agent runs stay inside the context window without losing the thread entirely.

Concrete example

After twenty tool calls, the harness replaces raw logs with a short summary of what was tried.

Why it matters

How agents survive beyond one window of memory.