Observational Memory
Observational Memory is Mastra's innovative memory system designed for long-context agentic memory. It utilizes two background agents—an Observer and a Reflector—to monitor agent conversations and maintain a dense observation log, effectively replacing raw message history as it grows. This approach enhances performance by compressing context and ensuring a stable context window.
Observational Memory is Mastra's innovative memory system designed for long-context agentic memory. It utilizes two background agents—an Observer and a Reflector—to monitor agent conversations and maintain a dense observation log, effectively replacing raw message history as it grows. This approach enhances performance by compressing context and ensuring a stable context window.
- 01Log-based message format for observations
- 02Three-date model for temporal reasoning
- 03Emoji-based prioritization for event importance
- 04Stable context window for prompt caching
- 05Compression of raw message history into dense observations