aicoolies logo
Letta Code logo
Letta Code logo

Letta Code

Memory-first coding agent that learns over time

freemiumopen sourceupdated Jul 11, 2026

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.

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

Free $0; Pro $20/mo; API $20/mo + active-agent, tool-execution and model usage; Enterprise custom; BYOK supported

full pricing breakdown →

Platforms

CLI, macOS, Linux, Windows, npm

Categories

Tags

Use Cases

Browser Use logo

Browser Use

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.

Open Source
Agno logo

Agno

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
Claude-Flow logo

Claude-Flow

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

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

GitHub logo

GitHub MCP Server

Official MCP server for GitHub repo operations

GitHub MCP Server is the official Model Context Protocol server from GitHub that connects AI assistants to repositories, issues, pull requests, workflows, and code search. It exposes 100+ operations with toolset filtering, permission scoping, and audit logging, available in both remote-hosted and self-hosted Docker deployment modes.

Open Source
Context7 logo

Context7

Up-to-date docs for AI code editors via MCP

Context7 is an MCP server developed by Upstash that injects up-to-date, version-specific documentation directly into AI code editors and coding assistants. By typing 'use context7' in prompts, developers get accurate library documentation instead of hallucinated or outdated API references. It pulls from official source documentation and serves it through the Model Context Protocol, solving the common problem of LLMs generating code with incorrect or nonexistent API calls.

Open Source
DeepEval logo

DeepEval

Apache-2.0 Python framework for repeatable LLM, RAG, agent, MCP, and safety evaluation workflows.

DeepEval is an Apache-2.0 Python framework for evaluating LLM apps, RAG systems, agents, MCP workflows, and safety behavior with repeatable test cases. It works locally and in CI/CD, then connects to Confident AI for hosted reports, observability, red teaming, and governance when teams need shared evidence instead of ad-hoc prompt reviews and manual QA.

Open Source
Firecrawl logo

Firecrawl

Turn websites into LLM-ready structured data

Firecrawl is a Y Combinator-backed API that crawls websites and converts them into clean, LLM-ready Markdown or structured JSON. Handles JavaScript rendering, pagination, sitemaps, and anti-bot measures automatically. Designed for RAG pipelines, AI agents, and data extraction workflows. Features batch crawling, scheduled scraping, webhook notifications, and custom extraction schemas. Processes content for direct ingestion into vector databases and LLM context windows.

freemiumOpen Source
GStack logo

GStack

Virtual engineering team as Claude Code skills by YC CEO Garry Tan

GStack transforms Claude Code into a structured virtual engineering team through 23 opinionated slash command skills created by Y Combinator CEO Garry Tan. It assigns specialist roles including CEO product review, engineering manager architecture oversight, designer visual audit, QA lead with real browser testing, and release engineer deployment. Each skill enforces focused workflows with clear decision principles for running parallel coding sessions.

Open Source
Lightpanda logo

Lightpanda

Zig-built headless browser engineered for AI agent workloads

Open-source headless browser written in Zig for AI agents, crawling, and automation. Lightpanda omits graphical rendering, keeps DOM and JavaScript execution, exposes CDP for Puppeteer/Playwright/chromedp, and adds Agent, PandaScript, and MCP workflows. Current public benchmarks claim about 9x faster execution and 16x less memory than Chrome.

paid

Comparisons

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 is the better default**. 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

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. Free $0; Pro $20/mo; API $20/mo + active-agent, tool-execution and model usage; Enterprise custom; BYOK supported

Is Letta Code open source?

Yes — Letta Code is open source.

What are the best Letta Code alternatives?

The top editor-verified Letta Code alternatives are Browser Use, Agno, Claude-Flow.