Letta vs Memary

Side-by-side comparison of two AI agent tools

Short answer

  • Memary has had no commit in 23 months; Letta is actively maintained (7 commits in the last 90 days).
  • Letta is growing faster: +513 GitHub stars in the last 30 days vs +12 for Memary.
  • Pick Letta for: letta is the platform for building stateful agents: AI with advanced memory that can learn and self-improve. Pick Memary for: the Open Source Memory Layer For Autonomous Agents.

From GitHub data refreshed daily.

Lettaopen-source

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

Memaryopen-source

The Open Source Memory Layer For Autonomous Agents

Metrics

LettaMemary
Stars25.0k2.7k
Star velocity /mo512.857142857142912.063492063492063
Commits (90d)70
Releases (6m)10
Overall score0.58693946932703810.21131434678490732

Pros

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

Cons

  • -Requires Node.js 18+ for CLI usage, which may limit adoption in some environments
  • -API-based functionality requires API keys and cloud dependency for full feature access
  • -As a relatively new platform for stateful agents, may have a learning curve for developers new to persistent memory concepts
  • -严格的Python版本限制(<=3.11.9),可能与较新的开发环境不兼容
  • -复杂的初始配置,需要设置多个API密钥和数据库连接
  • -依赖特定的模型框架和外部服务,增加了系统的复杂性和维护成本

Use Cases

  • •Building coding assistants that remember project context and learn from previous debugging sessions
  • •Creating customer support agents that maintain conversation history and learn customer preferences over time
  • •Developing personal AI assistants that evolve their responses based on user behavior patterns and feedback
  • •构建需要跨会话保持记忆的AI客服或助手系统,提供个性化的用户体验
  • •开发具有长期学习能力的自主AI智能体,用于复杂的决策和规划任务
  • •创建多轮对话AI应用,如教育助手或咨询系统,需要记住历史交互内容

FAQ

Which is more popular, Letta or Memary?
Letta has more GitHub stars (25,005 vs 2,654).
Which is more actively developed, Letta or Memary?
Letta had more commits in the last 90 days (7 vs 0).
Should I use Letta or Memary?
Compare their capabilities, limitations and "best for" notes above. Both are open source, so trying each on a small task is the fastest way to decide.