对话界面、知识库与智能体Apache-2.0Python

Letta

Stateful agents with self-editing memory (formerly MemGPT).

Star 数
25.6K
Fork 数
2.7K
未关闭 Issue
1
最近提交
2026-10-18

数据来自 GitHub API · 更新于 2026-11-30

Letta 是什么?

Letta is a framework and server for building stateful LLM agents that manage their own memory blocks, archival storage and tools. Agents persist in a database and are accessed through a REST API, SDKs or the Agent Development Environment UI.

主要功能

  • Self-editing core and archival memory
  • Persistent agents behind a REST API
  • Python and TypeScript SDKs
  • Agent Development Environment for debugging
  • Model-agnostic

系统要求

平台
Docker · Windows · macOS · Linux
备注
Docker recommended; Postgres is bundled in the image.

如何安装 Letta

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

Docker

  1. 1
    Run the Letta server (pass the API keys you need).
    docker run -v ~/.letta/.persist/pgdata:/var/lib/postgresql/data -p 8283:8283 -e OPENAI_API_KEY="your_key" letta/letta:latest

Python SDK

  1. 1
    Install the client.
    pip install letta-client

优势

  • Research-backed memory design
  • Agents persist across sessions

不足

  • More concepts to learn than simple chat wrappers

Letta 替代品对比

软件Star 数许可证平台显存
Letta

Stateful agents with self-editing memory (formerly MemGPT).

25.6KApache-2.0—
Mem0

Long-term memory layer for AI agents and assistants.

69.6KApache-2.0—
LangGraph

Low-level orchestration for stateful, long-running agents as graphs.

45.6KMIT—
AutoGen

Microsoft’s framework for building multi-agent AI applications.

62KCC-BY-4.0—
CrewAI

Python framework for orchestrating role-playing, collaborative AI agents.

61.4KMIT—
Open WebUI

Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs.

159.8KOpen WebUI License (BSD-3-Clause based)—

常见问题

Letta 免费吗?

是的——Letta 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。

Letta 支持 Windows、Mac 和 Linux 吗?

Letta 支持:Docker, Windows, macOS, Linux。

如何安装 Letta?

1. Run the Letta server (pass the API keys you need).

Letta 有哪些好的替代品?

常见替代品包括 Mem0, LangGraph, AutoGen, CrewAI,详见本页对比表。