volcengine/OpenViking
A directory-scoped RAG database for inspectable agent knowledge and memory
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
OpenViking organizes resources, user memories, and skills in a viking:// virtual filesystem. Imported resources can be tracked as tasks, then browsed by URI or retrieved semantically. TrieHI resolves directory scope before vector ranking, so a project or memory subtree defines the search space. find executes a direct query; search plans retrieval from session context. Agents can inspect L0 abstracts and L1 overviews before opening full L2 content.
The server package targets Python 3.10+, with build requirements that include setuptools, CMake, and maturin. The Rust workspace contains ov_cli, ragfs, and ragfs-python. Applications can connect through HTTP or the Python, Go, and TypeScript SDKs; existing agents can use MCP or supported plugins. On the write side, a session commit archives the conversation and extracts Markdown memories that users can inspect, edit, and merge.
Key Capabilities & Differentiators
The ov CLI supports resource import, task-status checks, browsing with ls and tree, and text search with grep; semantic results point back to inspectable URIs. With VikingBot enabled, ov compile can turn source material into a wiki, knowledge graph, or report. The setup wizard supports Volcengine, OpenAI, Codex OAuth, Kimi, GLM, and local Ollama. A self-hosted setup needs an embedding model and a vision-language model (VLM).
In the OpenViking 0.3.22 LoCoMo evaluation using Doubao 2.0 Pro and Doubao-embedding-vision-251215, three agent integrations reached 80–83% accuracy versus 24–57% with their native memory. Input tokens fell by 34.3–91.0% and query latency by 58.45–66.10% in those runs. On tau2-bench, experience memory raised task success by 6.87 percentage points in retail and 11.87 in airline versus the same LLM without memory. These results are tied to the evaluated models and workloads, not general deployment targets.
Trade-offs & Limitations
A flat vector store is simpler when the application already owns document ingestion and needs only metadata-filtered top-k retrieval. OpenViking earns its extra complexity when teams want project boundaries, readable source paths, and memory retention in the same system. Directory scoping makes retrieval easier to control, but a scope that is too narrow can miss relevant evidence. Summarizing content and extracting memories add work at write time, and background processing means newly captured memories are not immediately available.
Budget for embeddings and VLM calls as well as storage and indexing. Hosted models shift inference off the server but introduce provider latency, usage costs, and a data boundary to review. Local inference shifts that burden to your own hardware. The Python package is classified as Alpha, and the AGPL-3.0 license warrants review if you operate a modified version over a network. Distributed deployment and official support are differentiators of the licensed self-managed edition, not capabilities to assume from the open-source Compose setup.
Hardware & Deployment Guide
For a package-based setup, use uv and Python 3.10+, install with uv tool install openviking --upgrade, and run openviking-server init. The wizard writes ~/.openviking/ov.conf; the server runs in the foreground. Docker Compose is the packaged alternative. The official image bundles VikingBot and starts it alongside the server and console UI. Compose recommends Caddy on port 1934 as the single entry point and uses OPENVIKING_PUBLIC_BASE_URL to configure public HTTPS access. Configure authentication before exposing the server beyond localhost and use user keys for memory integrations.
A self-hosted server can still call hosted models; local Ollama is an option when model inference must stay on-site. For a fully offline deployment, also validate access to installation artifacts and the resource sources you intend to ingest. Volcengine and BytePlus provide managed endpoints if you do not want to operate the server. Recent releases are tracked separately by component: python-sdk@0.1.22, react@0.3.0 with console activation customization, and the openviking-superagent@0.5.7-preview preview.
viking:// gives knowledge, memory, and skills addressable paths for browsing and retrieval.ov CLI, HTTP, and Python, Go, and TypeScript SDKs support distinct client workflows.Agent platforms and coding-assistant deployments that need project-scoped RAG, inspectable cross-session memory, and a shared namespace for knowledge and skills.
You only need top-k chunk retrieval, require newly captured memory to be searchable immediately, or need distributed deployment without adopting the licensed self-managed edition.
Quick Start & Installation
uv tool install openviking --upgrade && openviking-server init
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| OpenViking ★ | 43.2k | +255 | Python | AGPL-3.0 | A directory-scoped RAG database for inspectable agent knowledge and memory |
| Memori | 17.9k | +337 | Python | — | An SDK-based agent memory layer for persistent state across sessions. |
| mem0 | 70k | +498 | Python | Apache-2.0 | A vector-backed memory layer for AI agents that need to recall past conversation |
| EverOS | 14k | +41 | Python | Apache-2.0 | Local Markdown and indexes give AI agents portable long-term memory |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/volcengine/OpenViking.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about OpenViking
How should an application integrate retrieval and cross-session memory?
find runs a direct query, while search uses session context to plan retrieval. Commit sessions that should contribute to long-term memory, and allow for background processing before testing recall.Does self-hosting require a GPU, and how should I size it?
Can we self-host it for a commercial product?
When is OpenViking a better fit than a flat vector store?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy