# Letta

> Build stateful agents with memory that can learn and improve over time

Source: https://talira.ai/catalog/letta-8fr9dnmv
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Command-line tool, Web app, Library, API
- Categories: [ai / agents / memory](https://talira.ai/categories/ai/agents/memory), [ai / agents / personal assistants](https://talira.ai/categories/ai/agents/personal-assistants), [developer tools / ai coding / agents](https://talira.ai/categories/developer-tools/ai-coding/agents)
- Platforms: macos, linux, windows, web[^1]
- Licence: Apache-2.0[^4]
- Pricing: Free tier, from $20/month[^2]
- Pricing notes: Free plan with bring-your-own API keys (up to 3 stateful agents); Pro $20/month with $20 of credits; Teams Pro $20/seat/month; Enterprise custom. Running Letta Code locally needs no account.
- Free tier: yes[^2]
- Self-hostable: yes[^3]
- Cloud hosted: yes[^1]
- SSO: yes[^2]
- SSO tax: SSO only in plans priced by sales (an enterprise plan)
- API: yes[^5]
- MCP server: yes[^6]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^6]
- Backed by: [Letta](https://talira.ai/orgs/letta.md)
- Creator: The creators of MemGPT at UC Berkeley's Sky Computing Lab
- Funding: venture-backed[^7]

Letta, formerly MemGPT, makes stateful agents: each agent keeps one identity and long-term memory across conversations, models and the computers it runs on. Its product is Letta Code, an Apache-2.0 agent harness and CLI in which agents keep memory blocks and a git-versioned memory filesystem (MemFS), learn skills, rewrite their own system prompts, run schedules and subagents, and reorganise their memory in the background ("dreaming"); the same agent can be reached from the terminal, chat.letta.com and [Slack](https://talira.ai/catalog/slack-bp8cdfdq.md), [Telegram](https://talira.ai/catalog/telegram-yb0f3wse.md), [Discord](https://talira.ai/catalog/discord-4w4a2nm4.md), [WhatsApp](https://talira.ai/catalog/whatsapp-rz84ys5m.md) or Signal. Agents run fully locally with no account, on a self-hosted App Server that your application drives through the [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md) Letta Agent SDK, or in Letta Cloud, which keeps agent state, runs cloud sandboxes and offers a REST API and a hosted MCP server. The team created MemGPT at UC Berkeley's Sky Computing Lab; the older Letta V1 API server in letta-ai/letta is retired to an archive branch.

## Links

- Website: https://www.letta.com/
- GitHub: https://github.com/letta-ai/letta-code
- Docs: https://docs.letta.com/
- Pricing: https://docs.letta.com/pricing/

## Problems it solves

- my AI agent forgets everything between sessions and I keep pasting the same project context back in
- an assistant that keeps the same memory whether I talk to it from the terminal, a browser or Slack
- let an agent edit its own long-term memory and system prompt as it learns how I work
- version an agent's memory in git so I can see and roll back what it learned
- run a stateful agent entirely on my own machine with Ollama and no vendor account
- embed agents that remember each user into my TypeScript app instead of building memory storage myself
- an always-on agent that runs scheduled tasks like a daily briefing and answers in Telegram or WhatsApp
- agent that consolidates and reorganises its memories in the background between conversations
- share one agent with my team with access control so everyone talks to the same memory
- let Claude Code or Cursor create and delegate work to a persistent agent over MCP
- switch the underlying model of an agent without losing what it remembers
- move an agent between my laptop and a cloud VM and keep its memory and conversations

## Features

- memory blocks and MemFS, a git-versioned memory filesystem the agent reads, writes and reorganises
- sync an agent's memory to your own GitHub repository
- background reflection ("dreaming", formerly sleep-time compute) with /sleeptime, /dream and /reflect
- skill learning, global, project and agent-scoped skills, and skills installed from GitHub
- subagents and agents calling other agents
- schedules and crons, including schedules agents set themselves
- messaging channels: Slack, Telegram, Discord, WhatsApp, Signal and custom channels
- hooks, permission modes and secrets kept out of the model's context
- mods that change the harness itself: tools, commands, UI, model providers
- BYOK for Anthropic, OpenAI, Gemini, Bedrock, Azure OpenAI and more; coding plans such as ChatGPT/Codex and GitHub Copilot; local Ollama, LM Studio and llama.cpp
- Letta Agent SDK (TypeScript) on Letta Cloud or a self-hosted App Server
- remote computers: one cloud-stored agent working across several machines
- hosted MCP server at api.letta.com/mcp for other agents to create and message Letta agents
- message search across all agents and conversations

## Limitations

- Doesn't import or export AgentFile (.af) agents any more: Letta Code removed `/export`, `--import` and `--from-af`[^1]

## Ways to run it

### Letta Cloud

Hosted by Letta. Price: Free (3 stateful agents, bring your own keys); Pro $20/month with $20 of credits; Teams Pro $20/seat/month; Enterprise custom.[^2]

Only in this edition:

- agent state kept across computers
- chat.letta.com web app
- cloud sandboxes
- hosted MCP server
- shared agents with access control (Teams Pro)
- SAML/OIDC SSO and role-based access control (Enterprise)

Pricing: https://docs.letta.com/pricing/

### Letta Code (self-hosted)

You run it, Apache-2.0. Price: free.[^3][^4]

Only in this edition:

- no Letta account needed
- agent state stays on your machine

Not included:

- access to self-hosted agents from chat.letta.com
- automatic backups of agent state

You arrange:

- model provider API keys or a local model server (Ollama, LM Studio, llama.cpp)
- Node.js 22.19+
- an always-on machine for the App Server
- backups of agent state

Self-hosting docs: https://docs.letta.com/self-hosting/

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Has official SDKs: plan not known
- Has single sign-on: Enterprise plan, priced by sales[^2]

## Trust

Overall: 0.61 out of 1.
Signals: backing 0.75, extensibility 0.60.

- has a company behind it
- created by The creators of MemGPT at UC Berkeley's Sky Computing Lab
- funding: venture-backed
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Hermes Agent](https://talira.ai/catalog/hermes-agent-hshebrp1.md): The agent that grows with you
- [Engram](https://talira.ai/catalog/engram-6p0bcdf2.md): Persistent memory for AI coding agents
- [OpenViking](https://talira.ai/catalog/openviking-9dqr3z4v.md): The context database for AI agents
- [MemPalace](https://talira.ai/catalog/mempalace-5jj32hay.md): Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval, zero API calls.
- [Supermemory](https://talira.ai/catalog/supermemory-nek6e663.md): Memory and context layer for AI: memory, RAG, user profiles and connectors in one API
- [LangMem](https://talira.ai/catalog/langmem-9k84aqah.md): Helps agents learn and adapt from their interactions over time

## Sources

[^1]: https://github.com/letta-ai/letta-code/blob/main/README.md (checked 20 Nov 2026)
[^2]: https://docs.letta.com/pricing/ (checked 20 Nov 2026)
[^3]: https://docs.letta.com/self-hosting/ (checked 20 Nov 2026)
[^4]: https://github.com/letta-ai/letta-code/blob/main/LICENSE (checked 20 Nov 2026)
[^5]: https://docs.letta.com/api/resources/agents (checked 20 Nov 2026)
[^6]: https://docs.letta.com/platform/hosted-mcp/ (checked 20 Nov 2026)
[^7]: https://www.letta.com/ (checked 20 Nov 2026)
