AI Navigate

CraniMem: Cranial Inspired Gated and Bounded Memory for Agentic Systems

arXiv cs.AI / 3/18/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • CraniMem introduces a gated and bounded multi-stage memory design for agentic LLM systems to preserve state across long-running workflows.
  • It combines goal-conditioned gating and utility tagging with a bounded episodic buffer for near-term continuity and a structured long-term knowledge graph for durable semantic recall.
  • A scheduled consolidation loop replays high-utility traces into the graph while pruning low-utility items, keeping memory growth in check and reducing interference.
  • On long-horizon benchmarks with clean inputs and injected noise, CraniMem is more robust than a Vanilla RAG and Mem0 baseline and exhibits smaller performance drops under distraction; code is publicly available on GitHub and PyPI.

Abstract

Large language model (LLM) agents are increasingly deployed in long running workflows, where they must preserve user and task state across many turns. Many existing agent memory systems behave like external databases with ad hoc read/write rules, which can yield unstable retention, limited consolidation, and vulnerability to distractor content. We present CraniMem, a neurocognitively motivated, gated and bounded multi-stage memory design for agentic systems. CraniMem couples goal conditioned gating and utility tagging with a bounded episodic buffer for near term continuity and a structured long-term knowledge graph for durable semantic recall. A scheduled consolidation loop replays high utility traces into the graph while pruning low utility items, keeping memory growth in check and reducing interference. On long horizon benchmarks evaluated under both clean inputs and injected noise, CraniMem is more robust than a Vanilla RAG and Mem0 baseline and exhibits smaller performance drops under distraction. Our code is available at https://github.com/PearlMody05/Cranimem and the accompanying PyPI package at https://pypi.org/project/cranimem.