memgate

Welcome to MemGate

MemGate is a privacy-aware memory isolation layer for AI agents. It ensures that sensitive information is handled correctly, preventing unauthorized access and leakage across different contexts.

Key Features

Getting Started

pip install memgate

Usage

from memgate import MemGate

# Initialize
mg = MemGate()

# Add memory
mg.add_memory("user123", "My credit card is 1234-5678-9012-3456")

# Retrieve memory (privacy filtered)
print(mg.get_memory("user123"))