Analysis updated 2026-05-18
Give an AI coding assistant memory that survives across separate chat sessions.
Automatically extract and store key facts from a conversation for later retrieval.
Share learned error patterns and fixes across multiple projects an agent works on.
| a2328275243/mempalace-evolve | anthonykhayesaudsrx50512/flash-usdt-sender | confluentinc/quickstart-streaming-agents | |
|---|---|---|---|
| Stars | 78 | 78 | 78 |
| Language | Python | Python | Python |
| Setup difficulty | easy | moderate | hard |
| Complexity | 3/5 | 3/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Python 3.10+ and ChromaDB, no GPU needed.
mempalace-evolve is a Python library that gives AI agents persistent memory across sessions. A typical AI conversation ends and all context disappears. This project stores what the agent learns, scores each piece of memory for usefulness, and automatically cleans up stale or redundant entries over time so the stored memory stays relevant rather than growing into an unmanageable pile. The library organizes memory into three types drawn from cognitive science: semantic (general facts and knowledge), episodic (specific events and conversation history), and procedural (error patterns and lessons learned). Semantic and episodic memories are kept separate per project, while procedural memories are shared across all projects automatically. Two retrieval paths are available. The first is vector-based semantic search using ChromaDB, which finds relevant memories even when the query uses different words than the stored text. The second is a knowledge graph that tracks relationships between entities. The digest() function extracts key information from a conversation automatically, and context_for() surfaces the most relevant memories for a new query so they can be injected into an AI prompt before calling the language model. The self-evolution mechanism runs when you call evolve(). It scores candidate memories, promotes high-quality ones to long-term storage, merges duplicates, and removes entries that score poorly or have not been accessed in a long time. Memories that get recalled frequently stay alive, those that are never retrieved fade out gradually. Installation requires Python 3.10 or later. The only mandatory dependency is ChromaDB, and no GPU is needed. The library connects to AI tools like Claude Code and Cursor through the Model Context Protocol (MCP), or it can be called directly from Python code. An optional REST API is available for connecting to non-Python applications. The README is written in Chinese. The license is MIT.
A Python library that gives AI agents persistent, self-cleaning memory across sessions using vector search and a knowledge graph.
Mainly Python. The stack also includes Python, ChromaDB, MCP.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.