AgentMemory and TeamMemory classes which is now deprecated but still available to use.
Memory V2 is a more powerful and flexible memory system that allows you to manage message history, session summaries, and long-term user memories.
How to Continue Using AgentMemory (Memory V1)
If you want to continue usingAgentMemory and avoid breaking changes, you can do so by updating your imports. By default, the Agent now uses the Memory class:
Key Memory V2 Changes
-
Accessing Messages:
- Before:
- Now:
- Before:
-
User Memories:
-
Before:
-
Now:
-
Before:
-
Session Summaries:
-
Before:
-
Now:
-
Before: