Letta
AI / ML development tool · Free
Stateful AI agents with persistent memory and tools. Current Letta Code includes an agent harness, terminal UI, App Server, and a desktop/web app runtime; the former Letta V1 API server is on an archive branch.
Also known as: letta-ai/letta; letta-ai; letta-platform

What you can use for free
A local code pipeline under Apache-2.0; rights for the selected models are checked separately.
Paid features and costs
Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
Access and limitations
A local code pipeline under Apache-2.0; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
Use cases
- Create an agent with persistent memory
- Run multiple sessions and test retention of required context between them
Example workflow
A possible workflow; this is not a report of hands-on testing.
Create an agent with persistent memory.
Before you start
- Test documents or tasks, and a quality criterion.
- Models, a runtime, and a computing budget.
Steps
- Define the agent's role, memory, and available tools.
- Run multiple sessions and test retention of required context between them.
- Connect the workflow to the application and make errors observable.
Check your result
- Check the result against reference examples and invalid inputs.
- Inference costs, model rights, and data handling have been established.
Choosing Letta
Create an agent with persistent memory
Choose this when
- Create an agent with persistent memory
- Run multiple sessions and test retention of required context between them
Requirements
- The current terminal/App Server path uses npm package @letta-ai/letta-code.
Things to consider
- Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
- Terms of use: Current Letta Code is Apache-2.0. LICENSE separately excludes the Letta name, logo, wordmark, images, and ASCII art: using these brand assets in derivative works requires written permission.
- Cloud stores agent memory, identity, and conversations; local/backend and model provider choices are separate settings.
Frequently asked questions
What can you use for free in Letta?
A local code pipeline under Apache-2.0; rights for the selected models are checked separately.
What additional costs might arise with Letta?
Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
What terms of use matter for Letta?
Current Letta Code is Apache-2.0. LICENSE separately excludes the Letta name, logo, wordmark, images, and ASCII art: using these brand assets in derivative works requires written permission.
How do you get started with Letta?
Define the agent's role, memory, and available tools. Run multiple sessions and test retention of required context between them. Connect the workflow to the application and make errors observable.
Where is current Letta, and how are local backend and Cloud separated?
Current Letta source is in letta-ai/letta-code; the former V1 API server remains on an archive branch. The npm package provides terminal UI and App Server. Cloud is the default, but setup/backend flags switch to a local backend; your own model keys are connected separately. AgentFile import/export was removed, while memory and conversation export remain.
License
Current Letta Code is Apache-2.0. LICENSE separately excludes the Letta name, logo, wordmark, images, and ASCII art: using these brand assets in derivative works requires written permission.
Apache 2.0 — permissive license with patent terms
Letta Code source; brand assets are explicitly excluded from Apache-2.0.
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsTechnologies and topics
- Letta
- ml
- Development