cs.AIMar 3, 2026

CraniMem: Cranial Inspired Gated and Bounded Memory for Agentic Systems

Authors: Pearl Mody, Mihir Panchal, Rishit Kar, Kiran Bhowmick, Ruhina Karani

Organizations: Dwarkadas Jivanlal Sanghvi College of Engineering

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.

Figures & tables

Explore similar work

CardsList
  1. Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents

    Jul 15, 2026Eric Hanchen Jiang, Zhi Zhang, Yuchen Wu +11Persistent Memory for Language ModelsMemory Management for LLM Agents

  2. TRUSTMEM: Learning Trustworthy Memory Consolidation for LLM Agents with Long-Term Memory

    Jun 23, 2026Tianyu Yang, Sudipta Paul, Vijay Srinivasan +2LLM Agent MemoryMemory Consolidation for LLM Agents

  3. MemFit: Efficient Long-Term Agentic Memory

    Oct 1, 2026Mitchell Piehl, Muchao YeLLM Agent MemoryPersistent Memory for Language Models