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

agent_with_memory.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run Example