Memory
Long-Term Memory
Long-Term Memory enables your Lyzr agent to store and recall information across multiple sessions, making it ideal for personalization and historical context.
1. Behavior and Use Cases
-
Persistent Storage: Data remains available beyond individual sessions.
-
Cross-Session Continuity: Recall user preferences, past interactions, and historical data.
-
Use Cases:
- Personalized recommendations based on user history.
- Ongoing project assistance where past details inform future tasks.
- User profiles and preference retention (e.g., language, tone).
2. Configuration in Lyzr Studio
- Open your Agent in Studio and go to the Memory tab.
- Toggle Long-Term Memory on.
- Configure Storage Settings (e.g., database retention policy, encryption).
3. Configuration via API
Include a LONG_TERM_MEMORY feature object in your agent definition JSON: