Skip to main content
Agent Frameworks & OrchestrationProduction

Letta

letta-ai / letta

A stateful agent platform that splits memory into core, recall and archival tiers, persisting conversations, tool calls and agent state across sessions and allowing the agent to edit its own memory.

25.5k stars 2683 forks Python Language Apache-2.0 License Last push 2026-10-18

Why choose it

  • Memory tiers are explicit and inspectable.
  • State persists beyond a single context window.
  • The agent can edit its own memory, which enables long-running work.

Not for

You need a stateless request-response service.
You cannot govern what the agent writes into memory.
Not a general workflow engine; complex business orchestration still needs an external layer.

Minimum setup

  1. Create an agent and have a two-session conversation.
  2. Inspect core, recall and archival memory after each turn.
  3. Test a correction and a deletion before trusting it with real data.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Mem0 — Production,A long-term memory layer for agents: extract, store and retrieve user preferences and facts, with vector and graph backends.
  • Zep — Production,A memory service for agents: session summaries, fact extraction, graph memory and retrieval, with a community edition and cloud service.
  • LangGraph — Production,Write an agent as a stateful graph: nodes, edges, checkpoints, human approval and rollback are explicit.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.