Memary vs Letta

Side-by-side comparison of two AI agent tools

Memaryopen-source

The Open Source Memory Layer For Autonomous Agents

Lettaopen-source

Letta is the platform for building stateful agents: AI with advanced memory that can learn and self-improve over time.

Metrics

MemaryLetta
Stars2.7k25.0k
Star velocity /mo12.032085561497324514.8128342245989
Commits (90d)08
Releases (6m)01
Overall score0.28858562656639590.6831640692819275

Pros

  • +开源透明的记忆管理系统,允许完全自定义和扩展记忆机制
  • +同时支持本地模型(Ollama)和云端模型(OpenAI),提供灵活的部署选择
  • +内置模型切换功能,可以无缝在不同AI提供商之间切换而无需重写代码
  • +Advanced persistent memory system that allows agents to learn and self-improve across sessions
  • +Dual deployment options with both local CLI tool and cloud API for different use cases
  • +Model-agnostic platform with comprehensive SDKs for Python and TypeScript development

Cons

  • -严格的Python版本限制(<=3.11.9),可能与较新的开发环境不兼容
  • -复杂的初始配置,需要设置多个API密钥和数据库连接
  • -依赖特定的模型框架和外部服务,增加了系统的复杂性和维护成本
  • -Requires Node.js 18+ for local CLI usage, limiting accessibility for some users
  • -Cloud API requires API key and external service dependency for full functionality
  • -Platform complexity may present learning curve for developers new to stateful agent concepts

Use Cases

  • •构建需要跨会话保持记忆的AI客服或助手系统,提供个性化的用户体验
  • •开发具有长期学习能力的自主AI智能体,用于复杂的决策和规划任务
  • •创建多轮对话AI应用,如教育助手或咨询系统,需要记住历史交互内容
  • •Building long-term coding assistants that remember project context and user preferences across sessions
  • •Creating customer service agents that maintain conversation history and learn from interactions
  • •Developing research assistants that accumulate domain knowledge and improve recommendations over time