7 Best Letta Alternatives in 2026 (Open Source)

Letta is the platform for building stateful agents: AI with advanced memory that can learn and self-improve over time. Purpose-built memory architecture that enables agents to self-improve over time — vs generic agent frameworks that only have short-term chat history

Short answer

  • Closest match to Letta: Mem0.
  • Most actively developed: DeerFlow (1,254 commits in the last 90 days).
  • Fastest growing: DeerFlow (+5,297 GitHub stars in the last 30 days).
  • No commit in 6+ months: AI Legion, Memary, Generative Agents and Maestro.

These 7 open-source tools do the same job. They are ordered by how closely they match Letta, with live GitHub data so you can see which projects are actively maintained.

ToolGitHub starsStars / 30dLast commit
Letta(original)25.0k+5132026-09-10
Mem066.5k+2,4172026-10-01
AI Legion1.4k+12025-05-27
Memary2.7k+122024-10-18
Agno42.5k+5582026-10-02
DeerFlow83.3k+5,2972026-10-02
Generative Agents22.2k+1892023-08-11
Maestro4.4k+52024-07-01
  1. 1. Mem0

    Universal memory layer for AI Agents

    What sets it apart: Unlike Zep (session-focused memory) or ChatGPT's built-in memory (closed, limited), Mem0 provides a standalone, open-source memory layer with proven +26% accuracy gains over OpenAI Memory, multi-level (user/session/agent) state management, and 90% token reduction via intelligent memory retrieval.

    Best for: AI assistant developers who need persistent, personalized memory across conversations without building custom infrastructure; Customer support chatbots that need to recall past tickets and user preferences

  2. 2. AI Legion

    An LLM-powered autonomous agent platform

    What sets it apart: Multi-agent platform where autonomous LLM agents with persistent memory collaborate through console interaction, learning from their own mistakes

    Best for: multi-agent-experimentation; exploring-agent-self-organization; autonomous-task-delegation

  3. 3. Memary

    The Open Source Memory Layer For Autonomous Agents

    What sets it apart: vs LangChain Memory / Mem0: graph-database-backed memory system emulating human memory (breadth + depth tracking) — agents automatically build and query knowledge graphs rather than flat conversation history

    Best for: Building persistent, context-aware AI agents with evolving memory; User preference tracking and personalization across sessions; Multi-user agent management with separate knowledge contexts

  4. 4. Agno

    Build, run, manage agentic software at scale.

    What sets it apart: Production-first agent runtime with built-in session isolation, approval workflows, and scalable FastAPI serving — unlike LangChain which is framework-first

    Best for: Production multi-agent systems with session isolation; Enterprise agentic applications needing approval workflows and audit trails

  5. 5. DeerFlow

    Open-source agent harness for long-horizon research, coding, and content creation

    What sets it apart: vs AutoGPT: purpose-built for deep research with sub-agent orchestration and sandbox; vs LangGraph: higher-level harness with built-in memory, sandbox, and skill system rather than bare graph framework

    Best for: Deep research and exploration tasks; Building multi-agent systems with sub-agent orchestration; Teams wanting coding agent integration (Claude Code/Codex)

  6. 6. Generative Agents

    Generative Agents: Interactive Simulacra of Human Behavior

    What sets it apart: The original Stanford research paper implementation that introduced generative agents — the foundational work that inspired AI Town and subsequent agent simulation projects, featuring memory stream architecture with reflection and planning that produces remarkably human-like emergent behavior

    Best for: AI researchers studying emergent social behavior and collective agent dynamics; Game designers prototyping NPC behavior systems with LLM-powered decision-making

  7. 7. Maestro

    A framework for Claude Opus to intelligently orchestrate subagents.

    What sets it apart: vs single-model agents (AutoGPT, BabyAGI): separates orchestration/execution/refinement across different models via LiteLLM — enables using Claude for planning + GPT-4o for coding + Llama for review in one workflow

    Best for: Complex projects requiring iterative task decomposition; Cost-optimized workflows using different models per stage; Teams wanting to mix cloud and local models in one pipeline

FAQ

What are the best alternatives to Letta?
The closest open-source alternatives to Letta are Mem0, AI Legion and Memary, followed by Agno, DeerFlow and Generative Agents. They are ranked by how closely they match what Letta does.
Which Letta alternative is the most popular?
DeerFlow has the most GitHub stars among Letta alternatives, with 83,337 stars.
Which Letta alternative is the most actively maintained?
By recent activity, DeerFlow (1,254 commits in the last 90 days) is the most actively developed alternative.