Letta (MemGPT)
Agents with persistent memory โ recall past conversations
๐ Overview
MemGPT is an AI agent framework that provides persistent memory โ enabling agents to recall past conversations, edit their context, and maintain long-term relationships. Unlike AutoGPT (which has no memory), MemGPT agents remember everything and can reference past interactions. It provides a comprehensive solution for modern AI workflows.
โจ Key Features
- โข14K+ GitHub stars โ persistent memory agents
- โขRecall past conversations
- โขEdit agent context
- โขLong-term relationships
- โขAny LLM support
- โขApache 2.0 licensed
๐ฏ The Problem It Solves
AI agents forget everything between sessions. MemGPT provides persistent memory that enables long-term relationships and context.
๐ง How It Works
MemGPT uses a memory management system that stores conversations in a vector database. Agents can recall past conversations, edit their context, and maintain long-term relationships. The framework supports any LLM and provides a simple API.
๐ Installation & Quick Start
Installation
pip install -U lettaQuick Start
- pip install letta
- letta server
- Open localhost:8283
- Create agent and chat
โ Pros
- โขBest persistent memory
- โขRecall past conversations
- โขAny LLM support
- โขApache 2.0 licensed
- โขActive community
- โขComprehensive documentation
โ Cons
- โขSmaller community than AutoGPT
- โขNewer tool
- โขDocumentation sparse
๐ฌ Practitioner Verdict
โMemGPT is the best framework for agents with persistent memory โ the memory management is genuinely differentiated. The trade-off: smaller community than AutoGPT, newer tool, and the documentation is sparse. For agents that need long-term memory, MemGPT is the default.โ
Self-Hosted (Free)
Open source, MIT/Apache licensed. Run it yourself.
โญ Star & Clone on GitHubFree forever. Your infrastructure, your data.
๐ Specifications
- Language
- Python
- License
- Apache-2.0
- Platform
- Linux, macOS, Windows
- Supported Models
- REST API, CLI
๐ฐ Pricing Reality
100% free Apache 2.0. No paid tier.