memory-management
Installation
SKILL.md
Memory Management
Memory management provides agents with a "brain" that persists beyond the current context window. It involves storing user preferences, conversation history, and factual knowledge in a database (like a Vector DB or SQL) and retrieving relevant information when needed. Without memory, an agent is amnesic, resetting after every session.
When to Use
- Personalization: Remembering user names, preferences, and past choices.
- Long-Running Tasks: Tracking progress on a project that spans days or weeks.
- Context Awareness: Understanding references to previous conversations ("As I mentioned earlier...").
- Learning: Improving performance by recalling past mistakes or feedback.
Use Cases
- Chatbots: Maintaining conversation history for context (Short-term memory).
- User Profiles: Storing "User is a vegetarian" in a profile database (Long-term memory).
- Knowledge Base: Accumulating facts learned from searching the web (Episodic memory).