lovevin1314-tech/nexsandglass-agent-dedicatedmemory — explained in plain English
Analysis updated 2026-07-18
Plug a persistent memory layer into an AI assistant so it remembers a user's evolving preferences across sessions.
Track 'Drift Velocity' to detect when a user's decisions shift, like moving from budget to premium choices over time.
Search past conversations across full-text, inverted index, TF-IDF, and context-weighted dimensions at once.
Run a local memory engine with no external dependencies or API keys for privacy-sensitive AI agent projects.
| lovevin1314-tech/nexsandglass-agent-dedicatedmemory | 410979729/scope-recall | arahim3/mlx-dspark | |
|---|---|---|---|
| Stars | 33 | 33 | 33 |
| Language | Python | Python | Python |
| Setup difficulty | easy | moderate | easy |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Runs entirely locally with standard Python libraries and SQLite, no API key or external service required.
NexSandglass is a local memory engine for AI agents that goes beyond storing what you said, tracking who you are and how you are changing over time. It runs entirely on your machine using standard Python libraries and SQLite, with no API key needed and no external dependencies. You can plug it into an AI assistant as an MCP server and it will give that assistant a persistent, evolving understanding of you across sessions. Most memory systems for AI act as filing cabinets: they store conversations and retrieve relevant chunks when needed. NexSandglass works differently. It tracks a concept called Drift Velocity, which measures how your decisions shift over time. For example, if you consistently pick budget options and then start picking more expensive ones, that shift is recorded as a drift. The system also builds a knowledge graph from your conversations without calling an LLM, connecting decisions into causal chains to understand not just what you chose but why. The soul distillation feature accumulates these drifts and builds a living persona rather than a static snapshot. Instead of just knowing that you mentioned something three days ago, the system knows you mentioned it, what decision you made, and how that fits into your longer pattern of behavior. It distinguishes between what you said, what you decided, and how your decisions have shifted across time. Search works across four dimensions at once: full-text search, an inverted index, TF-IDF scoring, and a concept called Shadow Sand (a secondary index used to weight results based on your context and history). The system also handles Chinese and English automatically, detecting the language of input without configuration. The README is bilingual, with the Chinese sections going into more detail about the architecture than the English sections. Performance benchmarks show write operations completing in about 2ms and searches in 1 to 3ms on a dataset of 3,549 memory entries running on a mid-range laptop. The project can start with a single Docker Compose command or run as a local Python process.
A local, dependency-free memory engine for AI agents that tracks not just what you said but how your decisions and preferences drift over time, plugging into assistants as an MCP server with no API key needed.
Mainly Python. The stack also includes Python, SQLite, MCP.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.