PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 14, 20260 citationsOpen Access

mnemos: Biomimetic Memory Architectures for Large Language Model Agents

View Full Paper
AMAnthony MaioMining Institute

Key Points

  • To enhance memory systems for large language model agents using neuroscience-inspired mechanisms.
  • Developed mnemos, an open-source library in Python.
  • Implemented five memory mechanisms: surprisal gate, mutable RAG, affective router, sleep daemon, and spreading activation.
  • Conducted ablation studies to assess each module's impact.
  • Surprisal gate reduced stored noise by 40% at default threshold.
  • Affective routing enabled perfect state-congruent retrieval in controlled tests.
  • Spreading activation reached 4/4 nodes in a concept chain with 20% decay compared to 1/4 at 90% decay.

Abstract

Current memory systems for LLM agents rely on appendonly vector stores that grow monotonically, fail to filter noise at ingestion, and retrieve by semantic similarity alone—ignoring the cognitive state of the user and the associative structure of stored knowledge. We present mnemos, an open-source Python library that implements five neuroscience-inspired memory mechanisms as composable modules: (1) a surprisal gate based on predictive coding theory that filters low-information inputs at write time; (2) mutable RAG that reconsolidates memories on retrieval, solving the stale-fact problem; (3) an affective router that blends emotional-state similarity into retrieval scoring; (4) a sleep daemon that consolidates episodic interactions into semantic abstractions; and (5) spreading activation over an associative memory graph. We provide ablation studies demonstrating each module’s contribution, showing that the surprisal gate reduces stored noise by 40% at the default threshold, affective routing achieves perfect statecongruent retrieval in controlled settings, and spreading activation with 20% decay reaches 4/4 nodes in a concept chain versus 1/4 at 90% decay. mnemos is MCP-native, supports three storage backends (inmemory, SQLite, Qdrant, neo4j), and includes a memory safety firewall. All code is MIT-licensed and available athttps://github.com/anthony-maio/mnemos.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Anthony Maio (2026) studied this question.

synapsesocial.com/papers/69b4fb9db39f7826a300bf94https://doi.org/10.5281/zenodo.18990084
Ask AI
Helpful
Bookmark
Share
View Full Paper