vir logo
vir
★ 20
vs
cuba-memorys logo
cuba-memorys
★ 30

vir vs cuba-memorys

vir: Vir reads Claude Code session transcripts, distills durable knowledge into typed Markdown notes in your Obsidian vault, and feeds the best insights back into CLAUDE.md files. It treats Obsidian as the primary frontend with deep integration, supporting retroactive processing of existing sessions. The tool includes confidence scoring, opt-in sync, MCP server, and upcoming Obsidian plugin.; cuba-memorys: Cuba-Memorys is a Model Context Protocol (MCP) server that gives AI coding assistants long-term persistent memory. It uses a knowledge graph, neuroscience-inspired algorithms like FSRS-6 adaptive decay, Hebbian learning, and dual-strength memory, along with anti-hallucination grounding. The latest version 2.0.0 is a complete Rust rewrite with 12 tools and sub-millisecond performance.

01

TL;DR

vir logo
virRAG / Knowledge Base · ★ 20

Capture and organize knowledge from AI coding sessions into a persistent, searchable wiki

cuba-memorys logo
cuba-memorysRAG / Knowledge Base · ★ 30

Persistent learning from project context: store and retrieve entities, observations, and relations

02

Side-by-Side Comparison

Field
vir logovir
cuba-memorys logocuba-memorys
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 20
★ 30
License
MIT
NOASSERTION
Install Command
npm install -g @djolex999/vir-cli
git clone https://github.com/LeandroPG19/cuba-memorys.git && cd cuba-memorys && docker compose up -d && cd rust && cargo build --release
Updated
6d ago
2d ago
Open Source
Yes
Yes
Tags
ai-memory, ai-tools, anthropic
ai-memory, ai-tools, anti-hallucination
03

Features

vir logovir
01Retroactively reads existing Claude Code sessions to build a queryable knowledge base
02Obsidian-native: writes typed notes (patterns, gotchas, decisions, tools) into your vault with cross-linking
03MCP server integration allows Claude Code to query the vault mid-session
04Web article ingestion: distill web clippings into the same vault alongside session notes
05Quality controls: confidence scores, opt-in CLAUDE.md sync, lint, dedupe, review workflow, and MMR-diverse retrieval
cuba-memorys logocuba-memorys
01Knowledge graph with typed relations and Leiden community detection
02FSRS-6 adaptive spaced repetition and Hebbian/BCM metaplasticity
034-signal entropy-routed RRF fusion search (TF-IDF, pg_trgm, full-text, pgvector HNSW)
04Anti-hallucination verification with graduated confidence scoring
05REM Sleep autonomous consolidation and dual-strength memory model
04

Use Cases

vir logovir
↳Capture and organize knowledge from AI coding sessions into a persistent, searchable wiki
↳Feed distilled insights back to Claude Code to improve future sessions
↳Combine web research and coding decisions in a single Obsidian vault for unified knowledge management
cuba-memorys logocuba-memorys
↳Persistent learning from project context: store and retrieve entities, observations, and relations
↳Error memory: record and detect repeated mistakes, preventing re-occurrence
↳Anti-hallucination grounding: verify agent claims against stored knowledge before responding
FAQ

FAQ

What is the difference between vir and cuba-memorys?
Both vir and cuba-memorys are in the RAG / Knowledge Base category. vir has 20 stars, while cuba-memorys has 30 stars.
Which is better, vir or cuba-memorys?
The best choice depends on your use case. Choose vir if Capture and organize knowledge from AI coding sessions into a persistent, searchable wiki, and cuba-memorys if Persistent learning from project context: store and retrieve entities, observations, and relations.
Is vir free or open source?
Yes, vir is open source on GitHub (MIT).
Is cuba-memorys free or open source?
Yes, cuba-memorys is open source on GitHub (NOASSERTION).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related