openviking-memory▌
volcengine/openviking · updated Apr 8, 2026
Searches long-term memories in OpenViking, returns relevant results.
OpenViking Memory Guide
How It Works
- Auto-Capture: At
afterTurn(end of one user turn run), automatically extracts memories from user/assistant messagessemanticmode: captures all qualifying user text, relying on OpenViking's extraction pipeline to filterkeywordmode: only captures text matching trigger words (e.g. "remember", "preference", etc.)
- Auto-Recall: At
before_prompt_build, automatically searches for relevant memories and injects them into context
Available Tools
memory_recall — Search Memories
Searches long-term memories in OpenViking, returns relevant results.
| Parameter | Required | Description |
|---|---|---|
query |
Yes | Search query text |
limit |
No | Maximum number of results (defaults to plugin config) |
scoreThreshold |
No | Minimum relevance score 0-1 (defaults to plugin config) |
targetUri |
No | Search scope URI (defaults to plugin config) |
Example: User asks "What programming language did I say I like?"
memory_store — Manual Store
Writes text to an OpenViking session and runs memory extraction.
| Parameter | Required | Description |
|---|---|---|
text |
Yes | Information text to store |
role |
No | Session role (default user) |
sessionId |
No | Existing OpenViking session ID |
Example: User says "Remember my email is xxx@example.com"
memory_forget — Delete Memories
Delete by exact URI, or search and delete.
| Parameter | Required | Description |
|---|---|---|
uri |
No | Exact memory URI (direct delete) |
query |
No | Search query (find then delete) |
targetUri |
No | Search scope URI |
limit |
No | Search limit (default 5) |
scoreThreshold |
No | Minimum relevance score |
Example: User says "Forget my phone number"
Configuration
| Field | Default | Description |
|---|---|---|
mode |
remote |
local (start local server) or remote (connect to remote) |
baseUrl |
http://127.0.0.1:1933 |
OpenViking server URL (remote mode) |
apiKey |
— | OpenViking API Key (optional) |
agentId |
default |
Identifies this agent to OpenViking |
configPath |
~/.openviking/ov.conf |
Config file path (local mode) |
port |
1933 |
Local server port (local mode) |
targetUri |
viking://user/memories |
Default search scope |
autoCapture |
true |
Automatically capture memories |
captureMode |
semantic |
Capture mode: semantic / keyword |
captureMaxLength |
24000 |
Maximum text length per capture |
autoRecall |
true |
Automatically recall and inject context |
recallLimit |
6 |
Maximum memories injected during auto-recall |
recallScoreThreshold |
0.01 |
Minimum relevance score for recall |
ingestReplyAssist |
true |
Add reply guidance when detecting multi-party conversation text |
Daily Operations
# Start (local mode: source env first)
source ~/.openclaw/openviking.env && openclaw gateway
# Start (remote mode: no env needed)
openclaw gateway
# Check status
openclaw status
openclaw config get plugins.slots.contextEngine
# Disable memory
openclaw config set plugins.slots.contextEngine legacy
# Enable memory
openclaw config set plugins.slots.contextEngine openviking
Restart the gateway after changing the slot.
Multi-Instance Support
If you have multiple OpenClaw instances, use --workdir to target a specific one:
# Install script
curl -fsSL ... | bash -s -- --workdir ~/.openclaw-openclaw-second
# Setup helper
npx ./examples/openclaw-plugin/setup-helper --workdir ~/.openclaw-openclaw-second
# Manual config (prefix openclaw commands)
OPENCLAW_STATE_DIR=~/.openclaw-openclaw-second openclaw config set ...
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
extracted 0 memories |
Wrong API Key or model name | Check api_key and model in ov.conf |
port occupied |
Port used by another process | Change port: openclaw config set plugins.entries.openviking.config.port 1934 |
| Plugin not loaded | Env file not sourced or slot not configured | Check openclaw status output |
| Inaccurate recall | recallScoreThreshold too low | Increase threshold or adjust recallLimit |
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★68 reviews- ★★★★★Noor Nasser· Dec 16, 2024
We added openviking-memory from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Mateo Shah· Dec 16, 2024
openviking-memory is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Hassan Sanchez· Dec 12, 2024
I recommend openviking-memory for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Min Lopez· Dec 12, 2024
Solid pick for teams standardizing on skills: openviking-memory is focused, and the summary matches what you get after install.
- ★★★★★Min Zhang· Dec 12, 2024
openviking-memory reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Zaid Chen· Dec 8, 2024
openviking-memory reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Aditi Thomas· Dec 8, 2024
openviking-memory has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Aanya Choi· Nov 27, 2024
Solid pick for teams standardizing on skills: openviking-memory is focused, and the summary matches what you get after install.
- ★★★★★Aanya Thompson· Nov 7, 2024
openviking-memory fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Noor Desai· Nov 3, 2024
Useful defaults in openviking-memory — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 68