Dev & Engineering stateful-memorycontinual-learningtypescript-sdkcliself-hostingslack-channels

Letta

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

FollowAgents review · FARS-2.1
Not recommended
47/ 100 5-point scale 2.4 / 5
1 2 3 4 5 6
Per-dimension scores and reasoning
1Trust10 / 29 · 1.7/5

Evidence shows a security policy and error handling tests, but no explicit implementation of least privilege, user confirmation, data flow transparency, sensitive data handling, dependency security, external effects, rollback, or source attribution. Deductions: lack of concrete evidence for these aspects.

2Reliability8 / 14 · 2.9/5

Tests cover error conversion, but dependencies are numerous and availability not verified. Deductions: dependency availability unproven, failure messages tested but not executed.

3Adaptability9 / 18 · 2.5/5

README describes multiple use cases, but capability boundaries and trigger precision are not explicit. Deductions: capability boundaries and trigger precision lack documentation.

4Convention10 / 18 · 2.8/5

Has README, LICENSE, pyproject.toml, but lacks changelog and known limitations. Deductions: versioning and known limitations not documented.

5Effectiveness7 / 13 · 2.7/5

Output usability has examples, marginal value is clear, but cost-benefit not quantified. Deductions: cost-benefit lacks data.

6Verifiability3 / 8 · 1.9/5

Claims are supported by tests, but independent verification not possible. Deductions: claim traceability insufficient, cross-source corroboration limited.

Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision ff19ffeafeb5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Numerous dependencies with unverified availability may affect reliability.
  • Lack of changelog and known limitations makes risk assessment difficult.
  • Permissions and data handling details are unclear; use with caution.
Review evidence [1][2][3][4][5][6][7][8][9]
See the full review method →

What does this agent do, and when should you use it?

Letta, formerly MemGPT, is a platform for stateful agents with advanced memory. This repository contains the legacy Letta Server behind the Letta V1 API and SDKs; active development has moved to the Letta Agent repository. For new builds, the TypeScript Letta Agent SDK can run agents on Letta’s Constellation cloud, locally, or against a self-hosted App Server. Letta Code provides a terminal entry point for running a memory-enabled local agent, with desktop and Slack-channel options also named. The SDK exposes agent creation, session resumption, message sending, and streamed assistant responses.

A developer installs @letta-ai/letta-agent-sdk and creates a LettaAgentClient. client.createAgent({ model, human, persona }) creates a stateful agent with a model, human description, and persona, returning an agentId; client.resumeSession(agentId) opens its session, session.send(...) submits input, and for await (const message of session.stream()) reads streamed messages whose type is assistant. backend: "cloud" connects through a Letta API key, while backend: "local" launches Letta Code as a subprocess on the local machine. Terminal users can instead install @letta-ai/letta-code globally and run letta to launch a local memory-enabled agent.

  1. A TypeScript application developer who needs an agent whose state can be resumed by agentId can create and resume it with LettaAgentClient.
  2. An individual developer who wants a memory-enabled assistant in a local terminal can install Letta Code and run letta.
  3. A team deciding between cloud, local execution, and a self-hosted API boundary can select the appropriate Agent SDK backend.
  4. A developer building a streaming chat interface can consume assistant output incrementally through session.stream().
  5. A maintainer already using the Letta V1 API can retain a V1 SDK while using the Agent SDK for new projects.

What are this agent's strengths and limitations?

Pros
  • The SDK documents a complete path for creating an agent, resuming a prior session, and consuming streamed responses.
  • One Agent SDK explicitly supports cloud, local, and self-hosted App Server execution boundaries.
  • The local backend starts Letta Code as a subprocess, avoiding separate subprocess setup in the application.
  • CLI, desktop, and Slack channels provide multiple documented interaction surfaces for memory-enabled agents.
Limitations
  • This is the legacy Letta Server repository; active development has moved to letta-ai/letta-code, creating a migration consideration for adopters of this repository itself.
  • The CLI requires Node.js 22.19+, and local SDK execution depends on Letta Code being launched.
  • The cloud example requires a Letta API key, so that path depends on credentials and network access.
  • The supplied material names App Server for self-hosting but does not provide its installation commands, infrastructure requirements, or operational configuration.

How do you install or deploy this agent?

Node.js 22.19+ is required. For the local CLI: npm install -g @letta-ai/letta-code. For the TypeScript SDK: npm install @letta-ai/letta-agent-sdk. Cloud SDK use requires a Letta API key, supplied as LETTA_API_KEY.

How do you use this agent?

The first CLI invocation is: letta. For cloud SDK use, create new LettaAgentClient({ backend: "cloud", apiKey: process.env.LETTA_API_KEY }), call await client.createAgent({ model, human, persona }), then use await using session = client.resumeSession(agentId), await session.send("What do you know about me?"), and session.stream() to receive output. To run through the local SDK backend, use new LettaAgentClient({ backend: "local" }); it starts Letta Code as a subprocess.

How does this agent compare with similar options?

For new projects, the README recommends the Letta Agent SDK. Previous-generation V1 SDKs—@letta-ai/letta-client for TypeScript and letta-client for Python—remain available for direct use with the Letta API.

FAQ

Is this repository where active development happens?
No. It contains the legacy Letta Server; active development is stated to have moved to the letta-ai/letta-code repository.
What credential is required for cloud use?
The cloud example requires a Letta API key, read from the LETTA_API_KEY environment variable.
Can it run locally?
Yes. The SDK supports backend: "local" and starts Letta Code as a subprocess; the CLI can also be run directly in a terminal.
Is self-hosting documented here?
The material identifies App Server as the current self-hosting route, but it does not include App Server installation or configuration details.

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents