Letta(原名 MemGPT)是一个用于构建有状态 AI 智能体的开源平台,核心是给大模型加上可持久化的记忆层,让智能体在长期使用中保留身份、上下文与经验,并据此调整自己的行为。它提供交互式终端界面和可在本地或自托管的 App Server,也能通过浏览器、Slack、Telegram、Discord 等渠道直接调用,另外提供 TypeScript 的 Agent SDK,方便把智能体接入已有应用。需要注意的是,活跃源码已迁移到 letta-ai/letta-code,本仓库主要保留旧版 V1 API 服务与历史发布版本。
npm install -g @letta-ai/letta-codeBuild 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.
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.
The branch contains the retired Letta V1 API server. Existing tags and releases remain available for reproducibility, but active projects should use the .
archive内容由编辑整理,部分信息来自 GitHub 与项目官网,版权归原作者所有。发现错误?报告问题