This started as a fun experiment.
I've been working on a local RAG system , and at some point I started wondering about something that sounds simple but is actually quite difficult:
Can an LLM remember old conversations without sending its entire history back into the context window?
I didn't want to build a complicated memory architecture just to answer that question. So I tried something almost ridiculous. I exported my old chats and extracted conversations from Json files.
The entire memory extractor was basically one rule






