Purpose: Provide long-term memory for AI coding assistants, solving the problem of starting from scratch each session and forgetting past decisions and fixes. All data is stored locally in a single SQLite file, with no cloud, no API keys, and no telemetry.
Main capabilities:
- Memory across sessions, repositories, and projects, organizing knowledge by namespace, type, and relationships.
- Comprehensive ranking by relevance, freshness, access frequency, and confidence, automatically surfacing relevant context.
- Hybrid retrieval: BM25 on FTS5 plus local embeddings, fused with Reciprocal Rank Fusion; available offline.
- Embedding backend can be fastembed (default, ONNX, about 80MB model) or Ollama; semantic retrieval can be disabled with MEMORY_EMBEDDINGS_ENABLED=false to use only BM25.
- 21 MCP tools, supporting structured types, confidence lifecycle, and a credential vault (using the system keychain).
- Provides a Memory Explorer UI and memory_consolidate for merging and deduplication.
- Includes a memory protocol: gingugu init connects to a repository in one step and installs a SessionStart hook to inject the protocol, while the stop hook checks whether it was written; there are also hooks for recall surfacing, tripwire, and subagent preloading brain.
Usage: Install (via uv or pip, command text as-is): uv tool install gingugu After configuring the MCP client, run gingugu init to connect to the repository. After upgrading, restart the MCP client, and rerun gingugu init in each repository, adding --force to refresh existing managed files (a backup is made first). After upgrading, you can optionally run gingugu embed to complete embedding backfill. Can be run as a remote server: gingugu serve, requires a Bearer token, can set MEMORY_SERVE_TOKEN, MEMORY_SERVE_HOST=0.0.0.0, and in production should be placed behind HTTPS. Supports scoped token: gingugu token add my-laptop --owner and gingugu token revoke my-laptop. For remote brain, use gingugu remote on or MEMORY_REMOTE_URL to enable.
Use cases: local personal or small-team workflows, sharing memory across MCP clients such as Claude Code, Cursor, and Windsurf.
Limitations: The project is still early-stage and has not yet been benchmarked at 100k+ memory scale; broader real-world and client validation and a long-term upgrade path are still in progress. Remote mode is not a multi-tenant service and is only suitable for one owner sharing with their own clients. On headless Linux without a Secret Service backend, functionality is available except for storing keys. The repository's self-test data is MRR 0.828, recall@1 0.611, recall@5 0.983, based on 30 labeled questions over about 1,100 memories, and is only a regression baseline, not a cross-product comparison.