# Letta

Framework · https://godooo.ai/en/framework/letta

> Letta is an open-source AI framework, launched in 2023, made for developers and businesses.

A platform for building stateful agents with long-term memory that learn over time.

Main jobs: Build AI agents, Long-term memory for agents. It is open source and free to use. You can use it on your own server, offline on your own machine, through an API, in the terminal, as a desktop app and in the browser.

## At a glance

- **Type:** [Framework](https://godooo.ai/en/browse#framework)
- **Launched:** 2023
- **Galaxy:** [Agents & Automation](https://godooo.ai/en/galaxy/agents)
- **Open source:** Yes · Apache-2.0
- **Source code:** [github.com/letta-ai/letta](https://github.com/letta-ai/letta)
- **GitHub stars:** 24,867
- **How you run it:** Self-host · Runs offline · API · Terminal · Desktop · Web
- **Made for:** Developers · Businesses
- **Website:** [docs.letta.com](https://docs.letta.com)
- **Also known as:** MemGPT

## What it can do

- **[Build AI agents](https://godooo.ai/en/capability/agent-building)** — main job, _proposed by a machine, awaiting calibration_. “Use Letta to create coding agents, personal assistants, AI coworkers, and stateful agents embedded in your own applications.” (read on [docs.letta.com](https://docs.letta.com/), 2026-09-24)
- **[Long-term memory for agents](https://godooo.ai/en/capability/agent-memory)** — main job, _proposed by a machine, awaiting calibration_. “Build stateful agents with memory that can learn and improve over time.” (read on [github.com](https://github.com/letta-ai/letta), 2026-09-24)
- **[Agentic coding](https://godooo.ai/en/capability/coding-agent)** — supported, _proposed by a machine, awaiting calibration_. “”I want an AI coding assistant”” (read on [docs.letta.com](https://docs.letta.com/), 2026-09-24)

## Alternatives

- **[Claude Agent SDK](https://godooo.ai/en/framework/claude-agent-sdk)** (Open source, free): Also does: Build AI agents, Agentic coding, Long-term memory for agents
- **[LangGraph](https://godooo.ai/en/framework/langgraph)** (Open source, free): Also does: Build AI agents, Long-term memory for agents
- **[OpenAI Agents SDK](https://godooo.ai/en/framework/openai-agents-sdk)** (Open source, free): Also does: Build AI agents, Long-term memory for agents
- **[Agno](https://godooo.ai/en/framework/agno)** (Open source, free): Also does: Build AI agents, Long-term memory for agents
- **[CAMEL](https://godooo.ai/en/framework/camel)** (Open source, free): Also does: Build AI agents, Long-term memory for agents
- **[Mastra](https://godooo.ai/en/framework/mastra)** (Open source, free): Also does: Build AI agents, Long-term memory for agents
- **[Strands Agents](https://godooo.ai/en/framework/strands-agents)** (Open source, free): Also does: Build AI agents, Long-term memory for agents
- **[AutoGen](https://godooo.ai/en/framework/autogen)** (Open source, free): Also does: Build AI agents
- **[AutoGPT](https://godooo.ai/en/agent/autogpt)** (Open source, free): Also does: Build AI agents; no code needed
- **[Coze 扣子](https://godooo.ai/en/product/coze)** (Free plan + paid upgrades): Also does: Build AI agents; no code needed
- **[Dify](https://godooo.ai/en/product/dify)** (Open source, free): Also does: Build AI agents; no code needed
- **[LangChain](https://godooo.ai/en/framework/langchain)** (Open source, free): Also does: Build AI agents

## Connections

- **Applies:** [Context Engineering](https://godooo.ai/en/concept/context-engineering)

## Questions

### What is Letta?

Letta is an open-source AI framework, launched in 2023, made for developers and businesses. A platform for building stateful agents with long-term memory that learn over time.

### Is Letta free?

Yes. Letta is open source (Apache-2.0) and free to use.

### Is Letta open source?

Yes, under the Apache-2.0 license. The source code is at https://github.com/letta-ai/letta.

### Can Letta run locally?

Yes. Letta can run offline on your own machine. It can also be self-hosted on your own server.

### What can Letta do?

Main jobs: Build AI agents, Long-term memory for agents. It can also do: Agentic coding.

### What are open-source alternatives to Letta?

Open-source ones: Claude Agent SDK, LangGraph, OpenAI Agents SDK, Agno, CAMEL, Mastra, Strands Agents and AutoGen. Others: Coze 扣子.

## Sources

- [docs.letta.com](https://docs.letta.com/) — checked 2026-09-24
- [github.com](https://github.com/letta-ai/letta) — checked 2026-09-24

---

Last updated 2026-09-24 · sources checked 2026-09-24 · Markdown version of https://godooo.ai/en/framework/letta. Every page on this site has one: add .md to its address.
