The first time I tested SOULCHAT, I had the same conversation twice.

I told the AI about a memory I wanted to preserve. It responded with warmth and understanding. I closed the window, opened a new one the next day, and it asked me the same question — as if we had never spoken.

That was the moment I realized: if an AI companion can't remember you, it's not a companion. It's a search engine.

So I set out to build a memory layer for SOULCHAT — something that could store, retrieve, and recall what users share across sessions.

I used Cline with DeepSeek's API to help me prototype it. I designed the system flow and architecture; Cline helped with the implementation. This post is about what I built and why.