LibreAI / AI Agents / letta
// agents · letta-ai/letta

letta

Stateful AI agents with memory that learns and improves.

★ 25.1k stars⑂ 2.6k forksApache-2.0updated 2026-09
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

letta is an open-source ai agents project by letta-ai (letta-ai/letta on GitHub). It has 25,073 GitHub stars and 2,643 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 10 September 2026.

Repository
letta-ai/letta
GitHub stars
25,073
Forks
2,643
License
Apache-2.0
Last updated on GitHub
10 September 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Pick a first task

    Choose one real workload to test the project against.

  2. Download the project

    Clone it locally and read through the getting-started guide.

  3. Wire up dependencies

    Install the stack it needs and set any environment variables.

  4. Run and verify

    Execute the starter example and check results before going further.

// features

Why people love it

Stateful agents

Agents that persist state across sessions.

Advanced memory

Memory systems designed for long-term learning.

Self-improvement

Agents that refine behavior over time.

Platform approach

More than a library — a full agent platform.

Apache-2.0

Permissive licensing.

Strong traction

25k+ stars and an active community.

Advertisement
// run it

Run it yourself

  1. Step 1 — Install the package

    Install Letta from PyPI.

    pip install letta
  2. Step 2 — Configure

    Add your model provider keys per the docs.

    # see docs for server vs. local setup
  3. Step 3 — Run an agent

    Follow the quickstart to launch your first stateful agent.

    # see README for the exact CLI commands
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains Letta?

It is maintained by the letta-ai organization at letta-ai/letta, with 2,643 forks. The docs site tracks current development.

Is Letta free to use?

Yes. It is released under the Apache-2.0 license, which permits commercial use, modification, and redistribution. Read the LICENSE file for the exact terms.

Do I need a paid API to use it?

You need model API access; check the docs for managed versus self-hosted options.

How does it compare to other agent platforms?

Compare memory models and statefulness — persistent, learning memory is Letta's core pitch.

How do I get started?

Read the docs, install the package, and follow the quickstart to run your first agent.

// keep exploring

Similar tools

AI Agents

hindsight

Agent memory that learns — so your agents get smarter over time.

★ 47.0k starsMIT
View guide →
AI Agents

honcho

Honcho — Plastic Labs' memory library for stateful agents that learn about their users over time.

★ 7.5k starsAGPL-3.0
View guide →
AI Agents

ReMe

A memory management kit for agents — remember me, refine me.

★ 3.6k starsApache-2.0
View guide →
AI Agents

langmem

LangMem: long-term memory primitives for LangGraph agents that learn and adapt from conversations.

★ 1.7k starsMIT
View guide →
AI Agents

memvid

A serverless, single-file memory layer for AI agents - replace complex RAG pipelines

★ 16.6k starsApache-2.0
View guide →
AI Agents

zep

Examples and integrations for Zep — the memory layer for AI agents.

★ 5.0k starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if letta is not the right fit.

Get letta

Free and open — grab the source, star the repo, and start creating.