Young's Mind
Ai Research

Memory Architectures

Memory Architectures

What

Give agents managed memory: an operating-system-style memory hierarchy, compressed long-term representations, and cached knowledge fusion β€” so context is never the bottleneck.

Papers

  • MemGPT β€” Towards LLMs as Operating Systems (Packer et al. 2023) β€” virtual-memory paging for LLMs: main context = RAM, external storage = disk; the model manages what to evict/promote. Enables unbounded conversation + long-horizon agents.
  • Cartridges (2025) β€” "lightweight, general-purpose long-context representations via self-study": compress past interactions into reusable modules a model loads on demand β€” knowledge carries across sessions cheaply.
  • CacheBlend β€” serving fast RAG by caching and fusing KV-cache chunks for retrieved passages; avoids recompute when the same knowledge is retrieved repeatedly.

Key ideas

  • Memory is a management problem, not a size problem β€” paging/tiering beats bigger context.
  • Compress β†’ store β†’ load-on-demand (Cartridges) is the economical path for repeated knowledge.
  • Cache reuse is a big cost lever for repeated RAG calls.

SolOS mapping

  • We already run a memory hierarchy: MEMORY.md/USER.md (hot), sessions DB (recall), Qdrant LTM (semantic), vault (source of truth), skills (procedural).
  • Adoption #4 β€” formalize promotion rules: what STM (LangGraph) content promotes to LTM (Qdrant) and what gets summarized into skills; write the rules in the fleet playbook.
  • CacheBlend lesson: docs assistant + Ask AI hit the same vault pages repeatedly β€” cache retrieved-content summaries (route-level caching already does this for APIs; extend to chat context injection).
  • Cartridges β‰ˆ our skills: self-study β†’ reusable module. We're ahead of the curve.
Copyright Β© 2026