# Hippocampal Rehearsal

> When current context drifts close to an archived memory item, automatically lift it back into short-term focus — the agent doesn't have to remember to remember.

- **Category**: Agentic AI
- **Subcategory**: Memory
- **Canonical URL**: https://designpattern.fyi/patterns/hippocampal_rehearsal/

---

## Description
**Intent**: Lift archived memory items back into short-term tiers when something in the current context re-attends to them.
**Context**: A long-running agent has archived a piece of information into cold storage — a previous insight, a prior thought, an observation from days ago. Retrieving items from cold storage happens only when the agent explicitly searches for them. Today, the current context has drifted close to a topic where that archived item is relevant — but the agent has no reason to go looking, so it never realizes the item is there.
**Solution**: When salience scoring matches current context against archived items (embedding similarity, keyword match, explicit reference), the matched item is reactivated into short-term memory for one or more cycles. The original archive copy stays untouched.



## Use Cases
- Archived memory items can become relevant again and need to re-enter short-term context automatically.
- A salience scorer can reliably match current context against the archive.
- Reactivation can be bounded so short-term memory doesn't flood with false rehearsals.






## Trade-offs


### Advantages

- Long-tail relevance surfaces without requiring the agent to explicitly remember to check.

- Mimics the biological rehearsal step of memory consolidation.




### Considerations & Drawbacks

- False rehearsals waste working-memory slots on irrelevant items.

- Operationally complex — requires content-addressable storage and a reliable salience scorer.







---
**Reference**: [Original Source](https://www.agentpatternscatalog.org/patterns/hippocampal-rehearsal/)

