CogniVault

•

Provides AI agents with persistent, human-like semantic memory capabilities using a zero-dependency Python engine.

CogniVault is a lightweight AI Agent semantic memory engine designed to equip AI agents with robust and persistent semantic memory. Moving beyond simple keyword matching, it leverages a hybrid search engine combining TF-IDF, BM25, and cosine similarity to understand the semantic meaning of memories. The engine incorporates a sophisticated memory lifecycle manager, mimicking human cognitive processes with stages like active, consolidating, decaying, and forgotten memories based on an Ebbinghaus-inspired forgetting curve. Frequently accessed memories are automatically strengthened, while a built-in knowledge graph extracts entities and establishes relationships, enabling agents to form complex associations and facilitate reasoning across their memory space.

主な機能

01Hybrid search engine combining TF-IDF, BM25, and Cosine Similarity with RRF result fusion
020 GitHub stars
03Knowledge Graph with entity extraction, relationship building, and Mermaid format export
04MCP Server (JSON-RPC 2.0) for seamless integration with AI IDEs like Claude Code and Cursor
05Pure Python implementation with zero external dependencies
064-stage memory lifecycle management (Active, Consolidating, Decaying, Forgotten) with Ebbinghaus forgetting curve and consolidation

ユースケース

01Empowering AI agents with persistent and semantic memory across sessions
02Integrating advanced memory and knowledge graph capabilities into AI IDEs and development workflows
03Building AI systems that require human-like memory consolidation, decay, and associative reasoning