TrueMemory logo
TrueMemory
★ 382
vs
knowledge-rag logo
knowledge-rag
★ 300

TrueMemory vs knowledge-rag

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.; knowledge-rag: Knowledge RAG is a fully local, zero-cloud document retrieval system that lets Claude Code search your PDFs, markdown, code, and notebooks natively. It indexes up to 1800+ files in under 3 minutes, using hybrid search (BM25 + semantic vectors + cross-encoder reranking) via 12 MCP tools. Everything runs locally via ONNX, no Docker, Ollama, or API keys required.

01

TL;DR

TrueMemory logo
TrueMemoryRAG / Knowledge Base · ★ 382

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

knowledge-rag logo
knowledge-ragRAG / Knowledge Base · ★ 300

Personal document retrieval and knowledge base for developers

02

Side-by-Side Comparison

Field
TrueMemory logoTrueMemory
knowledge-rag logoknowledge-rag
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 382
★ 300
License
AGPL-3.0
MIT
Install Command
curl -LsSf https://raw.githubusercontent.com/buildingjoshbetter/TrueMemory/main/install.sh | sh
pip install knowledge-rag
Updated
1w ago
1w ago
Open Source
Yes
Yes
Tags
agent-memory, ai, ai-agents
bm25, chromadb, claude
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.
knowledge-rag logoknowledge-rag
01Hybrid Search with BM25 + semantic vectors + cross-encoder reranking
02Optional GPU acceleration for 5-10x faster indexing
0320 format parsers (MD, PDF, DOCX, code, etc.)
04YAML configuration with domain-specific presets
0512 MCP tools for full CRUD, search, and evaluation
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.
knowledge-rag logoknowledge-rag
↳Personal document retrieval and knowledge base for developers
↳Security research document indexing and querying
↳Offline documentation assistant for sensitive environments
FAQ

FAQ

What is the difference between TrueMemory and knowledge-rag?
Both TrueMemory and knowledge-rag are in the RAG / Knowledge Base category. TrueMemory has 382 stars, while knowledge-rag has 300 stars.
Which is better, TrueMemory or knowledge-rag?
The best choice depends on your use case. Choose TrueMemory if Personal AI assistant that remembers user preferences and history across conversations., and knowledge-rag if Personal document retrieval and knowledge base for developers.
Is TrueMemory free or open source?
Yes, TrueMemory is open source on GitHub (AGPL-3.0).
Is knowledge-rag free or open source?
Yes, knowledge-rag 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