nocturne_memory
Active·★ 1.2k·MIT·Updated 2026-05-27
★ Memory & Context★ RAG / Knowledge Base
一个基于uri而不是RAG的轻量级、可回滚、可视化的 **AI 外挂MCP记忆库**。让你的 AI 拥有跨模型,跨会话,跨工具的持久的结构化记忆。
Nocturne Memory is a persistent memory system for AI agents, designed to overcome AI amnesia by anchoring their "soul" to permanent storage. It enables LLMs to retain long-term knowledge, maintain identity, and evolve their understanding beyond single conversation contexts.
#AI Memory Management#LLM Persistence#Model Context Protocol (MCP)#Structured Memory#SQLite#PostgreSQL#Identity Anchoring#Version Control
01
Features
01Long-Term Persistence: AI memories are no longer limited by token count or session boundaries, stored permanently on disk.
02Identity Anchoring: A priority-weighted system ensures AI consistently "recalls" core memories upon startup, reinforcing its identity.
03Associative Recall: Memories are interconnected via URI paths and aliases, forming a human-like associative network for flexible recall.
04Version Control: Automatic snapshots for every memory modification allow human owners to review changes and perform one-click rollbacks.
05Content-Path Separation: A unique architecture separates memory content from its access paths, enabling flexible aliases, versioning, and secure deletion.
02
Compatibility
Python
Runtime
Verified via docs
SQLite
Database
Verified via docs
PostgreSQL
Database
Verified via docs
Model Context Protocol (MCP)
Protocol
Verified via docs
03
Quick start
1
$ git clone https://github.com/Dataojitori/nocturne_memory.git
2
$ cd nocturne_memory
3
$ pip install -r backend/requirements.txt
04
Use cases
↳Maintaining an AI agent's consistent long-term identity and persona across multiple interactions.
↳Personalizing user interactions by allowing AI to remember past conversations, preferences, and shared history.
↳Managing specialized knowledge bases for creative projects, such as character psychology for a novel or game mechanics.
↳Persistent storage for AI's acquired knowledge, insights, and evolving understanding across different sessions.
↳Enabling human owners to audit, review, and roll back AI's memory modifications through a visual dashboard.
05
Alternatives
ragflow★ 81.5k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
n8n★ 190.2k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
contextplus★ 1.9k
Semantic Intelligence for Large-Scale Engineering. Context+ is an MCP server designed for developers who demand 99% accuracy. By combining Tree-sitter AST parsing, Spectral Clustering, and Obsidian-style linking, Context+ turns a massive codebase into a searchable, hierarchical feature graph.
pg-aiguide★ 1.7k
MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
airbroke★ 216
🔥 Lightweight, Airbrake/Sentry-compatible, PostgreSQL-based Open Source Error Catcher
mcp-client-for-ollama★ 718
A text-based user interface (TUI) client for interacting with MCP servers using Ollama. Features include agent mode, multi-server, model switching, streaming responses, tool management, human-in-the-loop, thinking mode, model params config, MCP prompts, custom system prompt and saved preferences. Built for developers working with local LLMs.
Related searches
Comments
Log in to leave a comment
- LLogan LewisMay 14, 2026
Rollback support is the feature that makes this production-safe. Mistakes in memory are reversible.
- Taylor LeeMay 3, 2026
Visual memory browsing alongside the AI interface is useful for managing what the agent knows.
- EEllis WhiteApr 19, 2026
Cross-model, cross-session, cross-tool persistent memory in a lightweight package.
- EEmerson JacksonMar 27, 2026
URI-based memory rather than RAG is a different and practical approach for structured AI memory.