Log inStart free
LESSON 23.08 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

The memory write path

Watch an agent turn a chat into memories it can fix, forget and find.


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/mo
EXPLAINER · 23.08 · MEMORY BAY11 TURNS · 44 WORDS
01
Stage 1 of 6 · Turns arrive
A user sends 11 turns to the agent. Some turns hold a fact, and some are small talk.
Explain it simply

Each line is one thing the user said, oldest at the top. Some lines tell the agent something worth keeping, like a city or an allergy. Others, like the weather, are small talk. The agent can't keep every word forever, so it needs a write path.

Eleven turns from one user, one per row, oldest at the top.

turns, facts, memoriesimportance, forget lineforgotten, deletedsummary, retrieved
turns1My name is Maya.2I live in Paris.3I am allergic to peanuts.4Nice weather today.5I like jazz.6I am vegetarian.7I love jazz.8I moved to Lisbon.9I have a cat called Leo.10Traffic was bad today.11I no longer like jazz.turns1My name is Maya.2I live in Paris.3I am allergic to peanuts.4Nice weather today.5I like jazz.6I am vegetarian.7I love jazz.8I moved to Lisbon.9I have a cat called Leo.10Traffic was bad today.11I no longer like jazz.
Toy: 11 chat turns from one user, then one query
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
W=∑twtW = \sum_t \sy{w}{data}{w_t}
W=44W = 44

The word counts of all turns, added up.

Common mix-ups

MYTHKeeping every fact is the safest memory.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With consolidation on and a half-life of 2, does recency retrieval keep the peanut warning?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

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.