{"full_name":"volcengine/OpenViking","owner":"volcengine","name":"OpenViking","shard":"1","url":"https://github.com/volcengine/OpenViking","description":"Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.","homepage":"https://openviking.ai","topics":["context-database","agentic-rag","agent-memory","self-evolving","agent-plugins","dsh-plugin","agent-context","memory-management","knowledge-base","memory","vector-database"],"tag_pages":["agent-memory","agentic-rag","dsh-plugin","knowledge-base","memory","memory-management","vector-database"],"language":"Python","license":"AGPL-3.0","avatar":"https://avatars.githubusercontent.com/u/67365215?v=4","created_at":"2026-01-05T07:11:17Z","pushed_at":"2026-11-15T17:57:48Z","metrics":{"stars":42264,"forks":3493,"watchers":111,"issues":1808,"prs":5771,"releases":118,"issues_open":520,"issues_closed":1288,"prs_open":977,"prs_closed":1222,"prs_merged":3572,"discussions":111},"growth":{"day":{"stars":31,"forks":8,"base_day":"2026-11-15"},"week":{"stars":420,"forks":73,"base_day":"2026-11-09"}},"history":{"dates":["2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-09","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[40654,40681,40744,40888,40960,41055,41138,41196,41381,41452,41844,41910,42008,42066,42103,42221,42233,42264],"forks":[3283,3290,3298,3314,3319,3328,3336,3343,3362,3376,3420,3429,3449,3461,3468,3480,3485,3493],"watchers":[113,113,108,108,108,110,109,110,111,110,109,109,109,110,110,109,110,111],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,479,482,485,498,515,520],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,926,932,935,955,968,977]},"boards":{},"same_owner":[{"full_name":"volcengine/MineContext","name":"MineContext","shard":"1","boards":{}}],"issues":[{"number":4043,"title":"[Bug]: preferences 按 LLM 推断的 user 字段分裂成多个用户名子目录","comments":10,"created_at":"2026-08-16T20:32:36Z"},{"number":3508,"title":"[Bug]: memory extraction fails with llama.cpp when LLM returns list instead of dict (adds always empty)","comments":10,"created_at":"2026-07-24T12:32:23Z"},{"number":6262,"title":"[Feature]: Use-based lifecycle for Experiences and Session Skills (count recall exposure, archive what never gets used)","comments":9,"created_at":"2026-10-19T03:27:14Z"},{"number":5038,"title":"[Question]: Performance bottlenecks in Agent execution & file processing + Questions on Bulk URL uploads & PDF page tracking","comments":9,"created_at":"2026-09-15T03:19:08Z"},{"number":4612,"title":"[Bug]: v0.4.17.1 L0 directory abstracts not generated — Lock error wrapping + missing parent rollup","comments":8,"created_at":"2026-09-02T15:38:58Z"},{"number":5841,"title":"[Bug]: /mcp answers unknown methods (including the 2026-07-28 server/discover probe) with -32602, so modern MCP clients re-probe 17× before falling back","comments":7,"created_at":"2026-10-09T17:11:23Z"},{"number":5828,"title":"[Bug]: entities category guidance is language-branched and freely invented, splitting one topic into multiple category directories","comments":7,"created_at":"2026-10-09T11:10:45Z"},{"number":5894,"title":"Memory extraction fails with `parse_error` on large sessions — no size-based auto-chunking; chunking the same content succeeds 100%","comments":6,"created_at":"2026-10-11T00:56:49Z"}],"discussions":[{"number":7700,"title":"RFC：OVSA 控制台 API 与选配功能（OVSA-CONSOLE-001）","comments":0,"category":"RFC","created_at":"2026-11-14T15:45:28Z"},{"number":7691,"title":"A curious visitor hoping to meet the Agent Hub residents","comments":0,"category":"Q&A","created_at":"2026-11-14T14:13:26Z"},{"number":7428,"title":"Proposal: Weekly Stable Releases with Major Bug-Fix Exceptions | 建议：每周发布稳定版（重大 Bug 修复除外）","comments":0,"category":"RFC","created_at":"2026-11-11T05:27:13Z"},{"number":7335,"title":"RFC：Agent 密钥“可用不可见”：Gateway 封存 + 插件在执行边界代入","comments":1,"category":"RFC","created_at":"2026-11-10T06:20:27Z"},{"number":7215,"title":"实测：给记忆系统降推理档，账本上通常不省钱（24h 观测 + 三臂对照）","comments":1,"category":"Show and tell","created_at":"2026-11-08T01:23:26Z"},{"number":7213,"title":"RFC：新增 `ov privacy run`，让 agent 默认不把密钥带进上下文","comments":4,"category":"RFC","created_at":"2026-11-07T18:32:35Z"},{"number":7098,"title":"[RFC] An explicit evidence contract for text, image hits and Ragas evaluation","comments":0,"category":"RFC","created_at":"2026-11-05T10:48:59Z"},{"number":6967,"title":"OV Web Clipper: a local-first Chrome extension for clipping webpages directly into OpenViking","comments":0,"category":"Show and tell","created_at":"2026-11-03T12:05:23Z"}],"latest_release":{"name":"v0.5.5","tag":"v0.5.5","published_at":"2026-11-13T13:13:11Z","body":"## 中文\n\n### 主要更新\n\n- **PostgreSQL 部署选项**：新增 pgvector 向量后端（`storage.vectordb.backend: \"pgvector\"`，支持精确检索和 HNSW 检索，需要安装 `openviking[pgvector]`）和 PostgreSQL PathLock（`storage.agfs.pathlock.provider: \"postgres\"`）。多进程、多主机部署不依赖 Redis，也可以共享向量数据和路径锁租约。[#7516](https://github.com/volcengine/OpenViking/pull/7516)、[#7481](https://github.com/volcengine/OpenViking/pull/7481)\n- **多节点协调**：新增 `storage.agfs.coordination`（`memory` / `sqlite` / `cache`），统一负责 Watch 选主和语义任务版本；只有已持久化的工作才会取代旧任务，按 key 的状态保留一天后过期。[#7466](https://github.com/volcengine/OpenViking/pull/7466)\n- **快照路径历史索引**：`snapshot/log?paths=...` 改用派生索引查找改动过指定路径的提交，默认为 SQLite，多实例部署可选 MySQL，设为 `none` 则保持原来的扫描方式。快照提交、文件内容和 API 响应都不变。[#7505](https://github.com/volcengine/OpenViking/pull/7505)\n- **Gateway Context Profile**：新增 `recall_peer_scope`（`all` / `actor`），可把召回限制在当前 peer；新增 `capture_memory_types`，限制 capture 抽取的记忆类型；capture 会话保留用户自己的记忆策略。[#7389](https://github.com/volcengine/OpenViking/pull/7389)、[#7367](https://github.com/volcengine/OpenViking/pull/7367)、[#7429](https://github.com/volcengine/OpenViking/pull/7429)\n- **使用次数统计与批量标签**：`set_tags` 的 `append` 模式支持 `k+=number` / `k-=number`（十进制加减，key 不存在时从 0 开始），可用于计数；新增 `POST /api/v1/content/batch_set_tags`，一次 1–50 个 URI，返回成功项 `items` 和失败项 `failed`，部分失败时仍返回 200。CLI（`ov attrs batch-set-tags`）和 Python、TypeScript、Go SDK 均已提供。[#7405](https://github.com/volcengine/OpenViking/pull/7405)\n- **静态 `soul.md` 与预置策略**：`memories/soul.md` 改为可编辑的静态 Agent 指令，VikingBot 每轮优先读取 OpenViking 中的 `soul.md`；开启 `server.user_config_defaults.preset_global_policy` 后，初始化用户时会创建内置的 `GLOBAL_POLICY.md`（默认关闭）。[#7328](https://github.com/volcengine/OpenViking/pull/7328)、[#7512](https://github.com/volcengine/OpenViking/pull/7512)\n- **导入与检索**：首次非严格导入允许部分成功（此前任一文件失败即整体失败）；支持 Wiki 托管的飞书文件和原生飞书幻灯片导入；远程 PathGlob 由 `storage.vectordb.enable_path_glob` 控制，未设置时沿用各适配器的默认值。[#7427](https://github.com/volcengine/OpenViking/pull/7427)、[#7153](https://github.com/volcengine/OpenViking/pull/7153)、[#7461](https://github.com/volcengine/OpenViking/pull/7461)\n\n### 发布版本\n\n主包 `openviking==0.5.5`、Python SDK `openviking-sdk==0.1.20`、独立 CLI `0.5.3`。`batch_set_tags` 和 `ov attrs batch-set-tags` 需要 0.5.5 服务端。\n\n```bash\npip install --upgrade 'openviking==0.5.5' 'openviking-sdk==0.1.20'\n```\n\n### 升级与迁移\n\n1. **Gateway 默认开放全部 OpenViking 工具（含写工具）**：Context Profile 的 `disabled_tools` 默认值改为空，默认开放全部工具，包括 `remember`、`write`、`edit`、`add_resource`、`add_skill`、`forget`、`set_acl`、`cancel_watch` 这 8 个会修改数据的工具（之前的版本默认关闭它们）；之后新增的工具也默认开放。已保存的 Profile 和进行中的会话不受影响；没有保存过 `default` Profile 的账户，以及 gateway 配置里未写 `disabled_tools` 的 `default_profile`，现在会得到全部工具。`PUT /admin/policies/{id}` 是全量替换：请求里省略 `disabled_tools` 会把已保存 Profile 的写工具全部打开。要保留原来的选择，请在 `default_profile.disabled_tools` 中显式列出这些工具，并在每次更新 Profile 时提交完整的 `disabled_tools`。[#7436](https://github.com/volcengine/OpenViking/pull/7436)\n2. **`X-OpenViking-Context` 只能收窄工具权限**：请求头里的 `disabled_tools` 会追加到 Profile 已排除的工具上，`gateway_tools` 也不能重新开启 Profile 关闭的工具。原来靠 `{\"disabled_tools\":[]}` 或 `{\"gateway_tools\":true}` 拿到额外工具的客户端，需要改为修改 Profile。[#7446](https://github.com/volcengine/OpenViking/pull/7446)\n3. **`soul` / `identity` 不再自动抽取**：这两种记忆类型已经下线，已持久化的策略和部署覆盖里即使写了也会被忽略；账户记忆模板接口只返回 4 个可编辑模板。已有的 `soul.md` 和 `identity.md` 保持原样；缺少 `soul.md` 的用户会在初始化时或下一次 self 记忆提交时，用默认内容创建。自动记忆更新不能修改 `soul.md` 和 `identity.md`，包含此类操作的整批更新会被拒绝。[#7328](https://github.com/volcengine/OpenViking/pull/7328)\n4. **Kafka 上报配置迁入 `ov.conf`（breaking 配置变更）**：Nacos 和外部 JSON 的读取已删除。`server.observability.reporting` 移除了 `config_file` 和 `nacos_*` 字段，`NACOS_CONFIG_FILE`、`NACOS_SERVER_ADDR` 等环境变量也不再读取；改为读取 `reporting.kafka`，并需要同时开启 `reporting.enabled` 和 `reporting.telemetry.enabled`。旧字段不会让启动失败，但不迁移就不会再上报。原来通过 Nacos 或外部 JSON 配置的部署，需要把 `kafka`、`telemetry` 两段迁入 `ov.conf` 后重启。部署归属可写在 `reporting.telemetry.deployment`，`OV_METRICS_ACCOUNT_ID`、`OV_RESOURCE_ID`、`OV_REGION` 仍作为回退值。[#7491](https://github.com/volcengine/OpenViking/pull/7491)\n5. **Skill 更新不再备份和回滚**：更新时直接替换旧包，失败或取消后文件、索引和隐私配置停在失败时的状态，不会恢复旧版本。`SKILL.md` 和 `.source.json` 会保留到被覆盖为止，可以直接","is_prerelease":false},"readme":true,"readme_zh":false,"news":[{"title":"Show HN: We Build Shareable Context Layer for Agent Teams","url":"https://github.com/volcengine/OpenViking","hn":"https://news.ycombinator.com/item?id=50410477","source":"Hacker News","lang":"en","date":"2026-11-08","points":2,"comments":1},{"title":"OpenViking 记忆插件共享库深度解析：工作区 Peer 身份、召回隔离与分层配置","url":"https://blog.csdn.net/gitblog_00662/article/details/164884238","source":"blog.csdn","lang":"zh","date":"2026-09-10"},{"title":"为 OpenClaw 安装 OpenViking 插件：长期记忆、知识库检索与 RAG 上下文完整接入指南","url":"https://blog.csdn.net/gitblog_00645/article/details/164885106","source":"blog.csdn","lang":"zh","date":"2026-09-10"},{"title":"OpenViking：Agent 的记忆、RAG 与 Skills 为什么要合成一层","url":"https://www.bilibili.com/zh-Hant/video/BV1BP846JEdW/","source":"bilibili","lang":"zh","date":"2026-08-23"},{"title":"GitHub 趨勢周報 Vol.29：代理記憶與程式碼圖譜補上長期脈絡，資安技能庫規模化","url":"https://cyberq.tw/2026/08/22/github-trends-weekly-report-vol-29/","source":"cyberq","lang":"zh","date":"2026-08-21"},{"title":"OpenViking 实战教程：搭建多仓库代码语义检索系统，赋能 AI 助手 & OpenClaw 记忆插件 2.0 升级","url":"https://www.51cto.com/article/839190.html","source":"51CTO","lang":"zh","date":"2026-03-27"},{"title":"给“龙虾”AI Agent装上记忆功能！字节开源了AI 上下文数据库：OpenViking","url":"https://news.qq.com/rain/a/20260314A01PSH00","source":"腾讯网","lang":"zh","date":"2026-03-13"},{"title":"重磅！OpenClaw+OpenViking 正式登陆鲲鹏，打造端到端AI Agent最佳实践","url":"https://www.csdn.net/article/2026-03-11/158930115","source":"csdn","lang":"zh","date":"2026-03-11"},{"title":"DeepSeek Harness不可错过的12款神器！还有崔添翼推荐的","url":"https://news.google.com/rss/articles/CBMi-gFBVV95cUxQTUN2enpSeTlFTDZadTdLc2l1NTJWRElIREY3eWlZN3VmZEVjTThQZEpxdDF6NjRFU21vc2dQenhLTC16bXVhdGUxT2N5WkM4TG5HNEh5SFprQXFvMEM5U3BqbjJ5ZTFZWlFDY3Y2QnRVWm0zM3RjSm1VWXZKcUpXNjc4aWpOWElNUUxITzFDanpzdkpkdkFLTW1fZ1AxZ1B6a0x2dEQzNERuZzVlUjJoQXdvRXBodlpPaWtEUGwxcV9ETThsYVlUTGdyT1VnWWVFVk1oODhJTG1JdHNFaEhVd2tNM0FhN2xjM3h1WkJLbEZSNWx2NmdaajFB?oc=5","source":"新浪新闻_手机新浪网","lang":"zh","date":"2026-10-21"},{"title":"10 GitHub Repositories for Modern Database Systems and Tools","url":"https://news.google.com/rss/articles/CBMijwFBVV95cUxQaS1SUlFrNHBHNVVFRWV1YUZmbWdoMFlLZ2dGM1JmUHdsUE90UlhUSkFXTWl6azVLekN6UlRGTEpWR2VMb0VoUFFrVmN5cUU5SHBXekdLeVdoUElNcUllR0tHYWROei1NT2ZEbGFXaTlDR01MWk9pYjgzVF9kVnc0R040djdrVjZIcFhLOVpqZw?oc=5","source":"KDnuggets","lang":"en","date":"2026-06-02"},{"title":"OpenViking x OpenClaw：开箱即用，解决 Agent 的长期记忆困局","url":"https://news.google.com/rss/articles/CBMiXkFVX3lxTE5tckdkUFdZY3U2clRQbmxXd25HYndzRlJILTdUZkF0WXhxY3N1N3BoRkNUSTE5emd5RFJoV3dkSzZ0VXEtTzBGR3B1czAySi00ZUEwd2c0WkRJZjRtd3c?oc=5","source":"InfoQ.cn","lang":"zh","date":"2026-03-17"},{"title":"OpenViking 深度解析：字节跳动如何用\"文件系统\"思维重新定义 AI Agent 的记忆","url":"https://news.google.com/rss/articles/CBMiekFVX3lxTE1HZnBqWFlZWWF2OGNGY1V5MzFtaUJ1SHlydUFTYnJkTWgyMURoX1pVZXJfRTZWWEM0ekhJb3NiTFl1WVpwNkZVdlNqZDVHelZfU3FidTBhMFJKOXJpRFFIajE0UEJhS1BjNGJETjFfek80dlQ1MndGZHhn?oc=5","source":"www.80aj.com","lang":"zh","date":"2026-02-20"},{"title":"OpenViking：面向 Agent 的上下文数据库","url":"https://news.google.com/rss/articles/CBMiXkFVX3lxTE9adHNKX0pzN0s5QmlidzZzemdvS3lnTmczYy1oYms0Ul93TFBfbzZIMEN0VXBSVExPa01oUWNVWFJORXNDTTFCcEJKeG9VOVZqV2pFV1JFb1poN2pZSnc?oc=5","source":"InfoQ.cn","lang":"zh","date":"2026-02-05"}],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}