AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Memory & Context/
letta
letta logo

letta

Active·★ 25.3k·Apache-2.0·Updated 2026-10-18
★ Most Popular★ Essential★ Trending

Letta (formerly MemGPT) builds stateful agents with memory that learn and improve over time. Its agents keep memory, identity and a history of experience, and rewrite their own context, including memory blocks and system prompts, as they learn. Note that development has moved: the main letta-ai/letta repository now points to letta-ai/letta-code, which contains the agent harness, terminal UI, App Server and channels. The original Letta V1 API server is retired and kept on an archive branch.

Letta Code is aimed at people who want long-lived agents rather than one-off chat sessions: a personal or team assistant that remembers past work, agents that run on schedules, or agents that coordinate subagents. You can talk to the same agent from the CLI, a desktop app, the browser (chat.letta.com), Slack, Telegram or Discord. Context, including memory, is tracked with git and can be synced to your own repository, and skills, hooks and permission modes control behaviour.

Getting started: install with `npm install -g @letta-ai/letta-code` and run `letta` in a project directory. On first launch choose Letta Cloud or local mode, then use `/connect` to add your own model API keys and `/model` to switch models. `letta server` runs the App Server for local or self-hosted agents.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-24.

License
Apache-2.0
Latest release
0.16.8 · 2026-05-14
Last commit
2026-10-18
Contributors
155
Forks
2,656
Open issues and PRs
0
First published
2023-10-11
npm package
@letta-ai/letta-code 0.34.23 · 40,711 downloads last week
PyPI package
letta-client 1.12.1 · 34,843 downloads last week

Source: GitHub, npm and PyPI public APIs.

#Stateful AI#Agent Platform#Advanced Memory#CLI#API#Data Analysis
$ Install
$ npm install -g @letta-ai/letta-code
↗ Visit site★ GitHub
01

Features

01Build stateful AI agents with advanced memory
02Agents capable of learning and self-improvement over time
03CLI tool for running agents locally in your terminal
04Comprehensive API for integrating agents into applications
05Support for skills and subagents; fully model-agnostic
02

Why choose it

+Agents with genuinely persistent memory and identity that improve across sessions, building on the MemGPT research.
+One agent reachable from CLI, desktop, browser, mobile and messaging apps.
+Context tracked in git and syncable to your own repository, which makes memory inspectable.
+Supports subagents, schedules, hooks, skills and fine-grained permissions; Apache-2.0 licensed.
03

Trade-offs

!The project has been restructured: the V1 API server is retired and the code now lives in letta-code, so older tutorials and integrations may not apply.
!Letta Cloud is the default backend; features such as remote computers and secrets require signing in.
!Agents that rewrite their own context can drift over time; review memory and permissions periodically.
05

Maintenance check

ActiveChecked: 2026-10-24
Last commit
2026-10-18
Commits, last 90 days
9
Releases, last 90 days
0
Latest release
0.16.8 (2026-05-14)
Open issues
0
Recent issues with at least one comment
30/30
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 0, 2, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

04

Who it fits

Pick it if
  • You want a long-lived agent that remembers past work and rewrites its own memory and context over time.
  • You want one agent reachable from CLI, desktop, browser, mobile and messaging apps, with subagents, schedules and hooks.
  • You want memory you can inspect: the README says context is tracked in git and can sync to your own repository.
Look elsewhere if
  • You only need to add memory to an agent you already use through MCP; a small MCP memory server is a lighter fit.
  • You rely on older Letta tutorials or the V1 API server: the project restructured, and the V1 server is retired.
  • You want everything to work without signing in: Letta Cloud is the default backend and some features need it.
06

How it differs

mcp-memory-service logovs mcp-memory-service★ 2.1k

Letta is a whole agent harness whose memory is part of the agent. MCP Memory Service is a memory add-on that plugs into any MCP client you already use, so pick it if you want to keep your current assistant.

Full comparison →
LycheeMem logovs LycheeMem★ 1.1k

LycheeMem is a memory framework you embed in your own agent, with working, semantic and procedural stores. Letta ships the agent itself.

Full comparison →
07

Compatibility

Node.js
Native Runtime
Verified via docs
TypeScript
SDK Supported
Verified via docs
Python
SDK Supported
Verified via docs
08

Quick start

1
$ npm install -g @letta-ai/letta-code
09

Use cases

↳Running AI agents locally in your terminal for coding and general tasks.
↳Integrating stateful AI agents into custom applications using the API and SDKs.
↳Developing self-improving AI systems that adapt and learn continually.
10

Alternatives

⚡Top VS:
VSmcp-memory-service★2.1k→VSLycheeMem★1.1k→VSAcontext★3.7k→VSctxd★59→
mcp-memory-service logo
mcp-memory-service★ 2.1k
Stop re-explaining your project to AI every session. Automatic context memory for Claude, VS Code, Cursor, and 13+ AI tools.
VSCompare→
LycheeMem logo
LycheeMem★ 1.1k
Compact, efficient, and extensible long-term memory for LLM agents.
VSCompare→
Acontext logo
Acontext★ 3.7k
Data platform for context engineering. Context data platform that stores, observes and learns. Join the community❤️: https://discord.acontext.io
VSCompare→
ctxd logo
ctxd★ 59
Your AI agents can't see your files. ctxd connects your cloud data and makes it searchable via API, CLI, or MCP.
VSCompare→
inno-agent logo
inno-agent★ 1.3k
An open-source personal learning agent with three-layer memory (learner profile / wiki knowledge base / cross-conversation recall), a proactive scheduler, personal IM channels, and a workspace-scoped Practice Lab — built on the Pi SDK.
VSCompare→
Gemini CLI logo
Gemini CLI★ 108.6k
An open-source AI agent that brings the power of Gemini directly into your terminal. Supports native MCP.
VSCompare→
crw logo
crw★ 1.2k
Fast, lightweight Firecrawl/Tavily alternative in Rust. Web scraper, crawler & search API with MCP server for AI agents. Drop-in Firecrawl-compatible API (/scrape, /crawl, /search). 2.3x faster than Tavily, 1.5x faster than Firecrawl in 1K-URL benchmarks. 6 MB RAM, single binary. Self-host or use managed cloud.
VSCompare→
TrendRadar logo
TrendRadar★ 63.2k
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
VSCompare→
See all alternatives →

Featured in these lists

  • Best Memory Tools for AI Agents and Coding Assistants

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06How it differs07Compatibility08Quick start09Use cases10Alternatives
letta-ai /
letta
↗

Stateful agents with persistent, self-improving memory

25.3k2.7kApache-2.0
Last commit1w ago
StatusActive
CategoryMemory & Context
Contributors155
Latest release0.16.8
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.