Managing long contexts in agentic coding systems
cto.new·3h·
Discuss: Hacker News
Flag this post

There has been a lot of chatter in the coding agent world over the last few months about context engineering and managing long contexts. The defining work on this is probablyAnthropic’s blog post, but the thing that prompted me to write this post wasCognition’s post about their fast context retrieval models and@swyx’s tweet about it. In this article I’m going to cover existing strategies and some of our thinking about how to implement these with some modernizations and other improvements.

Existing strategies

Compaction

A lot has been written about c…

Similar Posts

Loading similar posts...