Letta Developer Platform
Build stateful AI agents with persistent memory that can learn over time
Use the Letta API to build stateful agents that remember, learn, and improve over time. Build frontier AI agents that maintain long-term memory and evolve based on their interactions.
Letta allows you to build agents on any model provider, including OpenAI, Anthropic, Google Gemini, and more.
Start building
Section titled “Start building” Quickstart Build your first stateful agent in 5 minutes using Python or TypeScript.
Understanding agent memory Learn about memory blocks, tools, and how Letta agents maintain state.
Examples & tutorials Working code examples for common use cases and agent patterns.
API reference Complete REST API and SDK documentation for Python and TypeScript.
Letta Code: stateful CLI agents
Section titled “Letta Code: stateful CLI agents” Letta Code overview Learn about Letta Code, a CLI harness for connecting stateful agents to your computer.
Letta Code quickstart Install Letta Code and create your own coding agent that can learn and improve over time.