Letta
Build stateful LLM agents with long-term memory
Letta, formerly known as MemGPT, is an open-source framework for building LLM agents with persistent memory and advanced reasoning. It provides a server, agent development kit, and visual interface for creating stateful assistants.
Key features
- Persistent agent memory
- Self-editing context
- Agent Development Kit
- Visual agent editor
Pros & cons
Strengths
- Released under the Apache-2.0 license
- First-class Docker support for quick deployment
- Mature project with 24.1k GitHub stars
- Written in Python
Trade-offs
- Concept-heavy
- Best with capable models
Letta replaces
Compare Letta
16 head-to-head comparisons.
Similar self-hosted ai apps
OpenClaw
Self-Hosted AIThe AI that actually does things
Hermes Agent
Self-Hosted AIThe AI agent that grows with you
OpenCode
Self-Hosted AIThe open source AI coding agent
Hugging Face Transformers
Self-Hosted AIState-of-the-art machine learning model library
Replaces OpenAI API
Langflow
Self-Hosted AIVisual framework for building AI agents and RAG pipelines
Replaces Vertex AI Agent Builder
Dify
Self-Hosted AIOpen-source platform for building production LLM apps
Replaces OpenAI Assistants, Vertex AI Agent Builder