Mímir: A Python Memory System Built on 21 Neuroscience Mechanisms

Mímir is a Python memory system for AI agents built on 21 mechanisms from published cognitive science research, developed as an alternative to traditional RAG approaches that treat memory like a database.
Key Neuroscience Mechanisms
- Flashbulb memory (Brown & Kulik 1977) – high-arousal events get permanent stability floors
- Reconsolidation (Nader et al 2000) – recalled memories drift 5% toward current mood
- Retrieval-Induced Forgetting (Anderson 1994) – retrieving one memory actively suppresses similar competitors
- Zeigarnik Effect – unresolved failures stay extra vivid, agents keep retrying what didn't work
- Völva's Vision – during sleep_reset(), random memory pairs are sampled and synthesised into insight memories the agent wakes up with
- Yggdrasil – a persistent memory graph with 6 edge types connecting episodic, procedural, and social memory into a unified knowledge structure
Technical Implementation
Retrieval uses a hybrid BM25 + semantic + date index with 5-signal re-ranking (keyword, semantic, vividness, mood congruence, recency). This approach finally got MSC competitive with raw TF-IDF after keyword-only systems were beating purely semantic ones.
Benchmark Results
Tested on 6 standard memory benchmarks (Mem2ActBench, MemoryBench, LoCoMo, LongMemEval, MSC, MTEB):
- Beats VividnessMem on Mem2ActBench by 13% Tool Accuracy
- 96% R@10 on LongMemEval
- 100% on 3 of 6 LongMemEval categories (knowledge-update, single-session-preference, single-session-user)
- MSC essentially tied with TF-IDF baseline (was losing by 11% before the hybrid bridge)
Installation and Architecture
Install via pip install vividmimir. The system orchestrates two separately published packages – VividnessMem (neurochemistry engine) and VividEmbed (389-d emotion-aware embeddings) – but works standalone with graceful fallbacks if you don't want the full stack.
The repository and full benchmark results are available at github.com/Kronic90/Mimir.
📖 Read the full source: r/LocalLLaMA
👀 See Also

DecisionNode: CLI and MCP Server for Semantic Decision Storage
DecisionNode is a local-only CLI and MCP server that stores structured decisions as JSON, embeds them as vectors for semantic search, and makes them accessible across AI tools via MCP. It's MIT licensed and designed to work with Claude Code, Cursor, Windsurf, Antigravity, and other MCP clients.

Cold Validation Architecture: Dual-Agent Code Review System Open-Sourced
Open-sourced system uses two separate AI agents for code validation: one builds code, another reviews it with zero context about the builder's reasoning. The reviewer only sees plan documents, code diffs, and test outputs.

Local Voice Control Setup for AI Agents on Apple Silicon
Setup local voice control for AI agents using Parakeet STT and Kokoro TTS on Apple Silicon for fast and cloud-independent interactions.

ai-codex: Pre-index your codebase to save Claude tokens
ai-codex is a tool that generates compact markdown indexes of your codebase, allowing Claude Code to skip the initial exploration phase that typically consumes 30-50K tokens per conversation. It creates five files covering routes, pages, libraries, schemas, and components.