volcengine /OpenViking
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 41,910⑂ 3,429👁 109⑃ 5,419● 1,681▤ 105◈ 107
TA的项目
41,910
stars
+66+529
3,429
forks
109
watchers
5,419
prs
1,681
issues
105
releases
107
discussions
README
The Context Database for AI Agents
English / 中文 / 日本語
Website · Live Demo · GitHub · Issues · Docs · Blog
Lark ·
WeChat ·
Discord ·
X
What is OpenViking
OpenViking is an open-source context database for AI agents — one filesystem for everything an agent knows: knowledge, memory, and skills.
Most agent memory is a black box: text goes in, embeddings come out, and nobody can see what was actually stored. OpenViking organizes context as a virtual filesystem under viking:// instead. Agents navigate it like files — ls, tree, read, write, grep — and you can open any directory to inspect and edit what your agent knows. Every directory carries a generated summary, so agents can scan summaries first and decide what to read.
Try OpenViking Studio in your browser, no installation required. Self-host Web Studio.
Why OpenViking
- One filesystem for knowledge, memory, and skills. Resources hold documents and code; memories retain user preferences and experience; skills define how to perform tasks — not just extracted facts, but the full context, each with a viking:// URI for browsing and retrieval. → Viking URI · Context types
- Search a directory, not the whole index. Scope semantic search to a project or memory subtree instead of scanning a flat vector pool. find runs a query directly; search plans retrieval from session context. → Retrieval
- Read the summary before the source. Generated directory abstracts (L0) and overviews (L1) let agents judge relevance before opening full content (L2). → Context layers
- Sessions become files you can read. Committing a session archives the conversation and extracts memories as Markdown you can inspect, edit, and merge. With VikingBot enabled, ov compile organizes source material into a wiki, knowledge graph, or report. → Sessions · Context compilation
Architecture · Design rationale
viking://
├── resources/ Resources: project docs, repos, web pages, etc.
│ └── my_project/
│ ├── docs/
│ │ ├── api/
│ │ └── tutorials/
│ └── src/
└── user/
└── {user_id}/
├── memories/
│ └── preferences/
│ ├── writing_style
│ └── coding_habits
├── resources/
│ └── private_project/
├── skills/
│ ├── search_code
│ └── analyze_data
└── peers/
└── web-visitor-alice/
The three loading tiers:
- L0 (Abstract): a one-sentence summary for quick relevance checks.
- L1 (Overview): core information and usage scenarios for planning.
- L2 (Details): the full original data, read only when needed.
Semantically processed directories carry L0/L1 summaries, so agents can judge relevance before reading full files:
viking://resources/my_project/
├── .abstract.md L0: quick relevance check
├── .overview.md L1: structure and key points
└── docs/
├── .abstract.md
├── .overviTop issues
#5038[Question]: Performance bottlenecks in Agent execution & file processing + Questions on Bulk URL uploads & PDF page tracking9 comments · 2026-09-15#4612[Bug]: v0.4.17.1 L0 directory abstracts not generated — Lock error wrapping + missing parent rollup9 comments · 2026-09-02#4043[Bug]: preferences 按 LLM 推断的 user 字段分裂成多个用户名子目录9 comments · 2026-08-16#3508[Bug]: memory extraction fails with llama.cpp when LLM returns list instead of dict (adds always empty)9 comments · 2026-07-24#6262[Feature]: Use-based lifecycle for Experiences and Session Skills (count recall exposure, archive what never gets used)8 comments · 2026-10-19#4555[Bug]: add-resource task 任务完成了,但 openviking 底层文件系统(对象存储)上没有相关文件8 comments · 2026-09-01#5841[Bug]: /mcp answers unknown methods (including the 2026-07-28 server/discover probe) with -32602, so modern MCP clients re-probe 17× before falling back7 comments · 2026-10-09#5828[Bug]: entities category guidance is language-branched and freely invented, splitting one topic into multiple category directories7 comments · 2026-10-09
Discussions
#7215实测:给记忆系统降推理档,账本上通常不省钱(24h 观测 + 三臂对照)1 comments · 2026-11-08#7213RFC:新增 `ov privacy run`,让 agent 默认不把密钥带进上下文1 comments · 2026-11-07#7098[RFC] An explicit evidence contract for text, image hits and Ragas evaluation0 comments · 2026-11-05#6967OV Web Clipper: a local-first Chrome extension for clipping webpages directly into OpenViking0 comments · 2026-11-03#6761请问,什么时候开源最近宣传 step 3d 模型格式的支持?0 comments · 2026-10-29#6317auth_mode=trusted模式下怎么配置才能正常compile?1 comments · 2026-10-20#6280从远程git仓库上传文件的时候,openviking不能上传图片0 comments · 2026-10-19#6277从远程git仓库上传文件的时候,openviking不能上传图片0 comments · 2026-10-19
Latest release
v0.5.3 v0.5.3 2026-11-02OpenViking v0.5.3 中文 OpenViking v0.5.3 在 v0.5.2.1 之上合入 98 个提交,重点是 Rules(Beta)、存储与路径锁可靠性、鉴权与账户管理、Gateway 多副本、Compile 加固和 Agent 插件改进。本版本包含少量管理接口与旧 Session 兼容的破坏性变更,升级前请阅读下方说明。配套发布 [email protected]。 重点更新 - Rules(Beta):新增 Rule 服务,并向 Agent 暴露 openviking_rule_search 工具,附中英文指南与 API 参考(6364、6613)。 - 存储与路径锁:新增事务型 SQLite path lock、按 scope 批量刷新 Redis 租约、拒绝跨 scope 的 Tree 锁与路径别名绕过、令牌丢失后撤销租约授权、Provider 迁移后恢复持久化交接;修复递归删除导致 PathLock 提前失效、中文路径旧锁交接恢复;新增可选 Redis 目录 TTL、多写 IOPS 优化(6679、6665、6685、6687、6704、6745、6631、6620、6392、6646)。 - 鉴权与账户:支持用户自助轮换 API Key;管理员列表只显示调用者自己的 user key;校验身份角色;支持角色降级与大小写不敏感输入;Gro
相关报道 (11)
blog.csdnOpenViking 记忆插件共享库深度解析:工作区 Peer 身份、召回隔离与分层配置2026-09-10blog.csdn为 OpenClaw 安装 OpenViking 插件:长期记忆、知识库检索与 RAG 上下文完整接入指南2026-09-10bilibiliOpenViking:Agent 的记忆、RAG 与 Skills 为什么要合成一层2026-08-23cyberqGitHub 趨勢周報 Vol.29:代理記憶與程式碼圖譜補上長期脈絡,資安技能庫規模化2026-08-2151CTOOpenViking 实战教程:搭建多仓库代码语义检索系统,赋能 AI 助手 & OpenClaw 记忆插件 2.0 升级2026-03-27腾讯网给“龙虾”AI Agent装上记忆功能!字节开源了AI 上下文数据库:OpenViking2026-03-13csdn重磅!OpenClaw+OpenViking 正式登陆鲲鹏,打造端到端AI Agent最佳实践2026-03-11新浪新闻_手机新浪网DeepSeek Harness不可错过的12款神器!还有崔添翼推荐的2026-10-21InfoQ.cnOpenViking x OpenClaw:开箱即用,解决 Agent 的长期记忆困局2026-03-17www.80aj.comOpenViking 深度解析:字节跳动如何用"文件系统"思维重新定义 AI Agent 的记忆2026-02-20