Skip to main content
A personal assistant that remembers users across conversations using MemoryManager. The agent captures names, hobbies, and preferences, then uses that context in future chats.
agent_with_user_memory.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as agent_with_user_memory.py, then run:
Full source: cookbook/05_agent_os/interfaces/slack/agent_with_user_memory.py