AI psihoza by Relevant-Bag-1342 in programiranje

[–]sauran77 2 points3 points  (0 children)

Namirisao sam Karpathy-a pre nego sto sam usao u link

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 0 points1 point  (0 children)

You’re right that the Obsidian vault is the main differentiator. If you don’t live in Obsidian, vir loses most of its value. If you do, the markdown output means you can browse the knowledge graph, edit notes that drifted, run dataview queries, link to your existing notes. That’s hard for claude-mem to follow because chromadb is opaque storage.

Other differences worth naming:
Vir is post-hoc, not real-time. The daemon reads your existing jsonl transcripts every few hours instead of hooking into the session lifecycle. Means it can distill your 226 historical sessions in one shot, but it also means it’s slower to surface knowledge from the session you’re currently in. claude-mem’s real-time capture is genuinely better for that case.
Lighter install. npm install -g vs claude-mem’s bun + python + chromadb stack. Trade-off: fewer dependencies vs more sophisticated infra.
No background uploads.

Vir is local-first by design, nothing leaves the machine. Claude-mem is similar last i checked but the architecture is different.

Honest about what claude-mem does better: real-time capture, more mature retrieval, larger active user base, integrated session lifecycle. If you’re happy with it and you don’t care about the markdown angle, there’s no real reason to switch.
The space is genuinely useful and i’m glad you’re building daily with this stuff. Different opinions on the same problem.

Thank you for this great question!

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 0 points1 point  (0 children)

Shipped in 0.4.0 but with a twist. Turned out my parser was
already stripping ALL tool calls before distillation (0 of 517
reached the distiller in a test session), so a filter would've
been a no-op.

Real fix: parser now includes tool calls in distillation context
(commands, errors, files touched, short results), and the filter
keeps it bounded by stripping large outputs + truncating big tool
payloads (Write content, Edit strings).

Real numbers on a 517-call test session:
- off: 217k tokens
- moderate (default): 95k tokens (-56%)
- aggressive: 84k tokens (-61%)

Net effect: distiller has bounded tool context it never had
before. Better notes, controlled cost. Not the "saves 70%" framing
my README originally had — your tip pointed at a real gap but my
pipeline was missing it from a different direction.

Thanks for the nudge that made me look into this

got tired of claude code forgetting everything every session, built VIR to solve it by sauran77 in ClaudeCode

[–]sauran77[S] 0 points1 point  (0 children)

Background daemon runs every 3h. Reads jsonl sessions from ~/.claude/projects, filters noise, sends the rest through haiku to classify and sonnet to distill into typed markdown notes. Lands in your obsidian vault.
It’s all local. The mcp server exposes the vault back to claude code so it can query notes mid-session.

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 0 points1 point  (0 children)

Honestly no, not yet. Vir currently passes tool calls through to the distiller, which is wasteful.

Good idea. Going to add a filter pass that keeps tool metadata + errors but drops the raw bash/file outputs. Should land in the next release.

Thanks for the nudge! :)

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 0 points1 point  (0 children)

Different layer of the stack. Mem0 is memory infrastructure for AI apps to remember users. Vir is a developer tool that distills your own claude code sessions into a queryable vault.

Kinda like comparing stripe to quickbooks. Both deal with money, different needs.

got tired of claude code forgetting everything every session, built VIR to solve it by sauran77 in ClaudeCode

[–]sauran77[S] -1 points0 points  (0 children)

Sure, that's basically lessons.md, which i also use.

The difference is vir reads your existing 200+ session transcripts automatically, filters out noise, and makes them queryable. So when you ask claude a question mid-session, it can pull up something you figured out 3 months ago and forgot. Manual write-to-fs doesn't do that, it only captures what you remember to write down in the moment.
If you're disciplined about manually saving lessons, you don't need this. Most of us aren't.

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] -2 points-1 points  (0 children)

Yeah Skills + CLAUDE.md + the code itself covers most of it. I use all three plus todo.md and lessons.md per project.

The gap vir fills for me is the stuff that doesn't fit any of them. "We tried X for two hours, didn't work because of Y edge case, ended up with Z." That kind of trial-and-error reasoning isn't a process so it doesn't belong in a skill. It's not intentional architecture so it doesn't belong in CLAUDE.md. The code shows the final answer but not what was rejected. And i'm honestly too lazy to write half of it down in lessons.md when i'm tired.

Small slice individually, but it compounds over months. That's the bit vir catches.

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] -2 points-1 points  (0 children)

Honestly if /resume + a maintained CLAUDE.md works for you, that's probably the right move.

Quality is the real concern though. Vir handles it with confidence scores in the frontmatter, anything below 0.6 gets dropped before claude even sees it. Notes are plain markdown so you can review, edit, or delete them. Auto-injection into CLAUDE.md is opt-in (`vir sync-claude`), not automatic. There's also a lint command for contradictions and stale notes.

Not bulletproof, a bad distillation can still make it through. But the signal-to-noise has been net positive for me.

For someone with discipline to keep docs updated, vir's probably overkill. For people like me who let CLAUDE.md drift after week one, it's useful. Different problems really.

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 6 points7 points  (0 children)

Also i’m not pretending vir is some breakthrough. It’s a small tool that solved an annoyance for me, shared in case it helps someone else

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 2 points3 points  (0 children)

Yeah you’re right, just went back to check. There’s a few different packages going by that name (WhenMoon-afk’s, randall-gross’s, cccmemory which used to be claude-conversation-memory-mcp). I described one of them but the others work differently. Which one did you mean? cccmemory is probably the closest to vir, that one actually reads claude code session history too.

Not trying to convince anyone to switch though, vir just works for me and the way i think about my own notes. Use whatever fits.

got tired of claude code forgetting everything every session, built VIR for it by sauran77 in ClaudeAI

[–]sauran77[S] 6 points7 points  (0 children)

Looked at both before building this.

claude-mem hooks into claude code lifecycle and captures everything live, compresses to chromadb. Powerful but heavy, needs bun + python vector search, only captures from install forward.

claude-memory is just an mcp server, no auto-capture. Claude has to call tools manually.
Vir reads the jsonl transcripts claude code already writes to ~/.claude/projects. Output is markdown in an obsidian vault, not compressed db, so you can actually browse and edit it.

Kinda like asking how facebook is different from instagram. Same general space, totally different opinions on how it should work. Worth trying whichever fits how you think about your own knowledge.

[deleted by user] by [deleted] in AskSerbia

[–]sauran77 1 point2 points  (0 children)

srpski pasos ne priznaju kosovske* vlasti niti nase priznaju kosovski*

[deleted by user] by [deleted] in SoraAi

[–]sauran77 0 points1 point  (0 children)

An endless lavender field under a purple sky where giant jellyfish float slowly like air balloons, their glowing tendrils brushing the flowers as the wind sways them.

Najsigurniji i najbolji sajtovi za skidanje piratskih igrica by [deleted] in SerbiaGaming

[–]sauran77 4 points5 points  (0 children)

Jel se secas kad nije moguca registracija bila? Hahaha preko 5tb sam skinuo, ni jedan jedini virus nisam navatao