# Letta

CreateWithAI Hub page: https://createwithaihub.com/frameworks/letta
Latest version of this file: https://createwithaihub.com/frameworks/letta.md

- Type: Framework · Category: Harnesses & Frameworks
- Publisher: Letta
- Pricing: Free · License: Apache-2.0
- Runs on: Web, macOS, Windows, Linux

Open-source harness and TypeScript SDK for stateful agents with long-term memory, formerly MemGPT.

Letta (formerly MemGPT) builds stateful agents that keep identity and long-term memory and improve by rewriting their own memory, skills and prompts. Its current code is Letta Code, a harness with a terminal UI, an App Server for local or self-hosted agents, and messaging channels such as Slack, Telegram and Discord. The Letta Agent SDK lets TypeScript applications create an agent once and resume it anywhere, on a local backend with no account or on Letta Cloud. It suits developers who want long-running agents with persistent memory.

Useful for: Running an always-on assistant that remembers past conversations and preferences and that you can reach from the terminal, the browser or Slack.

## Key features

- Memory blocks and skill learning; agents rewrite their own context over time
- MemFS: agent context tracked in git and syncable to a repository
- Subagents and agent-to-agent calls
- Channels for Slack, Telegram, Discord and the browser (chat.letta.com)
- Hooks, permissions, crons and schedules
- Letta Agent SDK for TypeScript with local or cloud backends

## Connection

- Language: TypeScript / JS
- Focus: Agents & tool use, Multi-agent
- Model support: Multi-provider

## Before you start

- Node.js 22.19+ (Agent SDK local backend)
- Python 3.9+ when installing the CLI with uv or pipx

## Install steps from the official documentation

Letta Code CLI:

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

Letta Agent SDK (TypeScript):

```
npm install @letta-ai/letta-agent-sdk tsx
```

## Limitations

- Letta Cloud is the default backend on first launch; you can choose local instead
- Remote computers and secrets require signing in with Letta
- The old Letta V1 API server is retired (archive branch); AgentFile export/import has been removed

## Official links

- Website: https://www.letta.com
- Source repository: https://github.com/letta-ai/letta-code
- Documentation: https://docs.letta.com
- Source: https://github.com/letta-ai/letta (README: Letta f.k.a. MemGPT; current source lives in letta-ai/letta-code; V1 API server retired to archive branch)
- Source: https://github.com/letta-ai/letta-code (README: feature table, install commands, platform support, Letta Cloud default, BYO API keys; LICENSE: Apache-2.0)
- Source: https://docs.letta.com/letta-agent-sdk/overview (Agent SDK for stateful agents in JS/TS; local backend needs no account)
- Source: https://docs.letta.com/letta-agent-sdk/quickstart (npm install @letta-ai/letta-agent-sdk tsx; Node.js 22.19+)
- Source: https://docs.letta.com/pricing/ (Free $0 (up to 3 stateful agents), Pro $20/month, Teams Pro $20/seat/month, Enterprise custom)
- Source: https://www.letta.com (Homepage presents Letta Code (npm i -g @letta-ai/letta-code), research and the MemGPT paper)
