Skip to main content
Create an agent that remembers past conversations using a SQLite-backed memory store.
1

Create the agent

agent_memory.py
2

Install dependencies

3

Export your API key

4

Run

The agent stores facts from the first conversation and recalls them in the second.
For quick testing without persistent storage, use memory=True: