zjunlp/LightMem
A lightweight memory management framework for LLMs and AI Agents providing storage, retrieval, and update mechanisms.

Velocity · 7d
+2.5
★ / day
Trend
→steady
star history
LightMem is a memory-augmented generation framework designed to give Large Language Models and AI Agents persistent long-term memory capabilities. It provides simple APIs for memory storage, retrieval, and updates to enable intelligent conversational applications. The framework supports both cloud API models (OpenAI, DeepSeek) and local models (Ollama, vLLM) with a modular architecture supporting custom storage engines and retrieval strategies.