Skip to main content
Agent Frameworks & OrchestrationProduction

Mem0

mem0ai / mem0

A long-term memory layer for agents: extract, store and retrieve user preferences and facts, with vector and graph backends.

69.2k stars 8235 forks Python Language Apache-2.0 License Last push 2026-11-18

Why choose it

  • Separates memory extraction from storage and retrieval, so each stage can be inspected.
  • Supports multiple backends instead of locking you into one vector store.
  • Designed as a layer other agents can call.

Not for

You only need short conversation history inside one session.
Your data cannot leave the application boundary or be persisted.

Minimum setup

  1. Start with a local vector backend and a small set of test facts.
  2. Write a preference, restart the process, then retrieve it in a new session.
  3. Test a conflicting update and decide how stale facts should be replaced.

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

  • 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.
  • RAGFlow — Start here,A RAG platform with document parsing, chunking, retrieval and citations, built to get a knowledge base running.

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.