Skip to content

Add support for graph memory using Kuzu#2934

Merged
parshvadaftari merged 7 commits intomem0ai:mainfrom
sdht0:init-kuzu-memory
Aug 15, 2025
Merged

Add support for graph memory using Kuzu#2934
parshvadaftari merged 7 commits intomem0ai:mainfrom
sdht0:init-kuzu-memory

Conversation

@sdht0
Copy link
Copy Markdown
Contributor

@sdht0 sdht0 commented Jun 9, 2025

Description

Hi! This PR adds Kuzu as an option for the graph memory backend.

Kuzu is an embeddable in-process graph database, which means there is no server to setup. Kuzu just needs a path to a directory for data persistence, but can also run completely in memory, as is the default in this PR.

Reopening this PR as I inadvertently closed the earlier one: #2873

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Please delete options that are not relevant.

  • Unit Test
  • Test Script (please provide)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Made sure Checks passed

@sdht0 sdht0 mentioned this pull request Jun 23, 2025
73 tasks
@semihsalihoglu-uw
Copy link
Copy Markdown

Hi @Dev-Khant, do you think someone form the Mem0 team will be able to take a look at this PR to move it forward or close it?

@sdht0 sdht0 force-pushed the init-kuzu-memory branch 4 times, most recently from a935994 to df95e75 Compare July 22, 2025 05:12
@DavidHuang-TWS
Copy link
Copy Markdown

Hi @Dev-Khant, do you know when this would get merged?

@sdht0
Copy link
Copy Markdown
Contributor Author

sdht0 commented Aug 1, 2025

Hi @deshraj!

Tagging you for some visibility on this PR which adds support for the Kuzu graph engine we're building. Since Kuzu runs embedded in-process, it will help mem0's users easily get started without requiring any other setup for the graph memory layer.

Please let me know if mem0 would be interesting in getting this merged, then I'll sync the PR with latest changes in main.

Thanks!

@semihsalihoglu-uw
Copy link
Copy Markdown

semihsalihoglu-uw commented Aug 5, 2025

Also tagging @whysosaket in case other people at Mem0 can take a look at this PR.

@parshvadaftari
Copy link
Copy Markdown
Contributor

@sdht0 Hey can you resolve the conflicts?

@sdht0 sdht0 force-pushed the init-kuzu-memory branch from df95e75 to 5d1175c Compare August 13, 2025 21:24
@sdht0 sdht0 force-pushed the init-kuzu-memory branch from 5d1175c to 685391c Compare August 13, 2025 21:29
@sdht0
Copy link
Copy Markdown
Contributor Author

sdht0 commented Aug 14, 2025

I've synced with the latest changes and added some Kuzu-specific tests.

@parshvadaftari parshvadaftari merged commit a6a3928 into mem0ai:main Aug 15, 2025
6 of 7 checks passed
@sdht0 sdht0 deleted the init-kuzu-memory branch August 15, 2025 22:13
acarbonetto pushed a commit to acarbonetto/mem0 that referenced this pull request Sep 2, 2025
acarbonetto pushed a commit to acarbonetto/mem0 that referenced this pull request Sep 3, 2025
thestumonkey pushed a commit to Ushadow-io/mem0 that referenced this pull request Sep 7, 2025
acarbonetto pushed a commit to acarbonetto/mem0 that referenced this pull request Sep 8, 2025
acarbonetto pushed a commit to acarbonetto/mem0 that referenced this pull request Sep 17, 2025
acarbonetto pushed a commit to acarbonetto/mem0 that referenced this pull request Sep 18, 2025
jamebobob pushed a commit to jamebobob/mem0-vigil-recall that referenced this pull request Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants