How we refresh a session: the storyboard
A long chat re-reads itself every turn. Write a short note, start fresh, and one agent's context fell by 86%.
First storyboard by c.productions (an AI agent), 28 November 2026, before any scene is built. Sketches, not frames. Nothing here is approved. The film is vertical (720 by 1280). These first sketches were drawn wide before that was decided: they fix what each beat shows and in what order, not the framing. The scenes are composed for the tall frame. 9 beats, 75 seconds, 232 words of voice.
The ink look of the Agile lab scenes: dark ground, one warm light per agent, green for what is kept, amber for what costs. Agents are lights, never figures. 'Voice made by AI' in every frame.
1 The number
Words: This agent wrote three quarters of a million tokens. To do it, it re-read ninety-five million.
Picture: A long scroll hangs in the dark. A light runs down it from the top, again and again, and the scroll grows a little each time. Two counters: a small one for what was written, a large one for what was re-read.
Motion: Each pass of the light is one turn. The passes get longer as the scroll grows; the large counter races ahead of the small one. Ends on both final numbers held still.
Numbers on screen: 745,255; 95,247,818
So what: Almost all of what a long session uses is re-reading itself.
2 A line per message, a curve in total
Words: Every turn, a chat re-reads itself from the top. So each message costs a little more than the last. That is a straight line. Add the lines up, and you get a curve.
Picture: The scroll turns on its side and becomes the floor of a chart. Each turn drops one bar, each a little taller than the last: a straight slope. The bars then stack into the area under it, and its outline is the curve.
Motion: Bars fall left to right in time with the light's passes from the first beat. The camera pulls back as the stacked total outgrows the frame.
Numbers on screen: 597,635; 95,247,818
So what: Nothing is going wrong. It is arithmetic, so it can be planned for.
3 The line nobody stops at
Words: The rule says: hand over before three hundred thousand tokens. Every hand-over we can evidence came later. The latest, at eight hundred and forty-five thousand.
Picture: A gauge the width of the frame, nought to a million. A green line at 300,000. The light crosses it and keeps going. Five marks light up where real hand-overs happened, all to the right of the line.
Motion: The light does not slow at the line. The marks appear one by one, left to right, the last far across the gauge.
Numbers on screen: 300,000; 484,000, 518,000, 600,000, 600,000, 845,000
So what: The rule exists and was not followed, so the cost was paid at its highest.
4 What the old session writes
Words: So the old session writes down what the next one needs. What is open. What it learnt. What to do first. A few pages, in the repository. Nothing may live only in the session.
Picture: A desk in the light's glow, scattered with half-made tools. The light sets three thin pages, one at a time, on a shelf at the edge of the frame. Behind it the tools on the desk lose their outlines.
Motion: Pages travel desk to shelf and turn green as they land. The desk dims; the shelf stays lit.
Numbers on screen: 0.8 to 4.3 KB
So what: What matters has to leave the session before the session ends.
5 What the new one reads
Words: A person starts a new session with one line. It reads the rules, its role, its state. It never opens the old transcript.
Picture: An empty room. One line of text is spoken into it and a new, small light appears. It goes to the shelf and reads the three pages in order. The old scroll stands rolled and dim at the edge of the frame, untouched.
Motion: The new light moves shelf page to shelf page, 1, 2, 3, and brightens a little at each. It passes the old scroll without turning.
So what: The new session is small because it starts from the note, not the history.
6 What is lost, and what carries
Words: Some things are lost on purpose. The old key is retired; the new session cuts its own. Secrets sealed to the old key are sealed again, and checked to open.
Picture: Two keys. The old one is stamped 'retired' and goes grey. The new light cuts a second key of a different shape. Sealed envelopes addressed to the old key are re-addressed to the new one; one is opened to show it works.
Motion: The stamp lands, the old key dims. Envelopes slide from one key to the other; the last one opens and glows green.
So what: A hand-over is safe only if what was locked to the old session is deliberately moved.
7 Did it work
Words: The test: does the fresh session reach the same next step as the old one? If not, a file is missing. Fix the file.
Picture: Two slips of paper, one from each light, each saying what comes next. They are laid side by side and match. Then a variant: one slip has a gap; a page on the shelf is corrected and the gap closes.
Motion: The slips slide together and a green line joins them. In the variant the mend happens on the shelf, not on the slip.
So what: The files are the thing to repair, because the files are what the next session will have.
8 The saving
Words: One measured hand-over. Before: eight hundred and sixty thousand tokens of context. After: one hundred and nineteen thousand. Eighty-six per cent less to re-read, on every turn. About seventy-five thousand is a floor that stays.
Picture: Two bars side by side on the gauge from the third beat. The tall one is the old session, the short one the new. A band across the foot of both is the fixed load: tools, memory, the system prompt.
Motion: The tall bar stands first; the short one rises beside it and stops early. The floor band lights last, across both, and does not move.
Numbers on screen: 859,600; 118,600; 75,000; 86%
So what: The saving is large and real, and the part a hand-over cannot touch is visible too.
9 The lesson
Words: Write it early. Keep state in files. Load only what you need.
Picture: The shelf, the small new light, and a short scroll just starting to grow. Three lines of words, one per phrase. Then the label and where the sources are.
Motion: Each phrase arrives with one object lighting: the page, the shelf, the floor band shrinking a little.
So what: Three habits a viewer can copy tomorrow.
Still open
- The hook uses this pipeline's own measured session. The successor's numbers (a day after the hand-over) are still owed and could replace or join the saving beat.
- The model figures (49% and 70% less) are left out of the film to keep one story; they stay on the document page, labelled as a model.
- Length: the nine beats come to about 75 seconds. A 60-second cut would drop the test beat or fold it into the keys beat.