letta-ai/letta lets you build stateful agents with persistent memory that can learn and improve over time, addressing the statelessness of LLM agents. It can be run locally or self-hosted, with a terminal UI and an App Server.
Project overview
Most LLM agents are stateless, losing context between sessions; letta-ai/letta addresses this directly with agents whose memory lets them learn and improve over time, and it is quick to try via a simple two-step install.
Project type
AI Agent
Use cases
Automation
Deployment
Refer to project documentation
License
Apache-2.0
Best for
Developers who want to build agents that remember and improve across sessions, rather than stateless LLM agents.
Key capabilities
Launch an interactive terminal UI with the `letta` command.
Run the App Server via `letta server` for local or self-hosted agents.
Getting started
Setup is easy and does not require coding. Install globally with `npm install -g @letta-ai/letta-code`, then run `letta` to open the interactive terminal UI.
Evidence and sources
GitHub project description: Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
README: Install Letta from npm: ```bash npm install -g @letta-ai/letta-code ``` Launch the interactive terminal UI: ```bash letta ``` Run the App Server for local or self-hosted agents: `…
README: The `archive` branch contains the retired Letta V1 API server.