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 X
Opus 5.5
6 likes · 499 views on X, checked Oct 7, 2026
From the creator’s post · Sabhya Chhabria on X
I 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…
From the creator

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 ↗

Is this your work? Add the badge

Paste this on your site or README to link people to this page.

Featured on motif
<a href="https://createmotion.io/motions/x-2103191063976706472/"><img src="https://createmotion.io/featured-on-motif.svg" alt="Featured on motif" width="188" height="44"></a>