Compare
LightRAG vs mem0
LightRAG and mem0 share 6 technologies: FastAPI, Postgres, MongoDB, Redis, OpenAI, and Anthropic. Both are written in Python.
What they share and what sets them apart
HKUDS
LightRAG
[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation
Python40.5kRead on October 31, 2026, at commit aaebfe1What is LightRAG built with?mem0ai
mem0
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python68.1kRead on October 30, 2026, at commit 26cdefbWhat is mem0 built with?In common
Only in LightRAG
Only in mem0
Side by side
LightRAGmem0
SizeLines written by people and agents, without generated ones; code files, without tests.
LightRAG442,998 lines written338 code files
mem0234,363 lines written636 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
LightRAG19.8% of its commits signed by AIWith Claude Code, Codex, GitHub Copilot, Cursor, and Jules
mem03.6% of its commits signed by AIWith Claude Code and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
LightRAGLast push October 29, 20268,260 commits40,452 stars
mem0Last push October 29, 20262,650 commits68,064 stars
TestsThe files that test the code, and the share of code files a test imports.
LightRAG676 test files66% of its code files have a test that imports them
mem0324 test files46.2% of its code files have a test that imports them
Frequently asked questions
Which is bigger, LightRAG or mem0?
LightRAG, with 442,998 lines written in 338 code files; mem0 has 234,363 in 636.
The proof: HKUDS/LightRAG's code at commit aaebfe1
Which has more GitHub stars, LightRAG or mem0?
mem0, with 68,064 stars; LightRAG has 40,452.
The proof: mem0ai/mem0 on GitHub
Which has more tests, LightRAG or mem0?
LightRAG, with 676 test files; mem0 has 324.
The proof: HKUDS/LightRAG's code at commit aaebfe1
Which was updated more recently, LightRAG or mem0?
Both got their last push on October 29, 2026.
The proof: mem0ai/mem0's commits on GitHub
Which has more commits signed by AI, LightRAG or mem0?
LightRAG: an AI signed 19.8% of its commits, with Claude Code, Codex, GitHub Copilot, Cursor, and Jules; in mem0, 3.6%.
What is your repo built with?
Paste your public repo and see it drawn.
Free, no account.