GoodMemory logo
GoodMemory
★ 20
vs
letta logo
letta
★ 25.2k

GoodMemory vs letta

GoodMemory: GoodMemory provides a durable memory layer for AI products, chat apps, copilots, and coding agents, enabling a continuous user/project memory loop. It offers APIs to write, retrieve, inject, audit, and delete context, serving as the product memory layer between applications and model runtimes.; letta: Letta is a powerful platform for building stateful AI agents equipped with advanced memory, enabling them to learn and self-improve over time. It provides both a command-line interface for local agent execution and a comprehensive API with Python and TypeScript SDKs for seamless integration into applications.

01

TL;DR

GoodMemory logo
GoodMemoryMemory & Context · ★ 20

Integrate into an Agent, Chatbox, or Copilot: build memory functionality directly into your Node/Bun service for managing context in chat applications or copilots.

letta logo
lettaMemory & Context · ★ 25.2k
When to choose:
  • You want a long-lived agent that remembers past work and rewrites its own memory and context over time.
  • You want one agent reachable from CLI, desktop, browser, mobile and messaging apps, with subagents, schedules and hooks.
  • You want memory you can inspect: the README says context is tracked in git and can sync to your own repository.
When to skip:
  • You only need to add memory to an agent you already use through MCP; a small MCP memory server is a lighter fit.
  • You rely on older Letta tutorials or the V1 API server: the project restructured, and the V1 server is retired.
  • You want everything to work without signing in: Letta Cloud is the default backend and some features need it.
02

Side-by-Side Comparison

Field
GoodMemory logoGoodMemory
letta logoletta
Category
Memory & Context
Memory & Context
Stars
★ 20
★ 25.2k
License
MIT
Apache-2.0
Install Command
npm install -g [email protected] && goodmemory setup
npm install -g @letta-ai/letta-code
Updated
3d ago
5d ago
Open Source
Yes
Yes
Tags
AI Memory, Agent Tools, Context Management
Stateful AI, Agent Platform, Advanced Memory
03

Features

GoodMemory logoGoodMemory
01Durable memory API: provides functions like `remember`, `recall`, `buildContext`, `feedback`, `forget`, `exportMemory`, and `deleteAllMemory`.
02Installed agent memory: offers managed memory for Codex and Claude Code through `goodmemory setup`, including hooks, pre-actions, and opt-in writeback.
03Local-first storage: defaults to durable SQLite for Bun and supports adding PostgreSQL, custom adapters, and embedding providers as needed.
04Public write customization: allows personalized customization of memory writes through configurations like `GoodMemoryConfig.remember`, `RememberProfile`, and `rememberRules`.
05Multilingual support: includes built-in LanguagePacks for English, Simplified Chinese, Traditional Chinese, Japanese, Korean, French, and Spanish.
letta logoletta
01Build stateful AI agents with advanced memory
02Agents capable of learning and self-improvement over time
03CLI tool for running agents locally in your terminal
04Comprehensive API for integrating agents into applications
05Support for skills and subagents; fully model-agnostic
04

Use Cases

GoodMemory logoGoodMemory
↳Integrate into an Agent, Chatbox, or Copilot: build memory functionality directly into your Node/Bun service for managing context in chat applications or copilots.
↳Add Memory to Codex or Claude Code: enhance installed coding agents with persistent project and user context without modifying the agents themselves.
↳Deploy as a Backend Memory-Layer Service: use as a standalone backend service, especially for Python/FastAPI backends, to centralize memory storage and management.
↳Autonomous Agent Memory: enable autonomous agents to manage their own durable, cross-session memory by integrating the GoodMemory CLI or API.
letta logoletta
↳Running AI agents locally in your terminal for coding and general tasks.
↳Integrating stateful AI agents into custom applications using the API and SDKs.
↳Developing self-improving AI systems that adapt and learn continually.
05

Best For

GoodMemory logoGoodMemory
—
letta logoletta
Most PopularEssentialTrending
FAQ

FAQ

What is the difference between GoodMemory and letta?
Both GoodMemory and letta are in the Memory & Context category. GoodMemory has 20 stars, while letta has 25.2k stars.
Which is better, GoodMemory or letta?
The best choice depends on your use case. Choose GoodMemory if Integrate into an Agent, Chatbox, or Copilot: build memory functionality directly into your Node/Bun service for managing context in chat applications or copilots., and letta if Running AI agents locally in your terminal for coding and general tasks..
Is GoodMemory free or open source?
Yes, GoodMemory is open source on GitHub (MIT).
Is letta free or open source?
Yes, letta is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related