letta logo
letta
★ 25.2k
vs
dense-mem logo
dense-mem
★ 39

letta vs dense-mem

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.; dense-mem: Dense-Mem is a self-hosted, durable memory layer for AI agents designed to preserve evidence, detect conflicts, and prevent silent rewriting of facts. It provides typed claims, verification gates, server-side embeddings, and structured recall, enabling host LLMs to focus on conversation and judgment while Dense-Mem manages memory state.

01

TL;DR

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.
dense-mem logo
dense-memMemory & Context · ★ 39

Providing durable and verifiable memory for AI agents in complex tasks.

02

Side-by-Side Comparison

Field
letta logoletta
dense-mem logodense-mem
Category
Memory & Context
Memory & Context
Stars
★ 25.2k
★ 39
License
Apache-2.0
Apache-2.0
Install Command
npm install -g @letta-ai/letta-code
mkdir dense-mem-local && cd dense-mem-local && curl -fsSLo docker-compose.yml https://raw.githubusercontent.com/markhuangai/dense-mem/main/examples/docker-compose.base.yml && curl -fsSLo .env.example https://raw.githubusercontent.com/markhuangai/dense-mem/main/examples/.env.example && cp .env.example .env && docker compose up -d
Updated
5d ago
1d ago
Open Source
Yes
Yes
Tags
Stateful AI, Agent Platform, Advanced Memory
AI Memory, Knowledge Graph, Conflict Detection
03

Features

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
dense-mem logodense-mem
01First-class evidence provenance, tracing memories from source fragments to facts.
02Facts pass through typed claims, verification, and promotion gates.
03Explicit conflict detection where comparable conflicts return clarification tasks, preventing silent overwrites.
04Clear responsibility boundary: host LLM judges, Dense-Mem manages durable state, gates, and audit metadata.
05Self-hosted with operator control over storage, team isolation, API keys, and data egress boundaries.
04

Use Cases

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.
dense-mem logodense-mem
↳Providing durable and verifiable memory for AI agents in complex tasks.
↳Building enterprise AI systems that require strong data governance, auditability, and trusted knowledge.
↳Resolving conflicting information in AI knowledge bases through user clarification and structured processes.
↳Enhancing AI agent reliability and explainability by preserving evidence and preventing silent fact rewriting.
05

Best For

letta logoletta
Most PopularEssentialTrending
dense-mem logodense-mem
—
FAQ

FAQ

What is the difference between letta and dense-mem?
Both letta and dense-mem are in the Memory & Context category. letta has 25.2k stars, while dense-mem has 39 stars.
Which is better, letta or dense-mem?
The best choice depends on your use case. Choose letta if Running AI agents locally in your terminal for coding and general tasks., and dense-mem if Providing durable and verifiable memory for AI agents in complex tasks..
Is letta free or open source?
Yes, letta is open source on GitHub (Apache-2.0).
Is dense-mem free or open source?
Yes, dense-mem 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