OpenViking
/install openviking
OpenViking - Context Database for AI Agents
OpenViking is ByteDance's open-source Context Database designed for AI Agents — a next-generation RAG system that replaces flat vector storage with a filesystem paradigm for managing memories, resources, and skills.
Key Features:
- Filesystem paradigm: Organize context like files with URIs (
viking://resources/...) - Tiered context (L0/L1/L2): Abstract → Overview → Full content, loaded on demand
- Directory recursive retrieval: Better accuracy than flat vector search
- MCP server included: Full RAG pipeline via Model Context Protocol
Quick Check: Is It Set Up?
test -f ~/code/openviking/examples/mcp-query/ov.conf && echo "Ready" || echo "Needs setup"
curl -s http://localhost:2033/mcp && echo "Running" || echo "Not running"
If Not Set Up → Initialize
Run the init script (one-time):
bash ~/.openclaw/skills/openviking-mcp/scripts/init.sh
This will:
- Clone OpenViking from
https://github.com/volcengine/OpenViking - Install dependencies with
uv sync - Create
ov.conftemplate - Pause for you to add API keys (embedding.dense.api_key, vlm.api_key)
Required: Volcengine/Ark API Keys
| Config Key | Purpose |
|---|---|
embedding.dense.api_key |
Semantic search embeddings |
vlm.api_key |
LLM for answer generation |
Get keys from: https://console.volcengine.com/ark
Start the Server
cd ~/code/openviking/examples/mcp-query
uv run server.py
Options:
--port 2033- Listen port--host 127.0.0.1- Bind address--data ./data- Data directory
Server will be at: http://127.0.0.1:2033/mcp
Connect to Claude
claude mcp add --transport http openviking http://localhost:2033/mcp
Or add to ~/.mcp.json:
{
"mcpServers": {
"openviking": {
"type": "http",
"url": "http://localhost:2033/mcp"
}
}
}
Tools Available
| Tool | Description |
|---|---|
query |
Full RAG pipeline — search + LLM answer |
search |
Semantic search only, returns docs |
add_resource |
Add files, directories, or URLs |
Example Usage
Once connected via MCP:
"Query: What is OpenViking?"
"Search: machine learning papers"
"Add https://example.com/article to knowledge base"
"Add ~/documents/report.pdf"
Troubleshooting
| Issue | Fix |
|---|---|
| Port in use | uv run server.py --port 2034 |
| Auth errors | Check API keys in ov.conf |
| Server not found | Ensure it's running: curl localhost:2033/mcp |
Files
ov.conf- Configuration (API keys, models)data/- Vector database storageserver.py- MCP server implementation
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openviking - 安装完成后,直接呼叫该 Skill 的名称或使用
/openviking触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
OpenViking 是什么?
RAG and semantic search via OpenViking Context Database MCP server. Query documents, search knowledge base, add files/URLs to vector memory. Use for document Q&A, knowledge management, AI agent memory, file search, semantic retrieval. Triggers on "openviking", "search documents", "semantic search", "knowledge base", "vector database", "RAG", "query pdf", "document query", "add resource". 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4941 次。
如何安装 OpenViking?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openviking」即可一键安装,无需额外配置。
OpenViking 是免费的吗?
是的,OpenViking 完全免费(开源免费),可自由下载、安装和使用。
OpenViking 支持哪些平台?
OpenViking 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenViking?
由 Zayn Jarvis(@zaynjarvis)开发并维护,当前版本 v1.0.3。