Letta
Memory Open source (Apache 2.0)
GitHub stars25.2k
Forks2.6k
LicenseApache-2.0
Last activityOct 18, 2026
Open issues0
Repository: letta-ai/letta ยท Data checked Oct 2026
About
Letta is the open-source successor to MemGPT, and it solves the problem every agent builder hits: the agent wakes up blank every session. Letta gives agents stateful memory with memory blocks, archival recall, and sleep-time consolidation, so they accumulate knowledge and learn across conversations instead of starting over. It is self-hosted under Apache 2.0, free to run locally, with an optional managed cloud when you outgrow your laptop. If you want an agent that remembers you, start here.
Details
Open source. You run it yourself.
Auth: Open source (Apache 2.0)
Rate limit: None self-hosted (uses your model API)
Verified: 2026-09-19
Best for: developer business
Setup
- Install with the command above
- Configure your model API key, any OpenAI-compatible endpoint works
- Create an agent and give it memory blocks describing what to remember
- Chat across sessions and watch it recall earlier conversations
Example
npm install -g @letta-ai/letta-codeUse cases
- Build a personal assistant that remembers your preferences
- Give a support agent long-term context on each customer
- Prototype sleep-time learning where agents consolidate memories