Skip to main content
This example demonstrates how to use agentic memory with a team. Unlike simple memory storage, agentic memory allows the AI to actively create, update, and delete user memories during each run based on the conversation context, providing intelligent memory management.

Code

team_with_agentic_memory.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