You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MemU is an open-source memory framework for personalized AI companions. We treat memory as an agent-controlled file system that stores user information as documents. It provides high-speed memory retrieval and enables self-evolution without interacting with users. The framework is easily extendable, enabling you to create AI companions that genuinely remember and grow with their users.
25
+
MemU is an open-source memory framework specialized for AI companion that gives AI assistants long-term personalized memory. It acts like a "memory folder" managed by the AI itself. The framework finds memories instantly, updates and learns. With it, you can build AIs that truly memories you by continuously updating memories about who you are, what you care about, and your shared experiences, creating companions that grow alongside you.
**🚀 Join 1,000+ developers building the future of AI memory**
43
38
44
39
Star MemU to get notified about new releases and join our growing community of AI developers building intelligent agents with persistent memory capabilities.
**Industry-leading precision in memory retrieval**
65
-
66
-
MemU achieves **92.09% average accuracy** across all reasoning tasks, significantly outperforming competitors. Our advanced embedding and retrieval algorithms ensure that the most relevant memories are surfaced with unprecedented precision.
45
+
MemU is built specifically for AI companions, creating personalized long-term memories through categorized memories, memory connections, evolving insights, and adaptive forgetting. Our framework transforms conversations into files, connects related experiences, grows understanding over time, and prioritizes what matters most - making AI companions feel truly alive and personally connected.
67
46
68
-
| Model | Single-Hop | Multi-Hop | Open Domain | Temporal Reasoning | Avg. Score |
MemU provides a comprehensive suite of retrieval strategies, allowing you to choose the optimal approach for your specific scenario. From semantic similarity to temporal proximity, our flexible system adapts to your needs.
57
+
MemU automatically organizes your conversations into meaningful categories - your hobbies, work life, family stories, and personal preferences. Instead of scattered chat fragments, your AI companion builds a structured understanding of who you are, making every conversation feel personal and contextual.
89
58
90
-
**Available Strategies:**
91
-
- 🔍 **Semantic Search** - Find memories by meaning and context
92
-
- 🏷️ **Category-based** - Organized retrieval conten by topics
93
-
- 🔗 **Graph Traversal** - Follow memory connections and relationships
- 🗂️ **Document-based storage** - Each memory type is stored as readable documents
61
+
- 🏷️ **Smart categorization** - Automatic classification by topics and contexts
62
+
- 🔍 **Easy retrieval** - Quick access to relevant information through categories
95
63
96
64
---
97
65
98
-
### 📖 **Human-Readable Memory Format**
99
-
100
-

66
+
## 🔗 **Memory Connections**
101
67
102
-
**Memories you can actually read and understand**
68
+
**Your AI companion connects the dots between your stories**
103
69
104
-
Unlike other memory systems that store information as abstract vectors or fragmented data, MemU organizes memories as **readable documents**. This transparency enables easy debugging, manual editing, and seamless integration with existing workflows.
105
-
106
-
**Readability Benefits:**
107
-
- 📝 **Document Structure** - Organized as markdown files with clear headers
When you mention your love for hiking, your AI companion remembers you talked about buying boots last month, and connects it to your upcoming mountain trip. These connections help your AI understand the full context of your infomation, making conversations feel natural and insightful.
115
73
116
-
## ✨ Key Features
74
+
**Key Benefits:**
75
+
- 🕸️ **Smart connections** - Your AI links related memories automatically
76
+
- 🔄 **Context awareness** - Previous conversations inform current ones
117
77
118
78
---
119
79
120
-
## 📋**Organized Memory**
80
+
## 🧠**Evolving Insights**
121
81
122
-
<divalign="center">
123
-
124
-
**Transform chaotic information into structured knowledge**
MemU intelligently organizes memories into well-structured documents, creating a coherent knowledge base that grows with each interaction. Unlike traditional memory systems that store isolated fragments, MemU maintains contextual relationships and categorical organization.
86
+
Even when you're not actively talking to it, your AI companion continuously analyzes your stored memories, discovering new patterns and insights about your preferences, habits, and personality. It's like having a friend who's always thinking about you and getting to know you better in the background.
131
87
132
88
**Key Benefits:**
133
-
-🗂️**Document-based storage** - Each memory type is stored as readable documents
134
-
-🏷️**Smart categorization** - Automatic classification by topics and contexts
135
-
-🔍**Easy retrieval** - Quick access to relevant information through semantic search
136
-
- 📊 **Structured format** - Consistent organization across all memory types
89
+
-🤔**Theory of Mind** - Deep understanding of your mental states and preferences
-🌱**Continuous learning** - Gets smarter about you over time
92
+
137
93
138
94
---
139
95
140
-
## 🔗**Linked Connections**
96
+
## 🌫️**Adaptive Forgetting**
141
97
142
-
<tablealign="center">
143
-
<tr>
144
-
<tdwidth="50%">
98
+
**Your AI companion remembers what matters most**
145
99
146
-
**Build a web of interconnected knowledge**
100
+

147
101
148
-
Different memories are interconnected through sophisticated semantic relationships, creating a rich network of contextual associations. This enables the AI to understand not just individual facts, but how concepts relate to each other across different conversations and contexts.
102
+
MemU implements an intelligent LRU-like forgetting mechanism where memories naturally fade in importance without disappearing entirely. This mimics human memory patterns - rarely accessed information becomes less prominent while frequently referenced memories gain stronger relevance.
149
103
150
104
**Key Benefits:**
151
-
- 🕸️ **Semantic linking** - Memories connect based on meaning and context
152
-
- 🔄 **Cross-referencing** - Related information surfaces automatically
153
-
- 🧩 **Contextual understanding** - AI grasps relationships between different topics
154
-
- 📈 **Knowledge graph** - Dynamic network that expands with each interaction
**Why MemU stands out from other memory solutions**
174
117
175
-
</td>
176
-
<tdwidth="50%">
118
+
### 🎯 **Higher Memory Accuracy**
177
119
178
-
**Self-improving AI that grows smarter over time**
120
+
MemU achieves **92.09% average accuracy** across all reasoning tasks, significantly outperforming competitors.
179
121
180
-
The Memory Agent continuously performs Theory of Mind reasoning, analyzing stored memories to generate deeper insights about user preferences, behaviors, and needs. This creates an evolving understanding that enhances existing documents and generates new knowledge automatically.
122
+
| Model | Single-Hop | Multi-Hop | Open Domain | Temporal Reasoning | Avg. Score |
- 💡 **Insight generation** - Creates new understanding from existing information
186
-
- 🌱 **Continuous growth** - Knowledge base becomes more sophisticated over time
187
-
188
-
</td>
189
-
</tr>
190
-
</table>
130
+
*Based on comprehensive benchmarks against other memory frameworks*
191
131
192
132
---
193
133
194
-
##🌫️**Fade Memory**
134
+
### 🔄**Flexible Retrieval Strategies**
195
135
196
-
<divalign="center">
197
136
198
-
**Natural forgetting that preserves what matters**
137
+
**Multiple recall methods for every use case**
199
138
200
-
<table>
201
-
<tr>
202
-
<tdwidth="33%">
139
+
MemU provides a comprehensive suite of retrieval strategies, allowing you to choose the optimal approach for your specific scenario. From semantic similarity to category search, our flexible system adapts to your needs.
203
140
204
-

141
+
**Available Strategies:**
205
142
206
-
</td>
207
-
<tdwidth="34%">
143
+
- 🔍 **Semantic Search** - Find memories by meaning and context using advanced embedding models. Perfect for natural language queries and conceptual searches that go beyond keyword matching.
208
144
209
-

145
+
- 🏷️ **Category-based Retrieval** - Organize memories through topic category classification. Ideal for structured information retrieval and domain-specific searches.
210
146
211
-
</td>
212
-
<tdwidth="33%">
147
+
- 🔗 **Graph Traversal** - Discover related information by following memory connections and relationship networks. Enables exploration of indirect relationships and contextual paths between concepts.
213
148
214
-

149
+
- 🎯 **Hybrid Fusion** - Combine multiple strategies using ensemble methods. Delivers optimal performance for complex queries requiring maximum accuracy.
215
150
216
-
</td>
217
-
</tr>
218
-
</table>
151
+
- 🧠 **Active Retrieval** - Determine when to retrieve memories based on conversation context and relevance. Prevents unnecessary retrievals while ensuring important memories are surfaced when needed.
152
+
---
219
153
220
-
</div>
154
+
### 📖 **Human-Readable Memory Format**
221
155
222
-
MemU implements an intelligent LRU-like forgetting mechanism where memories naturally fade in importance without disappearing entirely. This mimics human memory patterns - rarely accessed information becomes less prominent while frequently referenced memories gain stronger relevance.
- 💾 **Never truly lost** - Information fades but remains retrievable when needed
228
-
- 🎯 **Smart prioritization** - Most relevant memories surface first in conversations
158
+
Unlike other memory frameworks that store information as fragmented sentences, MemU organizes memories as **coherent, readable documents**. While competitors break down information into scattered fragments, MemU maintains context and structure, enabling easy debugging, manual editing, and seamless integration with existing workflows.
159
+
160
+
**Readability Benefits:**
161
+
- 📝 **Document Structure** - Organized as markdown files with clear headers
162
+
- 🔗 **Wiki-like Links** - Documents with interconnected links enabling seamless navigation between related memories
163
+
- 📋 **Export Friendly** - Standard formats compatible with any system
0 commit comments