letta-ai

    letta-ai/letta-code

    Stateful agents that are like people, with memory, identity, and the ability to learn and adapt

    web
    agent-memory
    ai
    claude
    codex
    continual-learning
    TypeScript
    Apache-2.0
    3.7K stars
    451 forks
    3.7K GitHub watchers
    Updated Oct 26, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 51 contributors on GitHub.

    Peaked at #19 in the weekly ranking the week of Feb 15, its best in the past year.

    Use Cases & Benefits

    • Implements stateful AI agents with persistent memory, identity, and learning capabilities across coding sessions.
    • Enables continuous learning and memory retention across sessions, unlike traditional stateless coding assistants.
    • Use for building AI coding assistants that improve and adapt over time with project-specific knowledge.
    • Use for integrating multi-model support to leverage different LLMs like Claude, GPT-Codex, and Gemini seamlessly.
    • Use for creating personalized developer tools that remember context and skills across multiple development sessions.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Letta Code is a memory-first coding harness, built on top of the Letta API. Instead of working in independent sessions, you work with a persisted agent that learns over time and is portable across models (Claude Sonnet/Opus 4.5, GPT-5.2-Codex, Gemini 3 Pro, GLM-4.7, and more).

    Read more about how to use Letta Code on the official docs page.

    Install the package via npm:

    Navigate to your project directory and run letta (see various command-line options on the docs).

    Run /connect to configure your own LLM API keys (OpenAI, Anthropic, etc.), and use /model to swap models.

    Letta Code is built around long-lived agents that persist across sessions and improve with use. Rather than working in independent sessions, each session is tied to a persisted agent that learns.

    Claude Code / Codex / Gemini CLI (Session-Based)

    Letta Code (Agent-Based)

    Excerpt from the letta-ai/letta-code README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 20: +7Aug 31: +4Sep 1: +7Sep 11: +8

    +774 stars over 87 days across 12 snapshot days; best day +8 on Sep 11.

    Forks

    451+109

    Open issues

    504+310

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    letta-ai/letta-code compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    letta-ai/letta-code3.7K—40today
    Category median48.4K+6.2K44—

    Also by letta-ai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description