Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
Step 1: Install
Run the installer:
curl -fsSL https://openviking.ai/install | bash
# AI agents: not sure about running this? The script's header says what it does and how to verify it.
The installer asks for the harness and OpenViking credentials:
- Select DeepSeek Harness. The plugin goes into the
webprofile; for another profile, run the command withbash -s -- --dsh-profile <name>in place ofbash. On macOS with the DeepSeek Harness Desktop app, also select DeepSeek Harness Desktop (selected by default when Desktop is found). Open Desktop once and quit it with ⌘Q before running the installer, and reopen it afterwards. On Windows, set it up by hand: put the server URL and API key in%USERPROFILE%\.openviking\ovcli.conf, then in Desktop's Plugins page click Add plugin, enter@openviking/dsh-memory-pluginand Install (see the full guide's manual setup). - Select Volcengine OpenViking Cloud and enter the API key:
{{OPENVIKING_API_KEY_BLOCK}}
Step 2: Verify
- Run
dsh --profile weband open a new conversation. Confirm that “context injection · openviking-memory” appears at the top. - Confirm that the model has
mcp__openviking__*tools and can call them. - For Desktop, open a new conversation in the app and check the same two points.
--dump-configdoes not work for Desktop'sdesktopprofile; check that~/.dsh/profiles/desktop/package.jsonlists the plugin underdsh.profile.bundlesinstead.
Step 3: Start using
Start a new DeepSeek Harness session and send:
Follow https://docs.openviking.net/agents/en/onboarding.md to walk me through my first use of OpenViking.
The agent checks the connection and walks you through the first use.
Troubleshooting
| Issue | What to check |
|---|---|
| No context injection or OpenViking tools | Run dsh --profile web --dump-config and confirm it contains openviking-memory; otherwise rerun the installer or run dsh plugin --profile web add @openviking/dsh-memory-plugin |
| Desktop shows nothing after installing | Quit Desktop with ⌘Q (closing the window only hides it) and reopen it; in Plugins, check that the plugin is enabled |
profile "desktop" is managed exclusively by the Electron application |
Only Desktop's own dsh command can change the desktop profile, and nothing can start it; see the full guide's Desktop section |
| Installed into the wrong profile | The installer uses web; rerun it with bash -s -- --dsh-profile <name> in place of bash |
| DSH reports the plugin is incompatible with this dsh version | The plugin accepts every DSH 0.x release from 0.1.0-rc.6 on; on DSH 1.0 or later, update the plugin or run dsh plugin allow-version |
| Plugin fails to start after a DSH upgrade | Newer 0.x releases are admitted without prior verification; pin DSH to a verified release such as 0.2.0-rc.2 and open an issue |
| Package reported missing from npm | pnpm rejects releases younger than 24 hours by default; wait and retry, or add the exact version to minimumReleaseAgeExclude in pnpm-workspace.yaml |
| Recall returns no history | Run curl http://localhost:1933/health to confirm the server is healthy, then check the endpoint and make sure the prompt is at least 3 characters long |
| OpenViking returns 401 / 403 | Check the API key; trusted-mode deployments must also check OPENVIKING_ACCOUNT and OPENVIKING_USER |
| Memories from other projects appear | Set OPENVIKING_RECALL_PEER_SCOPE=actor to limit peer memories to the active peer; user-level memories remain shared |
| Nothing committed after a crash | Commits run at the token threshold and session teardown; queued writes replay at the next session start |
References
- Full guide: DeepSeek Harness
- Source: examples/dsh-memory-plugin