# Letta

框架 · https://godooo.ai/zh/framework/letta

> Letta 是开源 AI 开发框架，2023 年推出，面向开发者、企业。

构建有长期记忆、能持续学习的有状态智能体的平台。

主打：搭建智能体、智能体记忆。开源，可以免费使用。使用方式：自部署、本地离线运行、API、命令行、桌面应用、网页版。

## 速览

- **类别:** [框架](https://godooo.ai/zh/browse#framework)
- **推出于:** 2023
- **所属星系:** [智能体与自动化](https://godooo.ai/zh/galaxy/agents)
- **是否开源:** 是 · Apache-2.0
- **源代码:** [github.com/letta-ai/letta](https://github.com/letta-ai/letta)
- **GitHub 星标:** 24,867
- **使用方式:** 可自部署 · 可离线本地运行 · API · 命令行 · 桌面 · 网页
- **适合谁:** 开发者 · 企业
- **官网:** [docs.letta.com](https://docs.letta.com)
- **别名:** MemGPT

## 能做什么

- **[搭建智能体](https://godooo.ai/zh/capability/agent-building)** — 主打, _由机器提出，尚待校准_. “Use Letta to create coding agents, personal assistants, AI coworkers, and stateful agents embedded in your own applications.” (摘自 [docs.letta.com](https://docs.letta.com/)，2026-09-24)
- **[智能体记忆](https://godooo.ai/zh/capability/agent-memory)** — 主打, _由机器提出，尚待校准_. “Build stateful agents with memory that can learn and improve over time.” (摘自 [github.com](https://github.com/letta-ai/letta)，2026-09-24)
- **[自主编程](https://godooo.ai/zh/capability/coding-agent)** — 支持, _由机器提出，尚待校准_. “”I want an AI coding assistant”” (摘自 [docs.letta.com](https://docs.letta.com/)，2026-09-24)

## 平替与同类

- **[Claude Agent SDK](https://godooo.ai/zh/framework/claude-agent-sdk)** (开源免费): 同样能做：搭建智能体、智能体记忆、自主编程
- **[LangGraph](https://godooo.ai/zh/framework/langgraph)** (开源免费): 同样能做：搭建智能体、智能体记忆
- **[OpenAI Agents SDK](https://godooo.ai/zh/framework/openai-agents-sdk)** (开源免费): 同样能做：搭建智能体、智能体记忆
- **[Agno](https://godooo.ai/zh/framework/agno)** (开源免费): 同样能做：搭建智能体、智能体记忆
- **[CAMEL](https://godooo.ai/zh/framework/camel)** (开源免费): 同样能做：搭建智能体、智能体记忆
- **[Mastra](https://godooo.ai/zh/framework/mastra)** (开源免费): 同样能做：搭建智能体、智能体记忆
- **[Strands Agents](https://godooo.ai/zh/framework/strands-agents)** (开源免费): 同样能做：搭建智能体、智能体记忆
- **[AutoGen](https://godooo.ai/zh/framework/autogen)** (开源免费): 同样能做：搭建智能体
- **[AutoGPT](https://godooo.ai/zh/agent/autogpt)** (开源免费): 同样能做：搭建智能体；不用写代码
- **[Coze 扣子](https://godooo.ai/zh/product/coze)** (免费版 + 付费升级): 同样能做：搭建智能体；不用写代码
- **[Dify](https://godooo.ai/zh/product/dify)** (开源免费): 同样能做：搭建智能体；不用写代码
- **[LangChain](https://godooo.ai/zh/framework/langchain)** (开源免费): 同样能做：搭建智能体

## 关系

- **应用了:** [Context Engineering](https://godooo.ai/zh/concept/context-engineering)

## 常见问题

### Letta 是什么？

Letta 是开源 AI 开发框架，2023 年推出，面向开发者、企业。构建有长期记忆、能持续学习的有状态智能体的平台。

### Letta 免费吗？

免费。Letta 是开源软件（Apache-2.0）。

### Letta 开源吗？

开源，许可证是 Apache-2.0。源代码在 https://github.com/letta-ai/letta。

### Letta 能本地运行吗？

能，可以在自己的电脑上离线运行。也可以部署在自己的服务器上。

### Letta 能做什么？

主打：搭建智能体、智能体记忆。也能做：自主编程。

### Letta 有哪些开源替代品？

开源的有：Claude Agent SDK、LangGraph、OpenAI Agents SDK、Agno、CAMEL、Mastra、Strands Agents、AutoGen。其他：Coze 扣子。

## 来源

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

---

最后更新 2026-09-24 · 来源核实于 2026-09-24 · 这是 https://godooo.ai/zh/framework/letta 的 Markdown 版本。本站每个页面都有：在地址后面加 .md。
