# Letta (MemGPT)

> Canonical: https://skillalmanac.com/glossary/letta | Last verified: 2026-11-24 | Index status: not offered to search engines

Letta is a platform from the company Letta for building stateful agents, in its docs' words. Its site says it was "Founded by the creators of MemGPT from UC Berkeley's Sky Computing Lab".

Also called: letta ai, letta memgpt, letta agents.

## In plain language

A language model starts each conversation blank. Letta is software for building agents that keep their own memory between conversations, so they can carry what they learned into the next one. Letta's documentation describes agents that learn from experience. Its quickstart lists a /memory command to "View and manage memory blocks". Think of an assistant with a notebook it can rewrite. The limit is that the notebook is text the model reads, so it can be wrong or outdated, and stored text can include private details. Letta is one of several ways to give agents memory.

## Technical definition

Letta's site says it was "Founded by the creators of MemGPT from UC Berkeley's Sky Computing Lab". The MemGPT paper (arXiv 2310.08560, submitted October 2023) proposes virtual context management, borrowed from operating-system memory hierarchies, which moves data between fast and slow storage to give the appearance of a larger memory, and uses interrupts to control flow between the model and the user. As of 2026-11-24, Letta's documentation describes a platform for building stateful agents, with a memory system, and a memory system section.

## How it shows up when you use agents

Letta is a platform for building stateful agents, and it grew out of the MemGPT research. You meet it when you want an agent that keeps what it learned across runs instead of starting blank. Letta's site presents a coding agent, Letta Code, and its docs point to an Agent SDK for adding stateful agents to your own application, and they have a memory system section.

The idea behind the research paper is that a model's [context window](/glossary/context-window) is small compared with everything an agent might need to know. The paper proposes moving information between fast and slow storage, as an operating system does, so the agent appears to have more memory than fits at once. This is a form of [agent memory](/glossary/agent-memory) that the agent itself helps manage.

What breaks when it is misunderstood:

- **Assuming the model changed.** Memory is stored text loaded into the prompt, not new weights.
- **Trusting stored notes.** Memory the agent writes can contain mistakes, and it can persist.

Next action: run `/context` in Claude Code to see how much of the window your session uses, and read the Letta memory docs before storing anything personal.

Letta is a product of Letta, which owns the name; Skill Almanac is independent and not affiliated with Letta.

## Common confusions

- **Letta versus MemGPT.** Letta's site describes MemGPT as the original research work where Letta began. The MemGPT paper is the research publication; Letta is the continuing platform and company.
- **Letta versus the context window.** The [context window](/glossary/context-window) is what the model sees now. Letta's memory is what is stored so it can be brought into later windows.
- **Letta versus a chat app's memory feature.** The [memory feature](/glossary/memory-feature) in a consumer app is built in. Letta is software you build agents with.
- **Myth.** A stateful agent learns by retraining. The documentation and paper describe memory handled around the model.

## Worked examples in this catalogue

### [What Is an AI Agent? The Model, Tools and Memory Loop](https://skillalmanac.com/learn/what-is-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The agent loop: the model picks its own next step and tool call, observes the result, and repeats until the task is done or a stop condition is reached.

Why it exercises the concept: A stateful agent is this loop with memory that persists between runs. The guide shows the loop that such memory plugs into.

### [session-handoff-notes](https://skillalmanac.com/skills/skill-almanac/session-handoff-notes)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A handoff note that the next coding-agent session can act on, checked for evidence, paths and vague items.

Why it exercises the concept: It is hand-written state carried to the next session, the same need that stateful-agent platforms address with stored memory.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
/context
```

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Claude Code shows what is currently using the context window in a session.

Why it exercises the concept: MemGPT's motivation was the limited context window. This command lets you see how full yours is, which is the problem memory management addresses.

## Related terms

- [Agent memory](https://skillalmanac.com/glossary/agent-memory.md)
- [Context window](https://skillalmanac.com/glossary/context-window.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)
- [Memory (chat assistant feature)](https://skillalmanac.com/glossary/memory-feature.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)

## Sources

- [Letta documentation](https://docs.letta.com/), Letta (accessed 2026-11-24)
- [Letta quickstart](https://docs.letta.com/quickstart), Letta (accessed 2026-11-24)
- [Letta](https://www.letta.com), Letta (accessed 2026-11-24)
- [MemGPT: Towards LLMs as Operating Systems](https://arxiv.org/abs/2310.08560), arXiv (Packer et al.) (accessed 2026-11-24)
- [What Is AI Agent Memory?](https://www.ibm.com/think/topics/ai-agent-memory), IBM (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
