Mem0
简介
专注 Agent 记忆的中间件:自动从对话中提取、更新、检索事实性记忆,提供托管 API 与自托管两种模式,给任何 Agent 补上「记性」。
English
A memory middleware for agents: automatically extract, update and retrieve factual memories from conversations, hosted or self-hosted.
适用场景
- 给现有 Agent/Chatbot 加长期记忆层
- 需要用户画像与个性化推荐的事实底座
- 不想自己维护记忆的抽取与冲突消解逻辑
快速上手
- pip install mem0ai,配置 LLM 与向量库
- 用 add() 写入对话,观察抽取结果
- 用 search() 在新对话中检索相关记忆注入提示词
- 生产环境切换 hosted API 减少运维
标签
相关资源
ComfyUI
开源节点式生图工作流引擎:把模型、采样、控制条件连成流水线,可控性和复现性最强,本地跑免费用,进阶玩家的终极选择。Open-source node-based image generation workflow engine with maximum control and reproducibility — the power user's choice.
LangChain 精选
最流行的 LLM 应用开发框架,提供链式调用、Agent 编排、工具调用与 RAG 全套能力,Python 与 JS 双语言生态,适合快速搭建各类 AI Agent 应用。The most popular framework for building LLM applications: chains, agent orchestration, tool calling and RAG out of the box, in both Python and JavaScript.
LangGraph 精选
基于图(状态机)的 Agent 编排框架,擅长多 Agent 协作、循环与人工介入流程,是 LangChain 官方推荐的复杂 Agent 生产方案。Graph-based agent orchestration from the LangChain team. Ideal for multi-agent collaboration, loops and human-in-the-loop workflows in production.