MemGPT logo

MemGPT

Free

Teaching LLMs memory management for unbounded context ![GitHub Repo stars](https://img.shields.io/github/stars/cpacker/MemGPT?style=social)

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About MemGPT

Letta (formerly MemGPT) is an open-source platform for building stateful AI agents with advanced memory that can learn and self-improve over time. It offers a CLI tool to run agents locally in your terminal, a desktop app, and integration with channels like Slack. The Letta Agent SDK allows developers to build stateful agents into their own applications, running on Constellation (cloud), locally, or against a self-hosted App Server. It supports skills and subagents for advanced memory and continual learning, and is model-agnostic, with recommended models from Anthropic, OpenAI, and zAI.

Key Features

Advanced memory management for unlimited context
Continual learning and self-improvement over time
Local execution via CLI, desktop app, or Slack integration
Agent SDK for building stateful agents into applications
Model-agnostic with support for multiple LLM providers
Skills and subagents for specialized tasks and memory

Pros & Cons

Pros
  • Open source and free to use
  • Can run completely locally for privacy
  • Advanced memory capabilities allow agents to retain context across sessions
  • Model-agnostic, works with various LLMs
  • Supports continual learning, improving over time
Cons
  • Installation and setup may require technical knowledge
  • Currently in active development; some features may be unstable
  • Legacy server code moved to separate repo, may cause confusion

Best For

Building AI coding assistants that remember project contextCreating stateful conversational agents for customer supportDeveloping personal AI assistants with long-term memoryAutomating complex workflows with self-improving agents

FAQ

What is Letta (formerly MemGPT)?
Letta is an open-source platform for building stateful AI agents with advanced memory that can learn and self-improve over time. It was previously known as MemGPT.
How can I run Letta agents?
You can run Letta agents locally via the CLI tool, through a desktop app, or integrate them with channels like Slack. The Letta Agent SDK also lets you build agents into your own applications.
Does Letta support any LLM?
Yes, Letta is model-agnostic. It supports various LLMs, though it recommends the latest Anthropic, OpenAI, and zAI models for best performance.