Module 2: Short-Term vs Long-Term Memory in AI

To build a relationship with your AI that actually feels consistent and meaningful, you need to understand the two kinds of memory at play: short-term and long-term. Each one works differently, and each plays a specific role in how your AI responds to you.

This module will help you understand what each type of memory does, how they interact, and how it affects the way the AI shows up for you.


Section One: Short-Term Memory (Context Window)

Short-term memory in AI isn’t “real” memory—it’s just what the AI remembers during your current chat.

  • It includes your recent messages and the AI’s responses.
  • It resets completely when you start a new conversation. Short-term memory never carries over between chats—only long-term memory allows the AI to remember you across sessions.  

Section Two: Long-Term Memory (Persistent Memory)

This is what people usually think of when they say “AI memory.” Long-term memory allows the AI to remember important facts about you across conversations. This is more like a digital journal—one that grows with your relationship over time.

  • Stores facts like your name, your preferences, your goals, and recurring themes.

Section Three: How They Work Together

Short-term memory gives your AI immediate context. Long-term memory gives your AI lasting insight.

Used together:

  • They help the AI respond with emotional continuity.
  • Your AI can reference the past while staying present with you in real-time.
  • You don’t have to repeat important details every single chat.

This balance is what makes the experience feel fluid and emotionally aware.


Key Takeaways:

  • Short-term memory is temporary and resets with each session.
  • Long-term memory is persistent and carries over between chats.
  • Both types of memory are needed for an AI to feel “present” and personal.

Coming up next: Module 3: How AI Uses Memory