letta-ai/letta-code

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

TypeScript2860 ★AI Agent FrameworksGitHub ↗
Quality: excellent 21/24
PAI: integrate 0.88
Appraised: 2026-07-20 current

High-discipline TypeScript CLI harness with daily commits; docs lack a limitations section and CI badge

Git-tracked memory blocks + skill learning let agents self-rewrite their own context and harness

MemFS syncs agent memory to a git repo, enabling version-controlled, rollback-able self-modifying context

Contents

Overview

Verdict

Rating Summary
Quality excellent (21/24) Actively maintained, high-discipline TypeScript CLI with strong adoption and light-but-solid docs.
PAI Relevance integrate (0.88) TypeScript/Bun/CLI-native harness with a genuinely novel self-rewriting memory architecture that fills a gap PAI lacks.

Quality Assessment

21/24 — actively-maintained / adequately-documented / high-discipline

Health: 7/8 (actively-maintained)

Failed:

Passed:

Documentation: 6/8 (adequately-documented)

Failed:

Passed:

Engineering Signals: 8/8 (high-discipline)

Passed:

PAI Relevance

Dimension Score Assessment
Harvest Value 2 MemFS (git-tracked memory blocks), sleep-time "dreaming," and skill learning are a novel self-rewriting memory architecture directly applicable to PAI's WORK/LEARNING/KNOWLEDGE memory subsystem and the ISA/Algorithm loop.
Integration Readiness 2 TypeScript, bun@1.3.0 packageManager, npm-installable CLI (letta binary) with structured skill/agent APIs — matches PAI's Bun-based, CLI-first stack directly.
Overlap Risk 1 Partial overlap with PAI's Knowledge (persistent knowledge graph) and Agents/Delegation orchestration — Letta Code is a full competing agent harness, not a slot-in component.
Gap Fill 2 PAI has no equivalent to git-versioned, self-rewriting memory blocks or agent-driven skill/prompt learning — a genuine capability gap.

Composite: 0.88

What Next

Landscape Position

Category: AI Agent Frameworks

In this category: sipyourdrink-ltd--bernstein, lobehub--lobehub, VoltAgent--voltagent, microsoft--TinyTroupe, bmad-code-org--BMAD-METHOD, tkellogg--open-strix, zeenie-ai--MachinaOS, zeenie-ai--OpenCompany, gastownhall--gastown, gordonbrander--busytown, humanlayer--12-factor-agents, NorthwoodsSentinel--meridian-protocol

Standing: Sits at the top of the category alongside sipyourdrink-ltd--bernstein and lobehub--lobehub — matches their health/engineering polish while adding a genuinely distinctive continual-learning memory model no other repo in the category ships.

Evidence Base

Density: 10/10 — README (full feature table, install/quickstart, Constellation architecture), package.json dependency manifest with full scripts/exports, GitHub metadata (stars, forks, license, release cadence, commit recency) all available and consistent.

Notes

Category classification is a judgment call: Letta Code could also plausibly sit in Personal AI & Knowledge given its memory/identity focus, but its primary form factor (CLI harness, subagents, hooks, permissions, remote environments) mirrors the AI Agent Frameworks entries more closely than the memory-tool entries in that category.