OpenViking

Active
GitHub Python AGPL-3.0

Description

OpenViking is an open-source context database from Volcengine that unifies management of agent memory, resources, and skills through a filesystem paradigm, enabling hierarchical context delivery and self-evolution.

Key Features

  • Filesystem paradigm management — organize agent memory, resources, and skills in a filesystem structure, eliminating fragmented storage
  • L0/L1/L2 three-tier context loading — on-demand hierarchical context loading to significantly reduce token consumption and costs
  • Directory recursive retrieval — combines directory positioning with semantic search for recursive and precise context acquisition
  • Visualized retrieval trajectory — supports directory retrieval path visualization to help debug and optimize retrieval logic
  • Automatic session management — auto-compresses conversation content, resource references, and tool calls to extract long-term memory
  • Multi-VLM provider support — supports Volcengine Doubao, OpenAI, Kimi, GLM and other vision-language models

Use Cases

💡 Agent long-term memory management: provide cross-session persistent memory storage and retrieval for agents
💡 Multi-agent collaborative knowledge sharing: multiple agents share the same context database for collaboration
💡 Enterprise knowledge base construction: unify scattered documents, code, and resources into agent-usable context
💡 RAG system optimization: replace traditional vector databases with more efficient context retrieval and management
💡 Agent development debugging: locate context management issues through visualized retrieval trajectories

Quick Start

```bash
pip install openviking --upgrade --force-reinstall
openviking-server init
openviking-server start
```

Related Projects