vir logo
vir
★ 20
vs
m3-memory logo
m3-memory
★ 29

vir vs m3-memory

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.; m3-memory: M3 Memory provides persistent, local memory for MCP agents using SQLite, hybrid retrieval, and optional cross-device sync. It stores facts, decisions, and preferences across sessions, with contradiction handling and knowledge graph features. It works offline and integrates with Claude Code, Gemini CLI, and other MCP-compatible agents.

01

TL;DR

vir logo
virRAG / Knowledge Base · ★ 20

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

m3-memory logo
m3-memoryRAG / Knowledge Base · ★ 29

Coding agents like Claude Code or Gemini CLI need persistent memory across sessions

02

Side-by-Side Comparison

Field
vir logovir
m3-memory logom3-memory
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 20
★ 29
License
MIT
Apache-2.0
Install Command
npm install -g @djolex999/vir-cli
curl -fsSL https://raw.githubusercontent.com/skynetcmd/m3-memory/main/install.sh | bash
Updated
6d ago
4d ago
Open Source
Yes
Yes
Tags
ai-memory, ai-tools, anthropic
agentic-memory, ai-agents, ai-memory
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
m3-memory logom3-memory
01Persistent memory across sessions
02Hybrid retrieval (FTS5 + vector + MMR)
03Contradiction detection and automatic supersession
04Knowledge graph with entity extraction
05Optional cross-device bi-directional sync
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
m3-memory logom3-memory
↳Coding agents like Claude Code or Gemini CLI need persistent memory across sessions
↳Multi-agent teams sharing a local memory store with handoffs and scoping
↳Developers requiring local-first memory with optional sync across devices
FAQ

FAQ

What is the difference between vir and m3-memory?
Both vir and m3-memory are in the RAG / Knowledge Base category. vir has 20 stars, while m3-memory has 29 stars.
Which is better, vir or m3-memory?
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 m3-memory if Coding agents like Claude Code or Gemini CLI need persistent memory across sessions.
Is vir free or open source?
Yes, vir is open source on GitHub (MIT).
Is m3-memory free or open source?
Yes, m3-memory is open source on GitHub (Apache-2.0).
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