letta
★ 25.5k
vs
claude-mem
★ 118.0k
letta vs claude-mem
letta: Letta is a powerful platform for building stateful AI agents equipped with advanced memory, enabling them to learn and self-improve over time. It provides both a command-line interface for local agent execution and a comprehensive API with Python and TypeScript SDKs for seamless integration into applications.; claude-mem: Claude-Mem captures supported agent activity through hooks and summarizes it with an observer. Local SQLite records and semantic search supply a compact project index to later sessions, with capture support varying by agent.
01
TL;DR
lettaMemory & Context · ★ 25.5k
When to choose:
- You want a long-lived agent that remembers past work and rewrites its own memory and context over time.
- You want one agent reachable from CLI, desktop, browser, mobile and messaging apps, with subagents, schedules and hooks.
- You want memory you can inspect: the README says context is tracked in git and can sync to your own repository.
When to skip:
- You only need to add memory to an agent you already use through MCP; a small MCP memory server is a lighter fit.
- You rely on older Letta tutorials or the V1 API server: the project restructured, and the V1 server is retired.
- You want everything to work without signing in: Letta Cloud is the default backend and some features need it.
claude-memMemory & Context · ★ 118.0k
Recover project context in a later coding session.
02
Side-by-Side Comparison
Field
Category
Memory & Context
Memory & Context
Stars
★ 25.5k
★ 118.0k
License
Apache-2.0
Apache-2.0
Install Command
npm install -g @letta-ai/letta-code
npx claude-mem install
Updated
1mo ago
Today
Open Source
Yes
Yes
Tags
Stateful AI, Agent Platform, Advanced Memory
ai, ai-agents, ai-memory
03
Features
01Build stateful AI agents with advanced memory
02Agents capable of learning and self-improvement over time
03CLI tool for running agents locally in your terminal
04Comprehensive API for integrating agents into applications
05Support for skills and subagents; fully model-agnostic
01Hooks feed tool activity to a local worker.
02Observer-generated observations and summaries persist locally.
03MCP search retrieves details behind compact context indexes.
04
Use Cases
↳Running AI agents locally in your terminal for coding and general tasks.
↳Integrating stateful AI agents into custom applications using the API and SDKs.
↳Developing self-improving AI systems that adapt and learn continually.
↳Recover project context in a later coding session.
↳Search past observations when a task needs details.
↳Share selected memory across supported agent integrations.
05
Best For
Most PopularEssential
Most Popular
FAQ
FAQ
What is the difference between letta and claude-mem?
Both letta and claude-mem are in the Memory & Context category. letta has 25.5k stars, while claude-mem has 118.0k stars.
Which is better, letta or claude-mem?
The best choice depends on your use case. Choose letta if Running AI agents locally in your terminal for coding and general tasks., and claude-mem if Recover project context in a later coding session..
Is letta free or open source?
Yes, letta is open source on GitHub (Apache-2.0).
Is claude-mem free or open source?
Yes, claude-mem is open source on GitHub (Apache-2.0).
Cloud Infrastructure
AdDeploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.
→