Skip to main content
This example shows you how to use persistent memory with an Agent. During each run the Agent can create/update/delete user memories. To enable this, set enable_agentic_memory=True in the Agent config.

Code

cookbook/agent_concepts/memory/07_agentic_memory.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Set your API key

3

Install libraries

4

Run Example