A
cognee
89.3
33,370 stars · Apache-2.0
AI Agents
Dify leads by 8.6 · clear
A
89.3
33,370 stars · Apache-2.0
B · leads
97.9
161,357 stars · Apache-2.0
cognee versus Dify is a AI Agents comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. Both projects are written mainly in Python. The composite score is 89.3 for cognee and 97.9 for Dify.
Dify has 161,357 GitHub stars to cognee's 33,370, a gap of 127,987 (4.84×). Forks are 3,529 for cognee and 25,515 for Dify. On the log scale used inside this pair, adoption is 87 versus 100, and the fork community is 80 versus 100.
Push history: cognee was last pushed on 17 November 2026 (0 days ago), and Dify was last pushed on 17 November 2026 (0 days ago). Open issues stand at 1,125 for cognee (0.034 per star) and 1,422 for Dify (0.009 per star). Issue-health scores are 70 and 84; activity scores are 100 and 100.
Both cognee and Dify are listed as Apache-2.0. A permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. The license score is therefore level at 96 versus 96, and the decision moves to adoption, activity, and hosting. This is a procurement signal, not legal advice.
In AI Agents, both cognee (33,370 stars) and Dify (161,357 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: cognee is open source, Dify is open source.
Dify is ahead on every scored dimension that is not level. Level dimensions: recent activity, license flexibility, self-hosting. The widest gap is fork community at 20 points (80 vs 100), and the tightest is self-hosting at 0 points (100 vs 100).
Dify finishes ahead at 97.9 against cognee at 89.3, a 8.6 point clear margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | cognee | Dify |
|---|---|---|
| GitHub stars | 33,370 | 161,357 |
| Forks | 3,529 | 25,515 |
| Open issues | 1,125 | 1,422 |
| Adoption | 87 | 100 |
| Activity | 100 | 100 |
| Community | 80 | 100 |
| Issue health | 70 | 84 |
| License | 96 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 89.3 | 97.9 |
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free
Dify is a platform for building LLM apps: prompts, RAG pipelines, agents, and observability. It is aimed at teams that want that stack on their own machines.
Dify has more GitHub stars: 161,357 versus 33,370 for cognee. The gap is 127,987 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both cognee and Dify as self-hostable. Confirm each project's deploy docs before you plan a migration.
cognee is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Dify is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
Dify scores 97.9 and cognee scores 89.3. This page calls that a clear lead for Dify.