Memory concepts: short-term vs long-term
Notebook· 03.01· 90–120 min· Lesson 27 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Explain why a model (and an agent without a checkpointer) forgets everything between calls.
- Tell apart thread-scoped memory (state + checkpointer) and cross-thread memory (store).
- Classify memories as semantic, episodic or procedural, and choose profile vs collection.
- Decide when to write memories: in the hot path or in the background.
- Explain why
ConversationBufferMemoryand friends are gone, and what replaces them. - Jupyter skill: develop
src/masterylive with%load_ext autoreload+%autoreload 2.
Before you start
Module 02 (create_agent, ToolRuntime).
Python in this lesson
Python guideNew hereuuid
