itcraft-cn/memrec

itcraft-cn★ 4RustLast synced: 2026-08-20

Open on GitHub

Local-first AI memory with project isolation — for terminal, for private use

README excerpt

中文版 English MemRec — AI Memory Persistence System Local-first AI memory with project isolation — for terminal, for private use Local memory persistence system for AI CLI tools, providing cross-session memory recovery, knowledge accumulation, and conversation archival. Features - Project Isolation — Auto-detect git root, .mr pid persistence, independent memory per project - Hybrid Search — KNN vector search + BM25 full-text, MMR reranking, Chinese text support - Scene Aggregation — L2 theme-based aggregation over memory cards, heat-ranked (memory pyramid L0-L3) - Dream Consolidation — idle-triggered 4-phase memory consolidation with optional LLM summaries - LLM Integration — optional OpenAI-compatible LLM for Dream summaries - Write Dedup — ADD/UPDATE/NOOP decision on every write - Plugin Ecosystem — pi extension & DeepSeek Harness native plugin - Semantic Search — Local ONNX model — MiniLM-L6-v2 (384d) or BGE-M3 (1024d, multilingual), zero API cost - Smart Scoring — Time decay, evergreen exemption, source weighting - Cross-Project Search — --all flag to discover related knowledge across projects - AI-first Design — JSON output by default, concise commands, Skill integration - High …

View full README on GitHub →
Terminal / TUIagent-memoryai-memory-systemdsh-pluginllm-memorylocal-firstlong-term-memorymcpmemory

Category