Motion Design · Sep 24, 2026
I was inspired by this blog from and wanted to dive deeper into how context management works in…
I was inspired by this blog from and wanted to… by Sabhya Chhabria, credited to Claude Opus 5.5. Watch the Motion Design video and visit the original X post.
Sabhya Chhabria@sabhyac267
View on XI was inspired by this blog from and wanted to dive deeper into how context management works in always on / persistent / long horizon agents like @bot @Muse and Instinct Unlike coding agents, persistent agents don't have the notion of 1 thread = 1 task. It's just 1 = N tasks. You can switch tasks midway, leave things unfinished, come back weeks later and pick up older tasks. It can get messy. - each turn, the model sees a short profile of you, your open tasks, relevant context from earlier sessions, and the recent messages verbatim (similar to the supermemory article) - when the context widow reaches some limit (say 70%) this triggers a compaction. The oldest turns get folded into the "running recap" and some window of k latest messages stay verbatum. - when the chat goes quiet / on a fixed timer, a background job is triggered to distill the conversation into episodic + long term memory. The running recap can be disacarded since it's been distilled into memory. - when you come…
The prompt behind it.
The creator has not shared a public prompt. Visit the original post for more about this work.
Video and prompt by Sabhya Chhabria. Original post ↗



