Black Friday at Hostinger: 15% off yearly and longer plans with BFVPS15, until 6 Dec. See plans

Black Friday: 15% off hosting with BFVPS15

Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size1,371 projects
    • Developer Tools696
    • AI & Machine Learning561
    • Business & Productivity340
    • Web Development222
    • Security & Monitoring212
    • Communication & Collaboration175
    • IT Management171
    • Design & Creative157
    • DevOps & CI/CD150
    • LLMOps & AI Tooling145
    Browse all 21 categoriesCloud & Hosting, Product & Project Management and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools696
    • AI & Machine Learning561
    • Business & Productivity340
    • Web Development222
    • Security & Monitoring212
    • Communication & Collaboration175
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Add Open Source Alternatives as a preferred source on Google

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/LLMOps & AI Tooling/Letta
icon of Letta

Letta

Open source alternative to Mem0, Zep, LangGraph Platform, Google Vertex AI Agent Builder and Azure AI Agent Service

  • 3.9K stars
  • Apache-2.0
  • Active this week
  • Last commit today

Last verified Dec 1, 2026

Build stateful AI agents with persistent memory that learn and evolve over time, self-hosted or via Letta Cloud, under Apache-2.0.

Visit websiteGitHub3.9K stars1-click deploy on Hostinger
image of Letta
TL;DR

Letta Code is a stateful agent framework that gives AI agents persistent memory, an evolving identity, and the ability to rewrite their own skills and configuration over time. It is an Apache-2.0 alternative to managed agent platforms like Azure AI Agent Service and Google Vertex AI Agent Builder for teams that need full control over agent state and self-hosted infrastructure. Installing it takes one npm command; it runs locally or against Letta Cloud. Best for developers building always-on agents, personal AI assistants, or tools that carry behavioral context across many sessions.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Letta is for#

Developers building personal AI assistants

Letta Code agents accumulate behavioral context from daily use, remembering preferences, workflows, and past decisions. The CLI, browser, and messaging channel integrations make the assistant accessible wherever the developer works, all sharing the same memory.

Skip if:

If you need a stateless chatbot that handles one-off queries without carrying history between sessions, the overhead of a full agent framework is unnecessary; a lightweight wrapper around an LLM API is simpler.

Teams deploying always-on agents over messaging

Agents run across Slack, Telegram, Discord, and custom channels from a single deployment. Cron schedules and hooks let agents work proactively between conversations. Letta Cloud handles multi-machine routing without additional infrastructure.

Skip if:

If your agents operate purely synchronously and have no need for proactive work, scheduled tasks, or persistent state between sessions, a simpler framework is a better fit.

AI engineers prototyping continual learning architectures

MemFS gives agents a git-tracked, inspectable memory layer that researchers can audit at any commit. Agents rewriting their own prompts and skills over time makes Letta Code a practical platform for experimenting with continual learning in a live deployment context.

Skip if:

If your research requires a tightly controlled training loop or offline evaluation against a fixed checkpoint, the interactive agent framework model may not match your experimental design.

Organizations running agents on private infrastructure

The Apache-2.0 license and local backend option let organizations deploy Letta Code on their own servers with agent state stored entirely on-premises. Agents still send prompts to the configured LLM provider over the network; what stays on your machine is the agent state.

Skip if:

If your team accepts the cost and data policies of a managed agent service, Letta Cloud or a commercial platform may be simpler to operate than a self-managed deployment.

the problem

The problem it solves#

Most AI agent frameworks are stateless. Every conversation starts from scratch; developers must manually retrieve and inject past context, and that retrieval logic is brittle, expensive at scale, and impossible to make genuinely adaptive. Agents cannot learn from experience; they can only be retrained or given static instructions.

Managed agent platforms handle infrastructure but lock developers into a vendor's memory model. You cannot inspect how state is stored, modify how memory evolves, or run agents on your own servers. At scale, vendor memory services add both cost and data exposure risks that a self-hosted runtime resolves.

how Letta solves it

How it solves it#

Programmatic memory rewriting

Agents read and rewrite their own memory blocks during and between conversations. Memory includes the system prompt, learned behaviors, and skill files stored in MemFS. Periodic dreaming cycles let agents consolidate experience into lasting behavioral change without developer intervention.

MemFS: git-tracked agent context

All agent context, including memory blocks, is tracked via git. You can sync an agent's context to a custom GitHub repository, inspect the full history of what the agent has learned, and roll back changes. This makes agent behavior auditable and reproducible across deployments.

Multi-channel messaging

The same agent is accessible from a local CLI, a browser at chat.letta.com (including mobile), Slack, Telegram, Discord, and custom channels. All channels share the same memory and identity, so the agent maintains continuity regardless of access point.

Skills and subagents

Skills are installable capability modules stored in the agent's memory, loadable from GitHub, ClawHub, or the Hermes Skills Hub with one command. Subagent support lets agents spin up general-purpose, forked, or recall subagents in the background, or call any other agent as a subagent.

Crons, hooks, and scheduled work

Agents configure heartbeats and cron schedules to run proactively between conversations. Hooks run custom scripts at key points of execution. Permissions control which actions are auto-approved or denied. Together these enable always-on agents that work across time without developer babysitting.

Local and cloud backend options

Letta Code defaults to Letta Cloud for state storage, which lets agents roam across multiple machines. Switching to the local backend stores everything on your own machine. The backend is set once with 'letta setup' or changed per-run with --backend cloud or --backend local.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Apache-2.0 with self-hosted or cloud backendThe full Letta Code runtime is Apache-2.0 licensed. You can run it on your own infrastructure without licensing fees, modify the runtime itself, and use it commercially without restriction. The local backend stores all agent state on your machine. Letta Cloud is the default; on first launch the user chooses to sign in with Letta or proceed locally.
  • Research-driven memory architectureLetta Code is developed by the creators of MemGPT and sleep-time compute (now called dreaming), driven by research in AI memory and continual learning. The runtime embodies that research directly: programmatic context management, MemFS versioning, and dreaming cycles are production implementations of the underlying work.
  • Self-configuring agent behaviorAgents are designed to configure themselves. The README advises asking the agent to change its own behavior, permissions, or skills directly. The agent can rewrite its system prompt, install skills, and modify its memory without a developer redeployment.
  • Persistent identity across sessions and machinesWith Letta Cloud, an agent's memory and identity follow it across any connected machine. The agent resumes exactly where it left off, with the same learned context. Additional machines join the agent's reach by running `letta server --computer-name`, which requires signing in with Letta; a laptop, cloud VM, and remote server can all share the same agent state.

Trade-offs

  • -Some features require a Letta accountRemote computers and secrets management require signing in with Letta. These are listed separately in the README feature table as account-gated capabilities. The local backend and all core agent capabilities work without an account, but multi-machine agent routing depends on Letta Cloud.
  • -223 open issues as of November 2026The repository had 223 open issues at the time of this writing (pull requests excluded). As a project created in October 2025 that is actively developed, this issue count reflects rapid growth alongside ongoing development work.
  • -Windows auto-dreaming requires opt-inAutomatic client-side dreaming is disabled by default on native Windows, including when saved sleeptime settings enable it. Manual /dream and /reflect commands remain available. To enable auto-dreaming on Windows, set LETTA_ENABLE_WINDOWS_AUTO_REFLECTION=1 in the process environment.
  • -AgentFile format removedAgentFile (.af) export and import have been deprecated and removed. The /export, /download, /import, and --from-af CLI flags no longer work, including imports from the agent registry. Memory export and conversation transcript export are unaffected.
versus alternatives

Letta vs alternatives#

Letta Code vs LangGraph Platform

LangGraph Platform is a hosted deployment and scaling platform for LangGraph agents, managed by LangChain AI. Letta Code is an Apache-2.0 agent framework you install locally and run on any machine, with the option to use Letta Cloud for state storage.

LangGraph Platform is worth considering when your team is already in the LangGraph ecosystem and needs hosted deployment without managing infrastructure. Letta Code is the stronger choice when you need agents that evolve their own behavior over time, want self-hosted infrastructure, or prefer an Apache-2.0 license with no managed service dependency.

Letta Code vs Azure AI Agent Service

Azure AI Agent Service is Microsoft's managed service for building production-grade AI agents with built-in memory, tool integration, and orchestration. Letta Code is self-hosted, Apache-2.0, and runs on any machine you control.

Azure AI Agent Service suits teams already on Azure that want a managed service for agent deployment without infrastructure overhead. Letta Code is the better fit for teams that need agents that learn and modify their own behavior over time, prefer a self-hosted setup, or want Apache-2.0 licensing without a cloud vendor dependency.

Letta Code vs Mem0

Mem0 is a memory layer for LLM applications that intelligently compresses and manages chat history and context. Letta Code is a full agent runtime where memory management is one component of a broader self-improvement architecture.

The scope differs: Mem0 provides memory as a layer you plug into an existing agent or chatbot; Letta Code provides the complete agent runtime, including memory, identity, skills, scheduling, and multi-channel access. If you need to add memory to an existing framework, Mem0 fits that use case. If you are building an agent that should rewrite its own behavior, install skills, and operate proactively, Letta Code is the more complete runtime.

install · quick start

Quick start#

bash
Install Letta Code globally via npm, or use uv or pipx on Python 3.9+ systems (Node.js is bundled).
```bash
npm install -g @letta-ai/letta-code
uv tool install letta
```
tech stack · detected from GitHub

What it's built on#

Languages
JavaScriptTypeScript
Frameworks
React
frequently asked

FAQ#

Is Letta Code free and open source?

Yes. Letta Code is Apache-2.0 licensed and free to use, modify, and deploy commercially. The core agent runtime, local backend, and all CLI capabilities are covered by that license. Two features, remote computers and secrets management, require signing in with Letta and are not available without a Letta account.

Can I run Letta Code without a Letta account?

Yes, with the local backend. On first launch, choose to proceed locally rather than sign in with Letta. Run 'letta setup' to change this later, or use 'letta backend local' to set local as the default. Features that require Letta Cloud (remote computers and cross-machine secrets) will not be available without an account.

Does Letta Code need an internet connection?

Yes, for two reasons. First, agents send prompts to the configured LLM provider over the network. Connect your API keys with /connect and choose a provider such as OpenAI, Anthropic, or Z.ai. Second, Letta Cloud (the default) syncs agent state over the network. Switching to the local backend with 'letta backend local' keeps agent state on your machine, but LLM API calls still require network access.

What LLM providers does Letta Code support?

Letta Code supports OpenAI/ChatGPT, Anthropic (Claude), Z.ai, and other providers configurable via /connect from the CLI. Use /model to swap between models after connecting a provider.

What happened to AgentFile import and export?

AgentFile (.af) export and import were deprecated and have been removed from Letta Code. The /export, /download, /import, and --from-af CLI flags are no longer supported, including imports from the agent registry. Memory import/export and conversation transcript export work normally and are unaffected by this change.

also worth a look

Similar open-source tools#

Recall

Alternative toContextPool

Local project memory for Claude Code, generated entirely offline.

  • 770 GitHub stars
  • MITLicence MIT

hindsight

Alternative toMem0

Self-hosted memory that makes AI agents smarter over time

  • 64,286 GitHub stars
  • MITLicence MIT

ai-memory

Alternative toMem0

Persist AI agent context across sessions and tool switches

  • 16,582 GitHub stars
  • MITLicence MIT

mex

Alternative toBuildBetter

Persistent memory and code graph for AI coding agents

  • 1,795 GitHub stars
  • MITLicence MIT

Gentle Ai

Alternative toMem0

Memory, workflow and review for the AI agents you already use.

  • 9,647 GitHub stars
  • MITLicence MIT

Deepagents

Alternative toLangGraph Platform

Batteries-included agent library for complex, multi-step AI work.

  • 31,685 GitHub stars
  • MITLicence MIT
by category

Open source tools in these categories#

145

LLMOps & AI Tooling

Hermes Agent, OpenCode, MarkItDown
561

AI & Machine Learning

REA (Reverse Engineer Anything), freeCodeCamp, OpenClaw
696

Developer Tools

Skills for Real Engineers, REA (Reverse Engineer Anything), superpowers
Black Friday offerHostinger

Self-host Letta in 1 click

Keep it running 24/7, even when your laptop is off. Hostinger's 1-click template skips the server setup.

  1. 01

    Choose a plan

    Starts from $6.49/mo

  2. 02

    Apply

    15% off yearly and longer plans, until 6 Dec

  3. 03

    Letta deploys automatically

    Installed right after checkout

  4. 04

    Start building

    Focus on the app, not the server

Deploy on Hostinger

Sponsors

Nuphos

Alternative toConductor

Agent workspace for teams running Claude Code or Codex

  • 841 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents

Jade Hosting

Zero-configuration full stack deploy in any language

Cloud & Hosting

Mercury CLI

Alternative toClaude Code

Open source terminal coding agent with a built-in debugger.

  • 34 GitHub stars
  • Apache-2.0Licence Apache-2.0
Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • 1Password to Bitwarden
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • Zapier to n8n
  • Pinecone to Qdrant
  • Auth0 to Keycloak
  • Contentful to Strapi
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • 1Password to Bitwarden
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • Zapier to n8n
  • Pinecone to Qdrant
  • Auth0 to Keycloak
  • Contentful to Strapi