Claude code is great, but we also know it's only great in the session. Anytime we pick back up, we've lost everything out of the last session.
This is ClaudeMem.
It gives Claude code persistent and compressed memory across sessions while auto capturing stuff like bug fixes and decisions,
then brings that context back right when we need it. All open source, no API keys. We have videos coming out all the time. Be sure to subscribe.
The setup here is really quick, and you can get all this from the Claude MEM repo. I'll assume you already have Claude code installed as I do, so adding Claude MEM is basically two commands inside Claude.
First, fire up Claude, then just run this command right here. After that, we can install it with the command right here. Both of these I got off the repo. I'm gonna restart Claude and you're done. That is Claude mem right on your system. I didn't have to play around with any config files or API keys, which is a huge bonus. And here's the part I really like. It runs locally, so all this data it's capturing is staying on your machine. Alright. Let me actually show you all the good stuff here. It'll be quick so you can get the gist of it because that's what matters. We're inside a fresh project folder, just some fast API I was messing around with, but for this, we're gonna make a super basic Python script just to cover the point. In the first session, I'm gonna ask Claude to create a recursive fibonacci py file, but skip handling negative inputs.
As expected, Claude generates the file and opening it, it all looks good. So now I'm gonna run with this and I'm gonna say I'll run it with a negative number.
For obvious reasons, we get an error. So I'll just tell Claude add a value error when n is negative.
Claude updates the code, I rerun it, clean error message, the bug's fixed. Okay. Now here's the thing, Claude can do that, that was super easy. While we're doing that though, Claude mem is quietly watching in the background. It's logging what just happened. This runs completely locally on your local host so it's always refreshing.
We can do things here like the bug, right, I can view this, I can view the fix, the reasoning, and the code diff. This is really the whole ClaudeMem web UI and you can see real time entries that are categorized and there's our bug fixed.
So now comes the real test because the first part is already nice. It was cool, right, to see this, but basically it's just nice looking logs.
I'm gonna go in here and I'm gonna end the current session, I'm gonna clear out my terminal, and I'm gonna fire back up Claude.
Now that I'm in a new session, so I'm gonna ask Claude to pick back up where we left off. Let me just ask it to recall the Fibonacci bug we fixed last time.
And there it is. It's pulling in that context. Claude pulls the exact fix back without me explaining the whole story again. And I can go one step further, I can ask it to search for Fibonacci bug fix.
Now I get the compressed summary and if I expand it, I get the full context.
I don't have to waste time here copying and pasting or trying to re explain what we were doing before, it just remembers.
This is huge because now we can enter new sessions, leave these sessions, and Claude Memm is running in the background to help us out. There are a lot of things here that I love that are gonna help you out. First, it saves a huge amount of time, so you can stop reloading context every session.
Then it's actually pretty token efficient.
CloudMem compresses memories by up to 10 x so we aren't hitting our limits as fast as we once were. Finally, you can actually find stuff. You can search memories by integrated tags that we have in ClaudeMemp.
Type things like bug fix or decision, file path or keywords,
that pops up in our UI.
That's what makes this really useful to us in these larger projects and unlike Clog's basic memory file, this is automatic.
Plus it's open source, so if you wanna tweak it, you can. Long story short, that's Clog MEM. Right? Clog memory, Clog MEM saves us time. This is ideally a tool to speed up your workflow and save you a bunch of tokens. Try it out on your project, I think you'll immediately feel the difference. If this helped, be sure to hit that subscribe button and we'll see you in another video.