A Context Database for AI Agents -- Explained Like You're Five
agent37.club
Imagine you had a brilliant assistant, but every morning they forgot everything from yesterday.
Instead of throwing papers in a pile, OpenViking gives your AI agent a well-organized filing cabinet with labeled drawers and folders.
Every piece of context gets a unique address (URI), just like every file on your computer has a path. Agents browse context the same way you browse files: ls, find, tree.
You don't read an entire encyclopedia to answer a simple question. OpenViking works the same way.
A one-sentence summary. ~100 tokens.
"This is a Python web scraper for news sites."
Core info and usage scenarios. ~2,000 tokens.
Key functions, inputs, outputs, when to use it.
Complete original data. Loaded only when needed.
Every line of code, every page of docs.
LLMs charge by the token. Loading everything every time is like driving a semi truck to buy milk. L0/L1/L2 lets the agent grab only what it needs.
Traditional RAG is like searching a messy desk. OpenViking is like navigating a well-organized library.
# Like navigating a library: Library |-- Technology # floor |-- DevOps # section |-- K8s Guide # book |-- Ch.3 # page
After each conversation, OpenViking automatically extracts and saves what the agent learned.
Like a new employee who keeps a notebook. After each day, they write down what worked, what didn't, and tricks they discovered. Over time, they become an expert -- not by memorizing everything, but by remembering what matters.
Task completion rate:
Token cost (lower is better):
96% fewer tokens than RAG, while being 43% more accurate than baseline.
# Install pip install openviking # Start the server openviking-server # Add your project docs ov add-resource https://github.com/your/repo # Browse what got indexed ov tree viking://resources/your/repo -L 2 # Ask a question ov find "how does authentication work"
Works with OpenAI, Anthropic, DeepSeek, Ollama, and more via LiteLLM.
Organized context. Tiered loading. Self-growing memory.
github.com/volcengine/OpenViking
agent37.club