Skip to main content
This example shows you how to use persistent memory with an Agent. After each run, user memories are created/updated. To enable this, set enable_user_memories=True in the Agent config.

Code

cookbook/agent_concepts/memory/06_agent_with_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