AI for Automation
Back to AI News
2026-03-19AI agentsopen sourceGitHubByteDanceAI memory

OpenViking gives AI agents organized memory — 16K GitHub stars

ByteDance open-sourced OpenViking, a context database that organizes everything an AI agent needs to remember. 16K stars, 9K gained this week.


One of the biggest problems with AI agents today is memory loss. They forget context mid-task, lose track of important details, and waste tokens (the units AI uses to process text) re-reading information they've already seen. OpenViking, open-sourced by ByteDance's Volcengine division, fixes this with a dedicated context database that organizes everything an AI agent needs to know. It just hit 15,700 GitHub stars with over 9,300 gained this week.

OpenViking banner

A Filing Cabinet for AI Brains

Think of how you organize files on your computer — folders for work, personal, projects, each with subfolders. OpenViking does the same thing for AI agent memory. Instead of dumping everything into one flat pile (which is how most AI tools handle context today), it creates a structured hierarchy:

Resources — Project documents, web pages, code repositories the agent needs to reference

User — Your personal preferences, interaction history, and working patterns

Agent — Skills the agent has learned, task-specific instructions, and memories from past conversations

Everything lives under a unified viking:// address system, so the agent can find exactly what it needs without scanning through irrelevant information.

Five Problems It Solves

Fragmented context — Instead of memories scattered across different tools and databases, everything lives in one organized place.

Token waste — A tiered loading system (L0/L1/L2) only pulls in information when the agent actually needs it, dramatically cutting costs.

Bad search results — Traditional flat storage misses connections between related information. OpenViking's directory-based approach understands that a file in /projects/website/ is related to other files in the same folder.

Black-box retrieval — You can actually see the path the agent took to find information, making it easy to debug when something goes wrong.

No learning from conversations — OpenViking automatically extracts useful context from your chat sessions and stores it for future reference.

Works With the AI Tools You Already Use

OpenViking supports major AI providers including OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, and local models through Ollama. It also offers embedding support (the technology that converts text into searchable numbers) via OpenAI, Volcengine, and Jina.

Try It

pip install openviking --upgrade
openviking-server --with-bot
ov chat

You can also use the CLI to manage context like a file system:

ov add-resource https://github.com/volcengine/OpenViking
ov ls viking://resources/
ov find "what is openviking"

The project is Apache 2.0 licensed (fully open-source, free for commercial use) with documentation at openviking.ai/docs. With 9,300 stars gained in one week, it's clear that the AI agent community has been hungry for better memory management.

Related ContentGet Started with Easy Claude Code | Free Learning Guides | More AI News

Stay updated on AI news

Simple explanations of the latest AI developments