m3-memory logo
m3-memory
★ 29
vs
yantrikdb-server logo
yantrikdb-server
★ 176

m3-memory vs yantrikdb-server

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.; yantrikdb-server: YantrikDB is a cognitive memory engine designed for AI agents that goes beyond vector databases by implementing forgetting, consolidation, and contradiction detection. It provides token-efficient recall, proactive triggers, and a comprehensive API for memory operations, making it suitable for persistent AI systems.

01

TL;DR

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

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

yantrikdb-server logo
yantrikdb-serverRAG / Knowledge Base · ★ 176

Running as a network server for distributed memory operations

02

Side-by-Side Comparison

Field
m3-memory logom3-memory
yantrikdb-server logoyantrikdb-server
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 29
★ 176
License
Apache-2.0
AGPL-3.0
Install Command
curl -fsSL https://raw.githubusercontent.com/skynetcmd/m3-memory/main/install.sh | bash
pip install yantrikdb
Updated
4d ago
1w ago
Open Source
Yes
Yes
Tags
agentic-memory, ai-agents, ai-memory
agent-memory, ai-agents, anthropic
03

Features

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
yantrikdb-server logoyantrikdb-server
01Forgetting with configurable half-life decay
02Consolidation of similar memories into canonical ones
03Contradiction detection across memories
04Multi-signal scoring (recency, importance, similarity, graph proximity)
05Proactive triggers and derived personality from memory patterns
04

Use Cases

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
yantrikdb-server logoyantrikdb-server
↳Running as a network server for distributed memory operations
↳Serving as an MCP server for AI agents (Claude Code, Cursor, Windsurf)
↳Embedding as a library in Python or Rust applications
FAQ

FAQ

What is the difference between m3-memory and yantrikdb-server?
Both m3-memory and yantrikdb-server are in the RAG / Knowledge Base category. m3-memory has 29 stars, while yantrikdb-server has 176 stars.
Which is better, m3-memory or yantrikdb-server?
The best choice depends on your use case. Choose m3-memory if Coding agents like Claude Code or Gemini CLI need persistent memory across sessions, and yantrikdb-server if Running as a network server for distributed memory operations.
Is m3-memory free or open source?
Yes, m3-memory is open source on GitHub (Apache-2.0).
Is yantrikdb-server free or open source?
Yes, yantrikdb-server is open source on GitHub (AGPL-3.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