update_memory_on_run=True in the Agent config.
Code
agent_with_memory.py
Usage
1
Set up your virtual environment
2
Set your API key
3
Install dependencies
4
Run Example
Give agents persistent memory across sessions.
update_memory_on_run=True in the Agent config.
Set up your virtual environment
Set your API key
Install dependencies
Run Example