Guiding Principle: If I change X in my memory architecture, what happens to Y in my system's retrieval quality, coherence, or operational safety?
Reference Platform: NVIDIA DGX Spark (GB10 Grace Blackwell Superchip)
Depends on: Section 5A (Context Budget & Lifecycle), Section 3A.2 (KV Cache Mechanics)
Feeds into: Section 6 (Orchestration), Section 9 (Governance)
Last verified: 2026-04-14
Verification scope: Memory taxonomy (Graph-based Agent Memory survey, CoALA, Soar/ACT-R), MemGPT/Letta, Generative Agents, Synapse (spreading activation), retrieval systems (chunking studies, Self-RAG, CRAG, GraphRAG/LazyGraphRAG), embedding models (e5-Mistral, gte-Qwen2, Matryoshka, Late Chunking), write/read policies (ESAA, MIF), drift/staleness, storage backends (Qdrant, LanceDB, sqlite-vec), PII (RECAP, MEXTRA, ab-ai/pii_model)
Version: v0.2
Section 5A explained how to manage what happens inside the context window — budget allocation, compression, eviction, session resurrection.
This section covers what lives outside: the persistent memory systems that give an agent knowledge, experience, and operational continuity beyond a single conversation.
A context window is an execution buffer, not a memory system.
The difference matters. Context is ephemeral — it dies when the session ends or the engine restarts. Memory persists. An agent without external memory starts every conversation from scratch. An agent with bad external memory confidently injects stale facts, irrelevant documents, or hallucinated history into its context — which is worse.
Two design principles run through every subsection below:
Separate by type. Knowledge, experience, and operational state have different storage needs, retrieval patterns, and lifecycles. Mixing them in one store tends to produce retrieval pollution unless strong type-aware filtering exists.
Small specialists alongside the main model. Embedding models, re-rankers, PII detectors, memory controllers — these are 0.1–7B models that run on CPU or a small memory partition while the main LLM owns the GPU. This pattern appears throughout 5B because it is the practical architecture for single-node systems with a shared 128 GB / 273 GB/s budget.
Scope boundary:
- 5A = What happens inside the context window. The lifecycle.
- 5B = What lives outside. Storage, retrieval, policies, aging.
- 3C.2.1 = RAG as a model specialization. What makes a model good at retrieval.
- 6 = Orchestration. How memory is consumed by agent workflows.
- 9 = Governance. Who authorizes memory writes, what gets logged.