Loading...
Loading...
OpenViking long-term memory plugin guide. Once installed, the plugin automatically remembers important facts from conversations and recalls relevant context before responding.
npx skill4agent add volcengine/openviking openviking-memorysemantickeyword| Parameter | Required | Description |
|---|---|---|
| Yes | Search query text |
| No | Maximum number of results (defaults to plugin config) |
| No | Minimum relevance score 0-1 (defaults to plugin config) |
| No | Search scope URI (defaults to plugin config) |
| Parameter | Required | Description |
|---|---|---|
| Yes | Information text to store |
| No | Session role (default |
| No | Existing OpenViking session ID |
| Parameter | Required | Description |
|---|---|---|
| No | Exact memory URI (direct delete) |
| No | Search query (find then delete) |
| No | Search scope URI |
| No | Search limit (default 5) |
| No | Minimum relevance score |
| Field | Default | Description |
|---|---|---|
| | |
| | OpenViking server URL (remote mode) |
| — | OpenViking API Key (optional) |
| | Identifies this agent (auto-generated, persisted to |
| | Config file path (local mode) |
| | Local server port (local mode) |
| | Default search scope |
| | Automatically capture memories |
| | Capture mode: |
| | Maximum text length per capture |
| | Automatically recall and inject context |
| | Maximum memories injected during auto-recall |
| | Minimum relevance score for recall |
| | Add reply guidance when detecting multi-party conversation text |
# Start (local mode: source env first)
source ~/.openclaw/openviking.env && openclaw gateway
# Start (remote mode: no env needed)
openclaw gateway
# Check status
openclaw status
# Disable memory
openclaw config set plugins.slots.memory none
# Enable memory
openclaw config set plugins.slots.memory memory-openviking--workdir# Install script
curl -fsSL ... | bash -s -- --workdir ~/.openclaw-openclaw-second
# Setup helper
npx ./examples/openclaw-memory-plugin/setup-helper --workdir ~/.openclaw-openclaw-second
# Manual config (prefix openclaw commands)
OPENCLAW_STATE_DIR=~/.openclaw-openclaw-second openclaw config set ...| Symptom | Cause | Fix |
|---|---|---|
| Wrong API Key or model name | Check |
| Port used by another process | Change port: |
| Plugin not loaded | Env file not sourced or slot not configured | Check |
| Inaccurate recall | recallScoreThreshold too low | Increase threshold or adjust recallLimit |