#115 · Primary category: LLM Application Frameworks

LightMem

agent ai-agents artificial-intelligence chatbot genai knowledge large-language-models lightmem lightweight llm long-term-memory memory memory-management natural-language-processing personalization python rag

[ICLR 2026] LightMem: Lightweight and Efficient Memory-Augmented Generation

Project last updated:08/21/26

GitHub Stars

1.1K

Forks

105

Contributors

17

License

MIT

Why we included this project

Agents that keep forgetting earlier turns in a conversation are a common pain point, and LightMem addresses it directly. It gives LLM applications a small memory layer that stores, retrieves, and updates context, so a chatbot or agent can recall prior exchanges without rereading every message. The API is simple enough to integrate in a few lines, and the modular design lets you plug in different storage backends and retrieval strategies. You can run it against hosted models like OpenAI or DeepSeek, or local runtimes such as Ollama and vLLM, which makes prototyping in different setups straightforward. Tutorial notebooks for a travel-planning agent and a code assistant show how to wire everything together, and the benchmark scripts let you compare it against other memory approaches on LoCoMo and LongMemEval before you commit.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category