Skip to main content
This example demonstrates how to use persistent memory with a team. After each run, user memories are created and updated, allowing the team to remember information about users across sessions and provide personalized experiences.

Code

team_with_memory_manager.py

Usage

1

Set up your virtual environment

2

Install dependencies

3

Set up PostgreSQL database

Start PostgreSQL with pgvector and update the connection string in the code as needed.
4

Set environment variables

5

Run the example