letta README

The project's README from github.com/letta-ai/letta. As one markdown file: README.md.

Letta

Build stateful agents with memory that can learn and improve over time.

Letta (f.k.a. MemGPT) is actively developed. The current source code lives in letta-ai/letta-code, which includes the agent harness, interactive terminal UI, App Server, channels, and the runtime used by the desktop and web apps.

Get started

Install Letta from npm:

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

Launch the interactive terminal UI:

letta

Run the App Server for local or self-hosted agents:

letta server

You can also use Letta through:

See the Letta documentation for current installation, development, and deployment instructions.

Historical source

The archive branch contains the retired Letta V1 API server. Existing tags and releases remain available for reproducibility, but active projects should use the current source.

letta (letta-ai/letta)

Searching Database…

25.2K ·GitHub
这是什么?Letta 是一个用于构建有状态 AI 智能体的平台,这些智能体具备高级记忆能力,可以随着时间不断学习和改进。它是 MemGPT 的后继项目,目前仍在积极开发中。
这是一个可以嵌入的库,还是完整的平台?这是一个完整的平台。核心源码包括智能体运行框架、交互式终端界面和 App Server,还有桌面端和网页端应用。同时提供 SDK,可以把智能体嵌入你自己的 TypeScript 应用中。
怎么让它运行起来?先通过 npm 安装 Letta,然后启动交互式终端界面。如果你想在本地或自托管环境中提供智能体服务,也可以运行 App Server。
我需要先安装 Node.js 和 npm 吗?需要——Letta 以 npm 包的形式分发,所以在运行 CLI 或 App Server 之前,必须先安装 Node.js 和 npm。
这和我可能听说过的旧项目 MemGPT 是一回事吗?是的,Letta 是 MemGPT 更名后的延续版本。原来的 Letta V1 API 服务器已经退役,移入了一个单独的归档分支,仅供参考;新的工作应基于当前源码进行。
我不用自己安装任何东西也能用 Letta 吗?可以。你可以直接在浏览器中访问 chat.letta.com 与智能体聊天(包括手机端),也可以通过 Slack、Telegram、Discord 或自定义渠道与它们交互,无需自己运行服务器。
有桌面应用吗?有的。除了网页版和终端版之外,Letta 还提供适用于 macOS、Windows 和 Linux 的桌面应用。
Letta Cloud 相比自托管有什么额外的好处?Letta Cloud 会自动让智能体的记忆、身份信息和对话历史在不同电脑之间保持可用。如果自托管 App Server,你就得自己来管理这些内容。
我能把智能体直接集成到自己的应用里吗?可以。Letta Agent SDK 允许你构建智能体并将其嵌入 TypeScript 应用中,而不仅仅局限于独立的终端界面或 App Server。
什么让“有状态”的智能体不同于普通的大语言模型聊天?有状态的智能体会在多次会话之间保留并管理自己的记忆,因此能够随着时间学习和自我改进。而普通的无状态大语言模型调用,每次对话都从头开始。
Creator
letta-ai
Size
286.7 MB
Stars
25.2K
Age
3y
Commits · 90 Days