letta
by letta-ai
Letta (formerly MemGPT) is a platform for building AI agents that keep long-term memory and can learn from past conversations. It is used to create assistants that remember users and context across sessions, through a terminal, browser, chat apps or code.
- Stars
- 25.3k
- Licence
- Apache-2.0
- Runs on
- Your computer
- Setup
- Moderate
- Language
- Not stated
- Age
- 1112 days
What you can do with it
- Run a memory-keeping AI agent in your terminal and have it improve with use
- Connect agents to Slack, Telegram or Discord so a team or customers can talk to them
- Build stateful agents into TypeScript applications using the Letta Agent SDK
Make money with it
A freelancer could build and sell custom memory-enabled chat assistants to small businesses as a paid setup and support service.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Build a customer support assistant that remembers each customer's history and preferences
- Create an internal helper in Slack or Discord that learns your team's processes, reducing repeated explanations
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Install globally with npm (npm install -g @letta-ai/letta-code), then run letta for the terminal interface or letta server for a local App Server.
Follow the official instructions in the project README.
Things to check
- This repository is now a pointer; current source lives in letta-ai/letta-code and the old V1 API server is archived
- Agents need a language model, which may mean paid API keys
- Some features, such as syncing memory across computers, rely on the paid Letta Cloud
Who's talking about it
- Rost (rosgluk): Trending Open Source AI Projects on GitHub, October 2026 Featured in a roundup
- Rost Glukhov: Trending Open Source AI Projects on GitHub, October 2026 Featured in a roundup
Checked 27 Oct 2026. Summary drafted by AI from the project's README.