claude-mem and shodh-memory
The two tools are **competitors**, as `thedotmack/claude-mem` offers an opinionated, cloud-based, and Claude-specific solution for automated session context management, while `varun29ankuS/shodh-memory` provides a general-purpose, offline, and agent-agnostic cognitive memory system.
About claude-mem
thedotmack/claude-mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.
Implements a persistent memory system with progressive disclosure that layers retrieved context while displaying token costs, and provides skill-based search capabilities alongside a web UI viewer running on localhost:37777. Built on Claude's agent-sdk with automatic tool observation capture, semantic summarization, and support for privacy controls via `
About shodh-memory
varun29ankuS/shodh-memory
Cognitive memory for AI agents — learns from use, forgets what's irrelevant, strengthens what matters. Single binary, fully offline.
Implements local embeddings and Hebbian learning to achieve sub-200ms memory storage without LLM API calls, with automatic activation decay and spreading activation for relevance-based recall. Available as MCP server for Claude/Cursor, HTTP API, or native Rust/Python libraries; also supports robotics frameworks (ROS2/Zenoh) and includes a TUI dashboard for memory visualization and GTD task management.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work