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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help