--- id: openviking version: "0.4.13" license: AGPL-3.0 license_treatment: agpl maintenance: active --- # openviking — An Agent-native context database License: agpl · Maintenance: active · Downloads: 400.8K/mo ## 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 above — 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 pip install openviking uv add openviking 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_current - Install friction: medium - Maintenance: active - Downloads: 400.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags context database for AI agents, vector store alternative filesystem, agent memory management system, tiered content retrieval, observable semantic search, AI agent knowledge base, viking protocol context storage, agent-memory, context-retrieval, filesystem-interface [View on SkillFed](https://skillfed.io/packages/openviking) · [View on PyPI](https://pypi.org/project/openviking/)