scrypster/muninndb

The cognitive database. A new class of data storage. Not a vector store, not a graph DB, not a RAG wrapper. Ebbinghaus decay, Hebbian learning, and Bayesian confidence are engine-native primitives. Memories evolve on their own. MCP-native. Single binary.

What it solves

MuninnDB is a cognitive memory database designed to provide AI agents and applications with persistent, human-like memory. Unlike traditional databases that store data statically, MuninnDB manages "memory traces" (engrams) that evolve over time, strengthening when used and fading when ignored, mimicking biological memory processes.

How it works

The system uses a 6-phase activation pipeline to retrieve relevant memories based on context. It combines full-text and vector search with several cognitive primitives:

  • Hebbian Learning: Automatically forms associations between memories that are activated together without requiring a predefined schema.
  • Temporal Weighting: Recalculates relevance based on how recently and frequently a memory has been accessed (Ebbinghaus decay).
  • Predictive Activation: Tracks sequential patterns to surface the next likely memory before it is explicitly requested.
  • Bayesian Confidence: Tracks the certainty of each memory, increasing with reinforcement and decreasing with contradictions.

It is delivered as a single binary with zero dependencies and supports multiple protocols including MCP (Model Context Protocol), REST, gRPC, and a proprietary binary protocol (MBP).

Who it’s for

Developers building AI agents, LLM-powered applications, and tool-integrated AI environments (like Cursor, Claude Desktop, or Windsurf) who need a memory system that handles association and temporal relevance automatically.

Highlights

  • Plug-and-Play AI Integration: Built-in support for MCP, allowing it to be added to AI tools with minimal configuration.
  • Zero Dependency: Single binary installation with a bundled local embedder for offline use.
  • Proactive Memory: Features semantic triggers that push relevant memories to the user or agent when relevance changes.
  • Retroactive Enrichment: Ability to upgrade existing memories with new embeddings or enrichment plugins without migrations.
  • ** IllegalArgument Exception: Bulk Insert**: Supports batching up to 50 memories in a single call.

Related

  • Project
  • Project
  • Project
  • Project