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.
AgentMemory
and avoid breaking changes, you can do so by updating your imports. By default, the Agent now uses the Memory
class: