Comparison
cognee vs graphiti-core vs lightrag-hku vs mem0ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning.
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install cogneeA temporal graph building library
Actively maintained. Last release 9 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install graphiti-coreLightRAG: Simple and Fast Retrieval-Augmented Generation
Actively maintained. Last release 10 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install lightrag-hkuLong-term memory for AI Agents
Actively maintained. Last release 2 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install mem0aiIn short
- mem0ai is the most used: 2.3M downloads a month, 2.5× more than graphiti-core.
- Maintenance is comparable: mem0ai 89, cognee 88, graphiti-core 84, lightrag-hku 82 on Pythie’s Index.
- cognee is growing fastest: downloads +93% over the last month.
- Safe default for a new project: mem0ai.
Side by side
| Metric | cognee | graphiti-core | lightrag-hku | mem0ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 84 | Pythie’s Index: 82 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 247.3K | 924.2K | 185.3K | 2.3M |
| Downloads, month over month | +93% | +8% | +21% | -7% |
| GitHub stars | 33.8K | 33.2K | 41K | 69.9K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 26 | 23 | 91 |
| Last release | Nov 26, 2026 | Nov 24, 2026 | Nov 23, 2026 | Sep 25, 2026 |
| Releases, 12 months | 107 | 29 | 30 | 36 |
| Weeks with commits | 26 / 26 | 26 / 26 | 26 / 26 | 26 / 26 |
| Recent contributors | 7 | 11 | 12 | 29 |
| First release | Mar 2024 | Aug 2024 | Oct 2024 | May 2024 |
| Python versions | – | – | – | – |
| License | Apache-2.0 | Apache-2.0 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.