Skip to content
aicoolies logo
Letta Code logo

Letta Code

Memory-first coding agent that learns over time

Letta Code is a memory-first CLI coding agent that persists across sessions and improves over time. Unlike stateless tools like Claude Code or Codex, it works with long-lived agents remembering your codebase, preferences, and past interactions. Model-agnostic supporting Claude, GPT, Gemini, and more. Features git-backed context repositories, skill learning from experience, sleep-time reflection, and subagent orchestration. #1 model-agnostic OSS harness on Terminal-Bench.

About Letta Code

Letta Code is a memory-first CLI coding agent built on the Letta platform. Unlike traditional coding agents that reset with every session, Letta Code uses long-lived stateful agents that persist across sessions, remembering your codebase, preferences, and past decisions. The interface is intentionally familiar to Claude Code and Codex users — run it from the terminal to code, edit files, run programs, and manage projects.

The core innovation is persistent memory through structured memory blocks (persona, human, project, skills) stored in git-backed context repositories. This enables versioning, branching, and diffing of agent knowledge. Sleep-time reflection subagents periodically consolidate and improve memory in the background without interrupting your workflow.

Fully model-agnostic — the #1 model-agnostic open-source harness on Terminal-Bench, performing comparably to provider-specific tools when using the same models. Supports Claude Sonnet/Opus, GPT/Codex, Gemini, GLM, Kimi, and more. Switch models with /model while keeping all memory intact.

Skill learning lets agents capture workflow patterns from experience for reuse. Subagent orchestration delegates specialized tasks. The /init command bootstraps memory from your project and even imports context from prior Claude Code or Codex sessions.

Pricing: Free tier, Pro $20/mo (20 agents), Max Lite $100/mo (50 agents, frontier models), Max $200/mo (power users, 20x limits), API $20/mo + $0.10/active agent for teams. Install via npm. The underlying Letta platform is open-source (22K+ stars) with Python and TypeScript SDKs for building custom stateful agent applications.

Pricing & Platform Specs

Pricing Summary

Open-source stateful agent operating system under the Apache-2.0 license ($0 self-hosted). Letta Cloud offers a managed developer platform with a Free tier ($0 for development), usage-based Developer plans with hosted vector storage/execution sandboxes, and custom Enterprise agreements.

full pricing breakdown →

Supported Platforms

CLI, macOS, Linux, Windows, npm

Explore categories, tags & use cases

AI agent framework for web browser automation

Browser Use is an open-source AI agent framework with 99K+ GitHub stars enabling LLMs to control web browsers via natural language. Y Combinator-backed, it lets agents navigate sites, fill forms, extract data, and complete multi-step tasks autonomously. Built on Playwright with vision-based element detection, multi-tab management, cookie persistence, and self-correcting actions. Supports OpenAI, Anthropic, and local models with a simple Python API for building custom browser agents.

freemiumOpen Source

Lightweight multi-modal agent framework

Fast, lightweight Python framework for building multi-modal AI agents, formerly known as Phidata. Includes built-in memory, knowledge bases, tools, and reasoning capabilities with 40K+ GitHub stars. Designed for developers who want to build production-ready agents quickly with minimal boilerplate, supporting structured outputs and multi-agent coordination out of the box.

Open Source

Multi-agent orchestration platform for Claude Code

Claude-Flow is an open-source multi-agent orchestration platform that deploys dozens of concurrent Claude Code agents with shared memory and coordinated workflows. It enables parallel task execution, hierarchical agent coordination, and persistent context across sessions. Run via npx with zero setup. Described as the leading agent orchestration platform for Claude by industry analysts, it has 9,100+ GitHub stars and is used for complex codebase-wide refactoring and multi-file development tasks.

Open Source

Side-by-Side Comparisons

Mem0 logo
Mem0
vs
Letta Code logo
Letta Code

Mem0 vs Letta: Memory Layer or Stateful Agent Runtime?

Mem0 and Letta both solve long-term context for AI agents, but they solve it at different architectural layers. Mem0 is a memory service that can be added to an existing agent or application through SDK, REST, or MCP interfaces. Letta is a stateful agent platform in which editable memory blocks, archival memory, tools, model configuration, and agent identity are coordinated by the runtime itself. For most engineering teams comparing the two as infrastructure, Mem0 serves as the more practical daily standard. It adds production memory without forcing a runtime replacement, offers managed and Apache-2.0 self-hosted paths, and integrates across common agent frameworks. Letta is the stronger specialist choice when persistent, agent-editable state is the product requirement and the team wants the runtime—not an external memory layer—to own how the agent remembers, acts, and evolves.

Mem0Letta Code

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Letta Code?

Letta Code is a memory-first CLI coding agent that persists across sessions and improves over time. Unlike stateless tools like Claude Code or Codex, it works with long-lived agents remembering your codebase, preferences, and past interactions. Model-agnostic supporting Claude, GPT, Gemini, and more. Features git-backed context repositories, skill learning from experience, sleep-time reflection, and subagent orchestration. #1 model-agnostic OSS harness on Terminal-Bench.

Is Letta Code free?

Letta Code offers a free tier alongside paid plans. Open-source stateful agent operating system under the Apache-2.0 license ($0 self-hosted). Letta Cloud offers a managed developer platform with a Free tier ($0 for development), usage-based Developer plans with hosted vector storage/execution sandboxes, and custom Enterprise agreements.

Is Letta Code open source?

Yes — Letta Code is open source.

Is Letta Code still maintained?

Yes — Letta Code is active. Its listing was last verified on September 6, 2026.

What are the best Letta Code alternatives?

The first editor-selected Letta Code alternatives are Browser Use, Agno, Claude-Flow.