{"repo":"MemTensor/MemPrivacy","free":true,"listed":false,"github":"https://github.com/MemTensor/MemPrivacy","clone":"git clone https://github.com/MemTensor/MemPrivacy.git","description":"MemPrivacy is a privacy-preserving personalized memory management framework for edge-cloud agents.","language":"Python","stars":122,"topics":["agent","agent-memory","ai","edge-cloud","information-extraction","information-security","langmem","llm","long-term-memory","mem0"],"license":null,"category":"ai-agents","readme_excerpt":"MemPrivacy: Privacy-Preserving Personalized Memory Management for Edge-Cloud Agents MemPrivacy is a privacy-preserving personalized memory management framework for edge-cloud agents . It lets cloud-based LLM agents retain long-term personalization signals by replacing sensitive spans with semantically meaningful typed placeholders before data leaves the device, and restoring the original values locally after the cloud response returns—so raw privacy values are never stored or exposed in the cloud . --- Why MemPrivacy? Cloud agents typically send user messages to remote LLMs and store conversation traces in memory systems (e.g., Mem0 , LangMem , Memobase ) for long-term personalization. This creates a large privacy attack surface: - plaintext prompts and logs may contain PII , medical/financial data, credentials - cloud memory stores can leak via retrieval, prompt injection, inversion, or misconfiguration - naïve mitigation (e.g., masking) destroys task semantics , harming retrieval and personalization Goal: reduce privacy leakage without sacrificing utility . --- Core Idea Fig 1. Overview of MemPrivacy. MemPrivacy implements local reversible pseudonymization : 1. On-device privacy detection (local) Detect privacy spans in user input and classify them by: - privacy level (PL1–PL4) - privacy type (e.g., Email, Real Name, Medical Health, Recovery Code) 2. Typed placeholder replacement (local → cloud) Replace protected spans with semantically meaningful typed placeholders , e.g.:","default_branch":null,"files":null,"tree":[],"storefront":"/r/MemTensor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MemTensor/MemPrivacy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}