
Framework Letta
Letta
Open-source harness and TypeScript SDK for stateful agents with long-term memory, formerly MemGPT.
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
npm install -g @letta-ai/letta-codenpm install @letta-ai/letta-agent-sdk tsxCommands 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.
TypeScript framework for AI agents and graph-based workflows with memory, RAG, evals and model routing.
Pydantic's typed Python framework for agents, with model fallback, durable execution, evals and a harness.
AWS's open-source, model-driven SDK and harness for building agents in Python and TypeScript.
MCP servers for this
MCP reference server that gives an AI client controlled read/write access to chosen local directories.
Open-source MCP server that gives coding agents simplified Figma layout and styling data to implement designs.
Community MCP server and Blender addon that let an AI agent model, light and render scenes in a running Blender.
Skills for this
Anthropic's public repository of example Agent Skills, the document skills, a skill template and the spec.
Curated GitHub list of skills, plugins, agents, status lines, hooks and tooling for Claude Code.
Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.
Related resources
Coding agent that runs each thread in a cloud sandbox, with a CLI, web, desktop and mobile apps.
Self-hostable platform of AI 'Experts' coordinated by an assistant called Otto, with a visual block-based workflow builder.
Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.
Anthropic's agentic coding tool that works in your terminal, IDE, desktop app and on the web.