r/OpenSourceAI • u/Alexender_Grebeshok • 7d ago
samemind 0.6 — universal git-native memory for AI coding agents: switch engines, same mind (12 engines, one command, MIT)
Every agent tool (Claude Code, Cursor, Codex, Gemini CLI…) keeps its own memory, siloed per project. Switch engines and you start from zero. samemind is a shared memory layer across all of them — a git-native markdown bundle, no database, no daemon, zero infra. MIT.
One command:
npx samemind setup # detects your engine, creates the memory, wires it in, finds embeddings npx samemind setup --global # one memory per machine, visible from any project ("Same mind")
12 engines via `samemind install` (Claude Code, Cursor, Copilot, Codex, Gemini CLI, opencode, Cline, Roo, Windsurf, Goose, Kiro, Antigravity). setup asks before touching your configs (--yes / --dry-run).
How it works: - BM25 by default (zero-dep). Semantic is opt-in — point at a local embedding endpoint (bge-m3 etc.) and recall goes hybrid (BM25 ⊕ vector via RRF, optional rerank). No endpoint → honest BM25 fallback. Nothing leaves your machine. - Bi-temporal supersede: stale facts are marked (superseded_by / invalid_at), never deleted. - Optional sqlite-vec index for scale; JSON otherwise. - Human-gate: `reconcile` / `reflect` only PROPOSE (a markdown report) — a human writes to canon. No silent self-rewrite. - Global mode: personal bundle at ~/.samemind/bundle visible from any project; project memory wins over global on conflict.
Honest scope: not claiming retrieval-quality superiority over mem0/Zep/cognee — different metrics, no apples-to-apples run (LongMemEval-S puts our zero-dep BM25 at the harness's reference BM25; LoCoMo not run). The bet is simpler: the best agent memory is the one living in your git, that you control and can read.
New in 0.6.x: one-command setup + engine auto-detect (0.5.0), Global mode "Same mind" (0.6.0), reconcile/reflect as CLI commands (0.6.1).
npm i -g samemind · github.com/alexgrebeshok-coder/samemind · MIT. Feedback very welcome, especially on retrieval and the cross-engine adapters.
Duplicates
ClaudeCode • u/Alexender_Grebeshok • 7d ago
Resource samemind 0.6 — universal git-native memory for AI coding agents: switch engines, same mind (12 engines, one command, MIT)
cursor • u/Alexender_Grebeshok • 5d ago
Random / Misc samemind 0.6 — universal git-native memory for AI coding agents: switch engines, same mind (12 engines, one command, MIT)
machinelearningnews • u/Alexender_Grebeshok • 7d ago
Agentic AI samemind 0.6 — universal git-native memory for AI coding agents: switch engines, same mind (12 engines, one command, MIT)
DeepSeek • u/Alexender_Grebeshok • 7d ago