LESSON 23.07 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Memory types for agents
See where an agent keeps what it knows, and how a message finds it.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 23.07 · AGENT MEMORYWINDOW 24 · 4 OF 5 TURNS · 22 TOKENS
01
Stage 1 of 6 · Conversation
Conversation memory keeps the turns of this session. A 24-token window keeps the newest 4 turns, so t1 drops out.
Explain it simply
Each chip is one turn of the chat, with its token count. The model can read only so many tokens at once. So the window keeps the newest turns that fit, and the oldest ones fall out.
Five turn chips. The window keeps 4 turns, 22 of 24 tokens. Turn t1 is outside the window.
turns and memorieswindow, top kdropped, missscores, retrieved
Toy: a trip agent, 5 turns, 4 episodes, 3 facts; 1 token per word
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The window keeps the newest turns whose tokens fit in W.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.