Files
nexus/wiki/entities/Mem0.md
2026-04-23 16:02:56 +08:00

35 lines
935 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Mem0"
type: entity
tags: [ai-agent, memory, vector-db]
last_updated: 2026-04-23
---
## Overview
GitHub 53.1k starsCamp 1Memory Backend类别的领导者。为 AI 应用和 Agent 提供智能记忆层。
## Architecture
四核心操作add、search、update、delete
三层存储粒度:
- **User level**:跨所有会话的长期用户偏好和事实
- **Session level**:当前会话内的上下文
- **Agent level**Agent 自身的元记忆
检索机制:混合搜索(语义 + 关键词)
## Strengths
- 集成最简单Python + TypeScript SDK
- 工作流程清晰add → search → update → delete
- 与任何 LLM 兼容
## Limitations
- 记忆条目是**扁平**的,条目之间没有关系
- 提取质量完全依赖 LLM extraction prompt
- 事实存入后不进化1月的事实和4月的事实共存
- 无法真正"复合增长"——只是累积条目
## Aliases
- Mem0
- mem0