OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LZMW/dsh-memory
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
Persistent long-term memory for DeepSeek Harness (dsh) agents — a single Cordis plugin that gives every session save / search / summarize / curate over markdown-backed memories, auto-summary at context pressure, and session-start injection of your user profile.
memory tool with an action argument (save | search | list | delete | summarize | curate) keeps the tool-schema and system-prompt footprint minimal.id/tags/created/updated/scope frontmatter. Human-editable, git-friendly, no database.<projectRoot>/.dsh/memory/ (wins search ties)$DSH_HOME/memory/.git ancestor of the agent's cwd (same rule dsh uses for skills).trash/.KEEP/REWRITE/DELETE/NEW), with a full backup to .trash/curate-<ts>/ before anything is touched. Runs automatically every N summaries or on demand ("梳理记忆").用户画像 (user profile) category.AGENTS.md), budget-capped (default 4000 chars). Knowledge memories stay retrieval-on-demand.The plugin lives as a flat package in the dsh profile's shared node_modules:
git clone https://github.com/LZMW/dsh-memory.git
Copy-Item -Recurse dsh-memory "$env:USERPROFILE\.dsh\profiles\node_modules\dsh-memory"
Then register it in each profile you use (~/.dsh/profiles/<name>/cordis.patch.yml):
- insert:
- id: dsh-memory
name: dsh-memory
Restart your dsh session. A memory tool appears.
cordis.patch.yml insert entry)| key | default | meaning |
|---|---|---|
memoryDir |
"" |
override the global memory root |
autoThresholds |
[0.5] |
context-pressure ratios that trigger auto-summary |
curateEvery |
5 |
run auto-curation after N saved summaries |
injectOnStart |
true |
splice profile memories into the session's first step |
injectMaxChars |
4000 |
injection budget |
<projectRoot>/.dsh/memory/
20260824-dae50633.md # one memory per file
.trash/ # soft-deleted + pre-merge + pre-curation backups
.curation-state.json # auto-curation counter
$DSH_HOME/memory/ # global store (user profile etc.)
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: rag、file、storage。