Skip to main content
Set enable_agentic_memory=True to give an agent the update_user_memory tool. Passing MemoryManager(delete_memories=True) lets the tool delete memories for the current user_id, in addition to adding and updating them.

Code

agentic_memory.py

Usage

1

Set up your virtual environment

2

Set your API key

3

Install dependencies

4

Run example