Agent memory: short-term, long-term and notes
You told the assistant last week that you're vegetarian, and today it suggests a steak house. It didn't forget; it never remembered. Models keep nothing between calls, so memory is something you build, and the hard parts are deciding what to save, when to bring it back, and what to forget.
In this lesson you'll learn to
- Distinguish short-term memory (the context), long-term memory (an outside store) and working notes, and the kinds of things each holds.
- Design a long-term memory store, including when to write memories and how to retrieve the relevant ones.
- Use scratchpads, to-do lists and memory files so an agent keeps track of a task across steps and sessions.
- Decide what to update, expire or delete, and handle privacy, user control and injected memories.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.