16/17
Part 7 of 7 · Follow-upsLearn and do
A long task fills the context, so summarize as you go
An agent working through a long task piles up tool results until the context fills. Anthropic describes compaction: summarize a conversation nearing the context limit and start a new context window with the summary.
The agent works through 40 returns in one run and nears the context limit. What should the summary keep?
Pick an answer above to see the rest