Hierarchical Memory

Three-tier hierarchical memory (Letta / MemGPT pattern) — core / recall / archival. Core holds a small, fast, frequently-accessed working set (e.g. core_limit=2000 tokens). Recall holds raw interaction history for "what did we talk about yesterday" questions. Archival holds effectively unlimited overflow, still searchable. Make forgetting and archiving explicit design choices, not afterthoughts. Use when an agent must feel consistent across long sessions and the context window is the scarcest resource. NOT for one-shot agents (no persistence needed), NOT for event logs (use append-only kafka-style), NOT when every fact is equally important (then a flat store is correct).

AnthonyAlcaraz 467372b 3 files · 33.3 KB Updated

File contents

AnthonyAlcaraz/agentic-graph-rag-skills/tree/main/skills/memory/hierarchical-memory commit 467372bf9c

Frequently asked questions

npx skillmds@latest add anthonyalcaraz/hierarchical-memory