Letta

Updated Published

Letta is an open-source harness for stateful agents that edit their own long-term memory, stored as files in a git repository, run locally or on Letta Cloud.

Letta was formerly MemGPT. Letta's docs index now calls the harness the Letta Harness (formerly Letta Code); its source lives in letta-ai/letta-code, whose README still says Letta Code. The old Letta V1 API server is on an archive branch of letta-ai/letta.

Best for: developers building long-running agents, including coding agents, that learn and keep their own memory

Letta official site

What is Letta?

Letta is an open-source harness for building stateful AI agents that keep long-term memory and rewrite it as they learn. Each agent's memory is a set of files in its own git repository, so every change is a commit.

Letta comes from the team behind MemGPT. Memory is part of the agent rather than a separate memory API, and the agent itself decides what to save. You can run agents locally with no account or on Letta Cloud, which adds shared memory across agents and team controls.

How does Letta work?

  1. Create an agent with the Letta Harness CLI (formerly Letta Code, the name its README still uses), the web or desktop app, or the TypeScript Agent SDK.
  2. As you work with it, the agent decides which lessons belong in memory and commits them to its MemFS git repository.
  3. Optionally, background dreaming subagents review recent conversations and consolidate lessons into memory.
  4. You review what it saved with the /memory command or by reading the memory directory and its git history.
  5. On Letta Cloud, attach a shared memory repository to several agents so they work from the same files.

How much does Letta cost?

As of 18 October 2026, the free plan is $0 a month for up to 3 stateful agents, with limited requests on rotating free models or your own model keys. Pro is $20 a month for personal use with up to 20 agents. The API Plan is $20 a month plus $0.10 per active agent and pay-as-you-go model usage.

Teams Pro is $20 per seat a month, and Enterprise is custom with RBAC and SAML or OIDC SSO. Prices are shown in dollars with no region stated.

  • Paid: Pro $20/month (personal, up to 20 agents); API Plan $20/month plus $0.10 per active agent and usage; Teams Pro $20/seat/month; Enterprise custom. Prices in $, no region stated Verified
  • Free: Free: $0/month, up to 3 stateful agents, limited requests on rotating free models, or bring your own model keys Verified

Who is Letta for, and who is it not for?

Letta suits a developer who wants agents that keep learning over long stretches of work, such as a coding agent or a personal assistant, and who likes being able to read memory as plain files with git history. Running locally with no account makes it easy to try.

It is a weak fit when a company needs vendor security attestations, VPC deployment or sign-off before an agent's memory changes. We found none of these documented, and memory carries no links back to its sources.

What does Letta do well?

  • Apache-2.0 agent harness that can run fully on your machine with no Letta account
  • Memory is files in git: every edit is a commit, so you can read the history of what an agent learned
  • Shared memory repositories let several cloud agents read and edit the same organization-owned files
  • A $0 plan with 3 agents, and paid plans from $20 a month
  • Team roles (Admin, Editor, Analyst) with agents private by default, plus RBAC and SAML or OIDC SSO on Enterprise

Letta on our criteria

Letta: what we found, by criterion
CriterionWhat we found
Pricing Pro $20/month (personal, up to 20 agents); API Plan $20/month plus $0.10 per active agent and usage; Teams Pro $20/seat/month; Enterprise custom. Prices in $, no region stated Verified
Free plan Free: $0/month, up to 3 stateful agents, limited requests on rotating free models, or bring your own model keys Verified
Open source Yes, Apache-2.0 (letta-ai/letta-code and letta-ai/letta) Verified
Human approval No approval step for memory: the agent commits its own updates and people can review them afterwards; the agent-review option does not ask you for approval Verified
Cites sources Not publicly documented
Versioning and history Every memory edit is committed to the agent's MemFS git repository, giving version history Verified
Shared across agents Yes, on Letta Cloud: shared memory git repositories attached to several agents; not available to local agents Verified
Context graph Not publicly documented
Enterprise sources No document or wiki connectors found; cloud agents integrate with GitHub, and can be run inside Slack as a chat channel. No Notion, Google Drive, SharePoint or ERP connectors found Verified
Deployment Letta Cloud (default), fully local runtime with no account, or a self-hosted App Server; VPC deployment not found Verified
Compliance Not publicly documented
Interface CLI, web and desktop apps, TypeScript Agent SDK, Letta API, App Server with an OpenAI-compatible HTTP API, hosted MCP server Verified

What are Letta's limits?

  • No approval before memory changes: the agent commits its own updates, and the agent-review option does not ask a person for approval
  • We found no mention of SOC 2, HIPAA, GDPR, ISO 27001 or VPC deployment on its pages, and letta.com/security returned a 404 on 18 October 2026
  • We found no mention of links from a memory back to the conversation or document it came from
  • Shared memory needs cloud-hosted agents; local agents keep only their own memory
  • The Agent SDK is TypeScript; Python users connect to the App Server WebSocket protocol themselves

Mentioned in

FAQ

Is Letta open source?

Yes. The Letta Harness (formerly Letta Code, in the letta-ai/letta-code repository) and the letta-ai/letta repository are Apache-2.0. The docs say the harness can run fully locally, with all agent state on your device and no Letta account.

Can a person approve what a Letta agent remembers?

Not before the change. The agent commits memory updates itself, and you can review them afterwards with /memory or the git history. The option for an agent to review proposed updates first does not ask you for approval. Tool calls have permission modes, but memory edits do not.

Is Letta the same as MemGPT?

Letta was formerly known as MemGPT, and the company was founded by the creators of MemGPT at UC Berkeley. Current development happens in the letta-code repository.

Sources checked

Show 10 sources