8 Best Letta Alternatives in 2026 (Open Source)

Letta — Letta is the platform for building stateful agents: AI with advanced memory that can learn and self-improve over time.. Pioneered virtual context management for LLMs — enabling unlimited conversation history through intelligent memory paging

These 8 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+5152026-09-10
Mem066.4k+2,4292026-09-25
Memary2.7k+122024-10-18
AI Legion1.4k+12025-05-27
DeerFlow83.3k+5,3432026-09-30
Agno42.4k+5512026-09-30
AgentScope32.6k+1,8462026-09-30
AIOS6.4k+1672026-07-20
Yeager.ai Agent592+-12026-06-05
  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. 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

  3. 3. 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

  4. 4. DeerFlow

    An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of ta

    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)

  5. 5. 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

  6. 6. AgentScope

    Build and run agents you can see, understand and trust.

    What sets it apart: Unlike LangGraph (stateful graph orchestration) and CrewAI (role-based crews), AgentScope uniquely combines realtime voice agents, A2A protocol, agentic RL fine-tuning, and Kubernetes-native deployment — designed for the rising capability of agentic LLMs

    Best for: Teams building production multi-agent systems with realtime voice and A2A interoperability; Chinese-market developers wanting first-class DashScope/Qwen integration

  7. 7. AIOS

    AIOS: AI Agent Operating System

    What sets it apart: vs agent frameworks (LangChain/CrewAI): operates at OS-level abstraction with agent scheduling, memory management, and resource allocation — agents are 'apps' on an AI OS

    Best for: Research on OS-level agent infrastructure and scheduling; Building multi-agent systems with shared resource management

  8. 8. Yeager.ai Agent

    What sets it apart: vs manual LangChain setup: interactive CLI workflow for instant agent prototyping with session memory — eliminated boilerplate setup for LangChain-based agent development

    Best for: Rapid agent prototyping within LangChain ecosystem; Researchers experimenting with LLM-based agent creation; Fast-paced development cycles for AI tool building