omdsh-dev/dsh-mnemon
View-based memory orchestration for cross-session context in DeepSeek Harness
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
dsh-mnemon is a TypeScript extension for DeepSeek Harness (DSH), not a standalone retrieval service. Sources own data and operations; Memory Spaces owns the Provider integrations that back its named scopes. A main Strategy decides what stays resident, what can be retrieved, and which tools and budgets apply. Optional enhancements contribute through defined slots. Core validates the result into one immutable View, which the Host pins to the turn while controlling tool access.
The plugins/ workspace separates independently versioned components, while the Starter pins a tested combination. The package depends on @deepseek-ai/cosmokit and @deepseek-ai/schemastery; DSH loads the bundled cordis.patch.yml. Authors build Sources and Strategies with dsh-mnemon/extension-sdk, and Memory Spaces drivers with dsh-mnemon-source-memory-spaces/provider-sdk. This keeps storage and turn policy separate without introducing a process boundary: Sources and Strategies run as trusted JavaScript in the Host.
Key Capabilities & Differentiators
The default Layered strategy injects compact USER.md and MEMORY.md every turn, searches Markdown Project Documents before opening matches, and recalls durable evidence from Memory Spaces on demand. The General strategy instead exposes all available Sources under one budget and lets the model decide how to use them. The turn memory bar links reads and writes to stored records. Saving a reply to memory can send it to a task agent for deduplication, distillation, and routing, with a receipt naming the destination.
Memory Spaces supports local Mnemon Native and eight third-party Providers, including Mem0, Hindsight, and OpenViking. The experimental Skills component can review finished conversations, propose SKILL.md edits, and backtest drafts against the current version using recorded or hand-written cases. Self-evolution is off by default; once enabled, manual adoption remains the default. Automatic adoption is opt-in and applies to eligible suggestions only after complete, non-regressing backtests.
Trade-offs & Limitations
Compared with a standalone memory backend such as Mem0, dsh-mnemon primarily adds DSH-specific orchestration and visibility; Mem0 can sit behind it rather than replace it outright. Compared with document-only retrieval, it also handles resident context and long-term writes, but introduces more policy and configuration choices. Layered bounds what is injected by default, at the cost of relying on on-demand retrieval to surface relevant evidence. General gives the model more control within one budget, making source selection more dependent on model behavior.
Disabling a component does not erase its data, and changing a storage path does not migrate it. ZIP backups and Git sync can carry private memory even though Provider credentials are not exported. Git sync preserves conflicting versions until a reconciliation plan is accepted; skill evolution data stays local and is excluded from backups. Treat third-party plugins as trusted code and review imported skills as instructions the agent may follow. Mechanical verification and skill backtests are not evidence of live Provider performance or model accuracy.
Hardware & Deployment Guide
For WebUI, start DSH with npx @deepseek-ai/dsh web and install and enable dsh-mnemon from Plugins. The CLI equivalents are dsh plugin --profile web add dsh-mnemon and dsh plugin --profile headless add dsh-mnemon. Do not duplicate the bundled cordis.patch.yml insert block in the profile: duplicate entries can prevent Settings from saving. The plugin declares Node.js >=20, but the documented DSH 0.2.2-rc.1 requires >=24.9.0; older supported Hosts have their own requirements.
For local Memory Spaces, install @mnemon-dev/mnemon globally; otherwise configure the chosen Provider. Local file and Provider storage do not determine where model inference runs. v0.5.57 trimmed the Starter browser bundle by shipping only the Memory Spaces translations it uses. v0.5.58 made scheduled Git backup resume from the last recorded sync time after a restart, and v0.5.59 preserved exact workspace paths on filesystems that support trailing spaces in directory names.
USER.md and MEMORY.md and looks up deeper evidence on demand; General puts all available Sources under one budget.SKILL.md revision supports version history, per-skill test cases, backtests, and manual adoption by default.DSH users who need working facts to persist across sessions, project evidence retrieved on demand, and a visible record of what each turn read or wrote.
You need a shared memory API for multiple agent frameworks, require sandboxed extensions, or only need Markdown search.
Quick Start & Installation
npm install --global pnpm npx @deepseek-ai/dsh web
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/omdsh-dev/dsh-mnemon.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about dsh-mnemon
How do I integrate an existing memory backend or change retrieval policy?
dsh-mnemon/extension-sdk if you own the data and its operations, or a Strategy if you need to control how existing Sources participate in a turn. To supply a backend for Memory Spaces, use dsh-mnemon-source-memory-spaces/provider-sdk. DSH mounts these as plugins; Core validates the per-turn View, and the Host controls tool access. Source and Strategy code is trusted in-process JavaScript, not sandboxed.Does it need a GPU, and what should I size for?
Can a company self-host or redistribute it, and what data controls are needed?
When should I choose Layered, General, or a standalone retrieval solution?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy