TrueMemory logo
TrueMemory
★ 382
vs
vir logo
vir
★ 20

TrueMemory vs vir

TrueMemory: TrueMemory is a neuroscience-inspired persistent memory system for AI agents. It achieves state-of-the-art scores on LoCoMo, LongMemEval, and BEAM benchmarks while running entirely offline on a single SQLite file. The six-layer retrieval pipeline with an encoding gate filters noise and stores only meaningful information.; 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.

01

TL;DR

TrueMemory logo
TrueMemoryRAG / Knowledge Base · ★ 382

Personal AI assistant that remembers user preferences and history across conversations.

vir logo
virRAG / Knowledge Base · ★ 20

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

02

Side-by-Side Comparison

Field
TrueMemory logoTrueMemory
vir logovir
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 382
★ 20
License
AGPL-3.0
MIT
Install Command
curl -LsSf https://raw.githubusercontent.com/buildingjoshbetter/TrueMemory/main/install.sh | sh
npm install -g @djolex999/vir-cli
Updated
1w ago
6d ago
Open Source
Yes
Yes
Tags
agent-memory, ai, ai-agents
ai-memory, ai-tools, anthropic
03

Features

TrueMemory logoTrueMemory
01Remembers everything across sessions – facts, preferences, decisions, corrections.
02State-of-the-art benchmark scores: 93.0% on LoCoMo, 92.0% on LongMemEval, 76.6% on BEAM-1M.
03Runs locally on a single SQLite file – zero cloud, zero API keys for Edge and Base tiers.
04Neuroscience-inspired architecture with six retrieval layers and an encoding gate.
05Works with Claude Code and Claude Desktop via pre-built lifecycle hooks.
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
04

Use Cases

TrueMemory logoTrueMemory
↳Personal AI assistant that remembers user preferences and history across conversations.
↳Developer tool that maintains context across long coding sessions.
↳Research and simulation where agents need long-horizon memory.
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
FAQ

FAQ

What is the difference between TrueMemory and vir?
Both TrueMemory and vir are in the RAG / Knowledge Base category. TrueMemory has 382 stars, while vir has 20 stars.
Which is better, TrueMemory or vir?
The best choice depends on your use case. Choose TrueMemory if Personal AI assistant that remembers user preferences and history across conversations., and vir if Capture and organize knowledge from AI coding sessions into a persistent, searchable wiki.
Is TrueMemory free or open source?
Yes, TrueMemory is open source on GitHub (AGPL-3.0).
Is vir free or open source?
Yes, vir is open source on GitHub (MIT).
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