What is short term memory?

Quick answer

Short-term memory is the umbrella term for the transient, bounded forms of memory that exist only within a single task’s or conversation’s scope, covering both the working memory that tracks a task’s execution state and the conversational memory that tracks a conversation’s turns, both covered in their own dedicated articles in this collection. What unifies them under this umbrella is a shared defining property, they live entirely within a model’s context window, disappear once their scope ends, and have no built-in mechanism for surviving beyond that scope unless something within them gets deliberately promoted into the long-term memory covered elsewhere in this collection.

Summary slides
Short term memory
Why working memory and conversational memory share the same…
Why short-term memory's disappearance is a feature, not just a…
Why evaluating short-term memory requires testing within-scope…
Common mistakes teams make around short-term memory

Why working memory and conversational memory share the same underlying constraint

Despite tracking genuinely different kinds of information, working memory holding task-execution state, conversational memory holding dialogue turns, both are bound by the exact same underlying constraint, the model’s fixed context window, covered throughout this collection’s discussion of context management. Everything either form of short-term memory holds has to fit within that same limited space alongside whatever else a given request needs, the current message, retrieved content, system instructions, which means short-term memory of any kind is always competing for the same finite, shared resource rather than having its own separate, dedicated capacity.

This shared constraint is exactly why short-term memory, in either of its forms, needs the same management discipline once it grows large enough to threaten that shared budget, truncation or summarization for accumulated conversation, covered throughout this collection’s discussion of memory compression, and similar compression applied to accumulated task state once a multi-step task’s working memory grows substantial. Recognizing that both forms face this same pressure, rather than treating them as facing unrelated capacity problems, is what lets a team apply consistent, well-understood compression and management techniques across both rather than solving the same underlying problem twice, independently, for each.

Why short-term memory’s disappearance is a feature, not just a limitation

It’s tempting to think of short-term memory’s transience purely as a limitation, a shortcoming that long-term memory exists specifically to overcome, but its disappearance is actually functionally useful in its own right, not everything discussed within a single task or conversation deserves to persist indefinitely, and a system that automatically retained everything from every short-term interaction would quickly accumulate the cluttered, low-signal memory store covered throughout this collection’s discussion of memory consolidation. Short-term memory’s natural, automatic cleanup, simply disappearing once its scope ends, provides a kind of default filtering that keeps a system from needing to actively manage and curate every single piece of information it ever encounters.

This reframing matters for how a team designs the boundary between short-term and long-term memory, rather than treating short-term memory’s disappearance as something to work around wherever possible, it’s worth recognizing that this disappearance is doing real, useful work, and the deliberate promotion mechanism covered throughout this collection’s broader discussion of memory should specifically identify the minority of genuinely significant information worth rescuing from that natural disappearance, rather than trying to prevent the disappearance from happening at all.

Why short-term memory’s quality directly bounds long-term memory’s quality

Because information has to pass through short-term memory before it can ever get promoted into long-term storage, covered throughout this collection’s discussion of persistent AI memory and long-term memory, short-term memory’s own quality and completeness directly determines what long-term memory even has the opportunity to capture. If short-term memory loses or garbles information before a promotion decision ever gets made, that information never had any chance of making it into durable, long-term storage regardless of how well-designed the long-term memory system itself might otherwise be.

This dependency is why short-term memory deserves the same engineering seriousness given to long-term memory rather than being treated as a comparatively minor, throwaway concern simply because it’s transient, a system with excellent long-term memory infrastructure built on top of unreliable, poorly managed short-term memory is still fundamentally limited by whatever short-term memory actually manages to capture and hand off correctly in the first place.

Why evaluating short-term memory requires testing within-scope coherence specifically

Evaluating short-term memory well means testing whether a system maintains coherent, accurate state within a single task or conversation’s scope, correctly tracking what’s already been established, correctly avoiding contradiction of earlier statements within the same scope, connecting to the broader discussion of AI native testing covered throughout this collection. This is a genuinely different evaluation focus than testing long-term memory, which centers on whether information correctly persists and gets retrieved across separate sessions, short-term memory evaluation instead centers entirely on coherence and accuracy within one bounded interaction.

This distinction matters for building a complete testing strategy around a system’s overall memory architecture, a team that only evaluates long-term memory’s cross-session retrieval while neglecting to test short-term memory’s within-conversation coherence misses an entire category of failure, a system can retrieve long-term facts correctly while still losing track of what’s already been established earlier in the very same conversation.

Common mistakes teams make around short-term memory

1. Treating working memory and conversational memory as facing unrelated capacity problems rather than recognizing they share the same underlying context-window constraint.

2. Viewing short-term memory’s natural disappearance purely as a limitation to work around, missing the useful, automatic filtering it actually provides.

3. Underinvesting in short-term memory reliability, treating it as a minor concern despite it directly bounding what long-term memory ever has the chance to capture.

4. Evaluating memory systems only on long-term, cross-session retrieval while neglecting to test within-scope coherence specific to short-term memory.

5. Applying compression or management techniques inconsistently across working memory and conversational memory, missing that both benefit from the same underlying approach given their shared constraint.

What connects these mistakes is underestimating how much short-term memory matters in its own right, not merely as a temporary holding area on the way to long-term storage, but as the foundation that determines both what a system can accomplish within a single task or conversation and what it ever has the opportunity to remember beyond it.

The deeper point about short-term memory is that it’s not simply a smaller, less important version of long-term memory, it’s a genuinely distinct layer with its own constraints, its own natural filtering behavior, and its own direct influence over everything that eventually makes it into durable, long-term storage, and a system built with real attention to short-term memory’s own quality ends up considerably more capable, both within any single interaction and across the entire ongoing relationship long-term memory is meant to support.