Repository navigation
OpenViking Memory Hooks — persistent memory across Gemini CLI sessions #27233
benediktkraus
started this conversation in
Show and tell
Replies: 1 comment
|
Hey there. Thanks for sharing this. Memory management is a huge focus for us right now. We are actively looking at ways to improve persistent context across sessions. Keep us updated on your progress or any hurdles you face. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Built a hook system that gives Gemini CLI persistent long-term memory via OpenViking.
What it does: Every prompt gets enriched with relevant memories from previous sessions. Every session captures decisions, preferences, and context. Works across Gemini CLI, Claude Code, Codex, and OpenClaw — same memory pool.
Recall pipeline: Hybrid search (semantic + grep + RRF merge) → 5-scope system (CWD-based) → 7-dimension ranking → MMR diversity filter → temporal decay → caveman compaction → citations
Capture pipeline: Substance filter → pre-processing (strip code/tags) → content merge (>0.85 appends instead of duplicating) → auto-link (project + tool + incident relations)
Gemini-specific: Installs as an extension with BeforeAgent + AfterAgent + PreCompress hooks.
git clone https://github.com/benediktkraus/openviking-hooks.git cd openviking-hooks ./install.sh geminiFork of Castor6/openviking-plugins with hybrid search, scoping, ranking, retry, remote mode added.
Repo: https://github.com/benediktkraus/openviking-hooks
All reactions