Lesson 1335 of 1570
Short-Term vs Long-Term Memory for Agents
Know which facts the agent should remember within a run vs across runs.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1The big idea
- 2scratchpad
- 3vector memory
- 4persistence
Concept cluster
Terms to connect while reading
Section 1
The big idea
scratchpad memory dies with the run; vector memory survives
Some examples
- Notes the agent jots while planning
- Facts saved about you across sessions
- Things you do not want it to remember at all
Try it!
Open your favorite AI tool and try one of the examples above. Pick the one that matches what you are actually working on this week. Spend 10 minutes, no more. Notice what worked and what did not — that's the real lesson.
Key terms in this lesson
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Short-Term vs Long-Term Memory for Agents”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Creators · 9 min
Agentic AI: Choose Short-Term vs Long-Term Memory Without Building Both
Most agents do not need a vector database — pick the simplest memory that solves the actual recall problem in front of you.
Creators · 11 min
Giving Agents a Scratchpad They Re-Read
Use a working file the agent updates and consults each step.
Builders · 40 min
Builder Capstone: Design an Agent for Your Life
No code. Just design. Pick a real task you do every week and draft a complete agent spec — goal, tools, loop, stop, approvals, and what success looks like.
