# Letta (formerly MemGPT)

> Stateful agents with persistent memory that learn and improve over time, formerly MemGPT.

## Facts
- **Category:** [Agent Frameworks](https://agentsearchengine.app/category/agent-frameworks)
- **Type:** Framework
- **Pricing:** Open source
- **GitHub stars:** 24,852
- **License:** Apache-2.0
- **Last repo activity:** 12 days ago (Sep 10, 2026)
- **Official site:** https://docs.letta.com/
- **Source code:** https://github.com/letta-ai/letta
- **Listing on Agent Search Engine:** https://agentsearchengine.app/agents/letta
- **Data verified:** September 2026

## Best for
Assistants that need long-term, self-editing memory rather than a fresh context each session.

## About Letta (formerly MemGPT)
Letta, formerly MemGPT, builds stateful agents whose memory persists and improves across sessions. Current development lives in letta-ai/letta-code, which contains the agent harness, terminal UI, App Server and channel integrations; agents are also available through desktop apps, a web app, Slack, Telegram and Discord, a TypeScript Agent SDK and Letta Cloud. This repository keeps the project's history.

## Install

```
npm install -g @letta-ai/letta-code
```

## Alternatives
Letta (formerly MemGPT) sits in agent frameworks. Related tools indexed here:
- [langchain](https://agentsearchengine.app/agents/langchain) — The agent engineering platform. · Open source · Framework · 147k★ · Python · MIT · active today
- [ruflo](https://agentsearchengine.app/agents/ruflo) — The leading agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. · Open source · Framework · 73k★ · TypeScript · MIT · active 1 day ago
- [MetaGPT](https://agentsearchengine.app/agents/metagpt) — A multi-agent framework that assigns software-company roles to LLM agents to turn a requirement into a project. · Open source · Framework · 71k★ · Python · MIT · active 8 months ago
- [autogen](https://agentsearchengine.app/agents/autogen) — A programming framework for agentic AI; upstream is in maintenance mode. · Open source · Framework · 61k★ · Python · CC-BY-4.0 · active 5 months ago
- [crewAI](https://agentsearchengine.app/agents/crewai) — Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks. · Open source · Framework · 59k★ · Python · MIT · active today
- [LlamaIndex](https://agentsearchengine.app/agents/llamaindex) — Framework for connecting LLMs and agents to your own documents and data. · Open source · Framework · 52k★ · MIT · active today
- [LangGraph](https://agentsearchengine.app/agents/langgraph-platform) — LangChain's low-level orchestration framework for stateful, controllable agents. · Open source · Framework · 42k★ · Python · MIT · active today
- [DSPy](https://agentsearchengine.app/agents/dspy) — Stanford's framework for programming, not prompting, language models, with optimisers for prompts and weights. · Open source · Framework · 38k★ · Python · MIT · active today

---
Source: [Agent Search Engine](https://agentsearchengine.app) — an independent, hand-curated index of AI agents, MCP servers, and frameworks. Rankings are never sold; sponsored placements are labeled and never numbered. Full directory: https://agentsearchengine.app/llms-full.txt
