← All IntelClip / AI AgentsThe session as an external, non-destructive context object
From Claude for Long-Horizon Tasks — Lance Martin, Anthropic · ≈5:21
Contrasts with naive compaction, which throws away everything not summarized — an append-only session lets the model re-fetch old context, echoing the recursive language models work.
What’s in it
- Contrasts with naive compaction, which throws away everything not summarized — an append-only session lets the model re-fetch old context, echoing the recursive language models work.
Clip transcript
manage agents architecturally. And I think an interesting thing that falls out of this is related to you guys may have kind of seen or come across the recursive language models work. The session becomes an external context object that the model interrogates. And this has all sorts of benefits for context management. So, you think about it, when you're doing something like compaction, you're choosing some logic to retain some amount of context, and naively in a typical in a kind of a typical step, you're discarding all the context that you didn't compact. In this architecture, and also more broadly with recursive language models, the idea is that the context object is persistent and is unadulterated. So, it's append-only. And the model can always go back and fetch old context. So, basically creates a very very nice architecture for context engineering because the core context object is immutable in the sense that it's it's it's non-destructive and you can only and you only append to it over time. So, we've seen this be to be quite nice in terms of long horizon context engineering as well.
Comments
Sign in to comment.
Loading comments…