How do I delete a namespace in long-term memory? #521

Closed
opened 2026-02-20 17:40:32 -05:00 by yindo · 4 comments
Owner

Originally created by @Saisiva123 on GitHub (Mar 19, 2025).

Checked other resources

  • This is a bug, not a usage question. For questions, please use GitHub Discussions.
  • I added a clear and detailed title that summarizes the issue.
  • I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
  • I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.

Example Code

No code Required.

Error Message and Stack Trace (if applicable)


Description

I've implemented store to save the long term memory and I'm running langgraph server locally.

In my langgraph studio, under the memory I could see all the namespaces I've created and if I want to delete a namespace there is no option for me to.

I think that data is getting store in memory right? I dont know how to remove them, I see there is an option to remove the keys and values, but I want to delete the namespace. Because all the unnecessary namespaces that I've used for different projects are still left there and I want to delete them and the files inside them.

System Info

using latest versions

Originally created by @Saisiva123 on GitHub (Mar 19, 2025). ### Checked other resources - [x] This is a bug, not a usage question. For questions, please use GitHub Discussions. - [x] I added a clear and detailed title that summarizes the issue. - [x] I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example). - [x] I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue. ### Example Code ```python No code Required. ``` ### Error Message and Stack Trace (if applicable) ```shell ``` ### Description I've implemented store to save the long term memory and I'm running langgraph server locally. In my langgraph studio, under the memory I could see all the namespaces I've created and if I want to delete a namespace there is no option for me to. I think that data is getting store in memory right? I dont know how to remove them, I see there is an option to remove the keys and values, but I want to delete the namespace. Because all the unnecessary namespaces that I've used for different projects are still left there and I want to delete them and the files inside them. ### System Info using latest versions
yindo closed this issue 2026-02-20 17:40:32 -05:00
Author
Owner

@hinthornw commented on GitHub (Mar 19, 2025):

To delete a namespace, you delete all the items in that namespace right now

@hinthornw commented on GitHub (Mar 19, 2025): To delete a namespace, you delete all the items in that namespace right now
Author
Owner

@Saisiva123 commented on GitHub (Mar 20, 2025):

  1. Image

@hinthornw I deleted all the items in that namespace but still the namespace persist

  1. Image

@hinthornw Also while deleting few key that integer values its not getting deleted.

@Saisiva123 commented on GitHub (Mar 20, 2025): 1. <img width="439" alt="Image" src="https://github.com/user-attachments/assets/994e4e85-5a42-4704-ad30-e8633074049b" /> @hinthornw I deleted all the items in that namespace but still the namespace persist 2. <img width="1278" alt="Image" src="https://github.com/user-attachments/assets/7d751999-8544-440b-875f-d2796a9ad937" /> @hinthornw Also while deleting few key that integer values its not getting deleted.
Author
Owner

@hinthornw commented on GitHub (Mar 25, 2025):

What are you showing there?

@hinthornw commented on GitHub (Mar 25, 2025): What are you showing there?
Author
Owner

@hinthornw commented on GitHub (Mar 31, 2025):

Going to close as stale, since it's already possible to delete items. Namespaces only exist as a function of the items that exist in memory.

@hinthornw commented on GitHub (Mar 31, 2025): Going to close as stale, since it's already possible to delete items. Namespaces only exist as a function of the items that exist in memory.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#521