skillfed

openviking

An Agent-native context database

openviking v0.4.13 400.8K downloads/30d#6,935 on PyPI28,446
AGPL license AGPL-3.0 Active released

What it is and what it does

OpenViking is an open-source context database designed for AI agents that replaces traditional vector stores with a filesystem-like interface. Instead of querying a black-box retrieval system, agents browse context using familiar commands (`ls`, `tree`, `find`, `grep`) on a `viking://` protocol namespace. Content is processed into three layers on write—L0 (abstract, ~100 tokens), L1 (overview, ~2k tokens), and L2 (full details)—and loaded on demand to reduce token spend and latency.

The package includes a server component, a CLI client, and integrations for popular AI agents. It supports ingesting resources from URLs, GitHub repos, and local files, then automatically extracts and commits session memory after agent interactions. Retrieval is observable: each query preserves its directory-browsing trajectory so you can debug why a result was retrieved. The fact sheet shows benchmarks reporting 80–83% accuracy on user memory tasks with 34.3–91.0% reduction in input tokens and 58.45–66.10% latency improvement.

Use it for:

  • Build AI agents with persistent, searchable memory that survives across sessions and reduces token consumption on long conversations.
  • Ingest and organize technical documentation, code repositories, and web content as agent-accessible context with semantic search.
  • Debug agent retrieval behavior by inspecting the directory-browsing trajectory that produced each result.
  • Integrate OpenViking recall into existing agent frameworks via provided plugins and integrations.
  • Extract and store agent experience and user preferences as long-term memory after multi-turn sessions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

OpenViking is a context database for AI agents that organizes memories, resources, and skills as a virtual filesystem under the `viking://` protocol, with tiered content loading (abstract, overview, details) and observable retrieval trajectories.

Yes, with conditions. OpenViking is actively maintained with recent releases and solves a real problem for AI agent developers—observable, token-efficient context retrieval. However, the AGPL-3.0 license requires copyleft compliance in derivative works, and the 58 runtime dependencies create medium install friction. Install if you are building agents that need persistent, debuggable memory and can accept the license terms; avoid if you need a permissive-licensed context store or want minimal dependencies.

Install

openviking on PyPI

pip

pip install openviking

uv

uv add openviking

poetry

poetry add openviking

Installing openviking

Before you install

Medium install friction due to 58 runtime dependencies including openai, fastapi, scrapy, and pdfplumber. Active maintenance with recent releases (8 days old) and strong community signal. Requires Python 3.10 or higher and includes a CLI setup wizard for provider configuration.

License in practice

Licensed under AGPL-3.0, which requires that any modifications or derivative works distributed must also be released under AGPL-3.0. This is a copyleft license; using this package in a proprietary application requires careful consideration of your distribution model.

Quickstart

pip install openviking
openviking-server init
openviking-server
# In another terminal:
ov add-resource https://github.com/example/repo
ov find "search query"

Requires Python 3.10 or higher. The `init` wizard requires interactive setup of an LLM provider (Volcengine, OpenAI, Ollama, etc.) and writes configuration to ~/.openviking/ov.conf before the server can start.

Verify before relying

  • Whether the 58 runtime dependencies can be selectively installed or if all are required for basic operation
  • Performance characteristics and absolute throughput of retrieval at scale
  • Whether AGPL-3.0 copyleft applies to agents using OpenViking as a service vs. bundled deployment

Package facts

License AGPL-3.0 (agpl)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 58 — openviking-sdk, pydantic, typing-extensions, pyyaml, httpx, pdfplumber, scrapy, trafilatura, feedparser, defusedxml, openai, requests, charset-normalizer, python-docx, olefile, xlrd, python-pptx, openpyxl, ebooklib, json-repair, apscheduler, volcengine, volcengine-python-sdk, fastapi, uvicorn, xxhash, jinja2, tabulate, urllib3, protobuf
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 400,754/month — #6,935 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: openviking-0.4.13-cp310-abi3-macosx_14_0_arm64.whl; openviking-0.4.13-cp310-abi3-macosx_15_0_x86_64.whl; openviking-0.4.13-cp310-abi3-manylinux_2_31_aarch64.whl; openviking-0.4.13-cp310-abi3-manylinux_2_31_x86_64.whl; openviking-0.4.13-cp310-abi3-win_amd64.whl

Development Status :: 3 - AlphaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence

Tags

context database for AI agentsvector store alternative filesystemagent memory management systemtiered content retrievalobservable semantic searchAI agent knowledge baseviking protocol context storage
agent-memorycontext-retrievalfilesystem-interface

More Artificial Intelligence packages

Further reading