Agent Memory - Letta 学习

145 阅读1分钟

letta 应该是目前开源生态做的最好的,可能没有之一

最近在研究 MIRIX 项目时,了解到了另一个项目 letta,也是一个和 memory 相关的开源产品。核心思路就是通过 multi-agents + tool 实现信息的管理。

MIRIX 项目其实就是基于这个项目开发的。

当然,letta 的目标远远不只是一个 memory 管理工具,它的定位更像是一个 LLM OS(甚至都不是 memory OS),他们认为开发者不应该面向 LLM 开发,LLM 像是传统计算系统中的 CPU,需要通过 letta 这样的 “OS” 包装以后,才适合开发者使用。更详细的内容大家可以看下创始人的原始对话视频

image.png

Letta Memory 类型

Core Memory (In-Context)

Fast, always-accessible memory that stays in the agent’s context window. This includes:

  • Persona: The agent’s personality and role
  • Human: Information about the user
  • Custom memory blocks: Additional structured information

External Memory (Out-of-Context)

Long-term storage for large amounts of information:

  • Conversation history beyond context limits (e.g. “recall memory”)
  • Vector databases for semantic search (e.g. “archival memory”)
  • Uploaded documents and files

先挖个坑,如果有人关心这个项目的分析,后续来补充更详细的分析。

一些资料

官方在线视频课程