selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

OpenViking logo

Self-host OpenViking

react@0.1.11

Context filesystem for AI agent memory, RAG and skills

ReleaseOpen CoreAGPL-3.0
docker run -d --name openviking -p 1933:1933 -v ~/.openviking:/app/.openviking --restart unless-stopped ghcr.io/volcengine/openviking:latest
Updated10 hours ago
LanguagePython
Setup difficultyModerate
Stars
42 208
Port
1933 (OpenViking HTTP API service, also serving the Web Studio UI at /studio)
Docker
ghcr.io/volcengine/openviking

What is OpenViking?

OpenViking alternatives

Should you self-host OpenViking?

OpenViking scores 82/100 on selfhost.directory (how scoring works) and ranks #10 of 209 in AI Agents. It has 42 208 GitHub stars, +2 592 in the last 30 days.

It shipped 66 stable releases in the past year. The latest, react@0.1.11, came out on 13 November 2026. New versions land roughly every 1 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Orca (91/100, 124 444 stars). It scores higher overall, so compare the two before you pick. See OpenViking vs Orca side by side.

Features

  • Agent memory extraction
  • Browsable context filesystem
  • CLI
  • Coding-agent memory plugin
  • Context compilation
  • Desktop AppBeta, macOS and Windows x64.
  • Directory-scoped semantic search
  • HTTP API & SDKs
  • Layered context summaries
  • MCP Server
  • Metrics & Observability
  • Multi-tenant accounts & ACLs
  • Session Management
  • VikingBot agent framework
  • Web UI (Studio)

OpenViking README

OpenViking
The Context Database for AI Agents

English / 中文 / 日本語

Website · Live Demo · GitHub · Issues · Docs · Blog

release stars issues contributors license last commit

Deploy on Railway

Lark Lark · WeChat WeChat · Discord Discord · X X

volcengine%2FOpenViking | Trendshift


What is OpenViking

OpenViking is an open-source context database for AI agents — one filesystem for everything an agent knows: knowledge, memory, and skills.

Most agent memory is a black box: text goes in, embeddings come out, and nobody can see what was actually stored. OpenViking organizes context as a virtual filesystem under viking:// instead. Agents navigate it like files — ls, tree, read, write, grep — and you can open any directory to inspect and edit what your agent knows. Every directory carries a generated summary, so agents can scan summaries first and decide what to read.

How to install OpenViking

Install OpenViking with Docker

Environment variables
OPENVIKING_CONF_CONTENT, OPENVIKING_ROOT_API_KEY, OPENVIKING_WITH_BOT
docker run -d \
  --name openviking \
  -p 1933:1933 \
  -v ~/.openviking:/app/.openviking \
  --restart unless-stopped \
  ghcr.io/volcengine/openviking:latest

The image starts the HTTP service on port 1933 (bound to 0.0.0.0, serving Web Studio at /studio) plus the vikingbot gateway; set root_api_key in ov.conf. If ghcr.io is hard to reach, use the volces.com registry mirror.

How to configure OpenViking

  • storage.workspace./dataWorkspace directory for local storage (RAGFS + embedded vector DB)
  • OPENVIKING_CONFIG_FILE~/.openviking/ov.confPath to the server config file (ov.conf); default location is ~/.openviking/ov.conf
  • OPENVIKING_CLI_CONFIG_FILEPath to the CLI config file (ovcli.conf)
  • OPENVIKING_CONF_CONTENTFull JSON server config injected on first container start when ov.conf does not yet exist
  • OPENVIKING_ROOT_API_KEYRoot admin API key (auto-generated in the Railway template)

OpenViking releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How do I add resources?

Call client.add_resource() with a local path or web URL, optionally a parent directory and a reason used for summaries, then wait for processing with client.wait_processed().

What file formats are supported?

Text (.txt, .md, .json, .yaml), code (.py, .js, .ts, .go, .java, .cpp, etc.), documents (.pdf, .docx), images (.png, .jpg, .jpeg, .gif, .webp), video (.mp4, .mov, .avi) and audio (.mp3, .wav, .m4a).

How do I initialize the client?

Instantiate SyncHTTPClient with the server URL and an API key; embedding, VLM and storage configuration is managed server-side through ov.conf, not the client.

What Embedding providers are supported?

Volcengine (recommended), OpenAI, VikingDB, Jina and Ollama (local, no API key required), with Dense, Sparse and Hybrid embedding modes supported.

How do I configure OpenViking?

Create ~/.openviking/ov.conf with your model providers and credentials; it is loaded automatically, or point elsewhere with OPENVIKING_CONFIG_FILE or --config.

How do I install/upgrade OpenViking?

Run: pip install openviking --upgrade --force-reinstall.

What should I do if I encounter "AGFS binding library not found"?

The RAGFS shared library is missing or unloadable; check that a prebuilt wheel exists for your Python version and platform and reinstall, building from source only if no wheel is available.

How does OpenViking access the AGFS filesystem?

Through an in-process Rust binding (ragfs_python / RAGFSBindingClient); the older AGFS HTTP client mode is no longer supported, though the server HTTP API and ov CLI are unaffected.

What are the environment requirements?

Python 3.10 or higher, an embedding model (Volcengine Doubao recommended) as a required dependency, optional VLM and rerank models, and Rust/Cargo plus GCC 9+ or Clang 11+ only when building from source.

What is Viking URI? What's its purpose?

It is the unified resource identifier format viking://{scope}/{path}, addressing resources, per-user memories, skills, peer scopes and optional account-wide agent skills in one tree.

What is the L0/L1/L2 layered model? Why is it needed?

L0 is a short directory abstract (~256 chars) for filtering, L1 an overview (~4,000 chars) for navigation and reranking, L2 the original content read only on demand — this lets agents locate material before loading full text.

What's the fundamental difference between OpenViking and traditional vector databases?

A vector DB mainly stores vectors for similarity search; OpenViking adds context directories, layered summaries, resource ingestion, sessions and memory management. If you only need similarity queries, your existing database may suffice.

What is OpenViking? What problems does it solve?

It organizes an agent's resources, memories and skills as files that apps can browse by path, search semantically and read on demand, targeting fragmented context, weak retrieval, opaque retrieval and limited memory iteration across sessions.

More in AI Agents

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…