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 in your terminal:
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 will ask which harnesses to install for (select Kimi Code) and for OpenViking credentials. In the OpenViking credential step, choose VolcEngine OpenViking Cloud Service [api.vikingdb.cn-beijing.volces.com] and enter the API KEY:
{{OPENVIKING_API_KEY}}
Step 2: Verify
- Run
/reloadin Kimi Code, or start a new session. - Confirm
~/.kimi-code/plugins/installed.jsoncontains theopenviking-memoryentry. - In a new session, ask about something you mentioned earlier to confirm recall.
Step 3: Start using
Start a new Kimi Code 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.
Troubleshoot
| Problem | Fix |
|---|---|
| Plugin is not loaded | Check that ~/.kimi-code/plugins/managed/openviking-memory/ exists; if not, re-run Install, then run /reload |
| Wrong server / 401 | Check ~/.openviking/ovcli.conf and the API key |
| Need logs | OPENVIKING_DEBUG=1 and ~/.openviking/logs/kimicode-hooks.log |
| Remove only this plugin | curl -fsSL https://openviking.ai/install | bash -s -- --uninstall --yes --harness kimicode |
Reference
- Docs on Manual Settings: Kimi Code
- Code: examples/agent-hook-plugin