CreateWithAIHub

Framework Letta

Letta

Open-source harness and TypeScript SDK for stateful agents with long-term memory, formerly MemGPT.

Visit website ↗
Save

What it is

Letta (formerly MemGPT) builds stateful agents that keep identity and long-term memory and improve by rewriting their own memory, skills and prompts. Its current code is Letta Code, a harness with a terminal UI, an App Server for local or self-hosted agents, and messaging channels such as Slack, Telegram and Discord. The Letta Agent SDK lets TypeScript applications create an agent once and resume it anywhere, on a local backend with no account or on Letta Cloud. It suits developers who want long-running agents with persistent memory.

What it's useful for

Running an always-on assistant that remembers past conversations and preferences and that you can reach from the terminal, the browser or Slack.

Key features

  • Memory blocks and skill learning; agents rewrite their own context over time
  • MemFS: agent context tracked in git and syncable to a repository
  • Subagents and agent-to-agent calls
  • Channels for Slack, Telegram, Discord and the browser (chat.letta.com)
  • Hooks, permissions, crons and schedules
  • Letta Agent SDK for TypeScript with local or cloud backends

How to use it

Before you start

  • Node.js 22.19+ (Agent SDK local backend)
  • Python 3.9+ when installing the CLI with uv or pipx
Letta Code CLI
npm install -g @letta-ai/letta-code
Letta Agent SDK (TypeScript)
npm install @letta-ai/letta-agent-sdk tsx

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Letta Cloud is the default backend on first launch; you can choose local instead
  • Remote computers and secrets require signing in with Letta
  • The old Letta V1 API server is retired (archive branch); AgentFile export/import has been removed

Alternatives

LangChain's low-level orchestration framework for long-running, stateful agents built as graphs.

FreeOpen source

TypeScript framework for AI agents and graph-based workflows with memory, RAG, evals and model routing.

FreeOpen source

Pydantic's typed Python framework for agents, with model fallback, durable execution, evals and a harness.

FreeOpen source

AWS's open-source, model-driven SDK and harness for building agents in Python and TypeScript.

FreeOpen source

See all 14 Letta alternatives →

MCP servers for this

MCP reference server that gives an AI client controlled read/write access to chosen local directories.

FreeOpen source

Open-source MCP server that gives coding agents simplified Figma layout and styling data to implement designs.

Free plan + paidOpen source

Community MCP server and Blender addon that let an AI agent model, light and render scenes in a running Blender.

Free plan + paidOpen source

Skills for this

Curated GitHub list of skills, plugins, agents, status lines, hooks and tooling for Claude Code.

Free

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Related resources

Coding agent that runs each thread in a cloud sandbox, with a CLI, web, desktop and mobile apps.

Free plan + paid

Self-hostable platform of AI 'Experts' coordinated by an assistant called Otto, with a visual block-based workflow builder.

Free plan + paid

Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.

Paid

Anthropic's agentic coding tool that works in your terminal, IDE, desktop app and on the web.

Paid

Type to search. Use ↑ ↓ and Enter.