What changed
The dsh-memento project, developed by PerryLink, offers a new capability seam for DeepSeek Harness named ctx.memory. This system is designed for cross-session memory management, emphasizing auditable writes and approval gates. It employs a zero-dependency SQLite provider for local storage, defaulting to $DSH_HOME/dsh-memento/memory.db with 0600 permissions. The memory is structured into two tracks (user and agent) and two layers (user-global and workspace), with isolation per agentPreset. Each track and layer has a hard character budget to prevent unbounded memory growth, returning structured errors when limits are reached rather than truncating data.
Key features include:
- Approval Gates: All write operations (add, replace, remove, seed) are routed through an internal approval waterfall. The writePolicy can be set to ask, auto, or off. Rejected writes are logged as *-denied audit entries.
- Auditable Logs: Every write operation is recorded, and memory can be reconstructed from approval/asked, approval/decided, and plugin-specific audit tables, alongside session logs.
- Bounded Memory: Strict character budgets are enforced per track and layer. Exceeding these budgets results in a structured error, not data truncation.
- Layered Memory: Memory is organized into user-global, workspace, user, and agent scopes, providing granular control.
- Frozen Snapshot Injection: Memory snapshots are frozen at the start of a session and injected into the system prompt.
- MCP Server: A read-only stdio MCP server (dsh-memento-mcp) allows external MCP clients to query the memory without needing the full Harness.
- Protocol Adherence: dsh-memento is a community preview of the dsh-memory-protocol v1, aiming to standardize memory seams across plugins.
The project is actively developed, with the latest release being v0.5.32. Installation can be done via dsh plugin --profile add github:PerryLink/dsh-memento, npm install dsh-memento, or a tarball. Configuration is managed through YAML or a settings panel within DSH Desktop.
Why it matters for builders
For AI builders, dsh-memento offers a significant enhancement in agent reliability and debuggability. The explicit approval gates for memory writes mean that agents cannot arbitrarily alter their persistent knowledge, providing a crucial layer of control. The detailed audit trails allow developers to trace exactly what information was stored, when, and why, which is invaluable for understanding agent behavior and diagnosing issues. This structured approach to memory management moves beyond simple storage to a more governed and transparent system.
Practical impact
Developers can integrate dsh-memento into their DeepSeek Harness projects by following the provided installation commands. Experimenting with the writePolicy settings (ask, auto, off) will demonstrate the impact of the approval gates. Builders should explore the /memory command-line interface for managing and querying memory entries, and review the audit logs to understand the system's traceability. The MCP server offers a way to access memory data from external tools, potentially simplifying integration with other AI development workflows. The project also defines a dsh-memory-protocol v1, encouraging standardization and interoperability among memory plugins.
Caveats and source limits
The source material is primarily a GitHub repository README, detailing the technical implementation and features of dsh-memento. While comprehensive in its description of the system's architecture and capabilities, it does not include independent benchmark results comparing its performance or efficiency against other memory solutions. Specific pricing information is not provided, as it is an open-source project. The project is marked as 'Active (unfrozen 2026-10-12)', indicating a future state or a specific development milestone, but its current production readiness for all use cases might require further evaluation by builders. The source also mentions alternatives, suggesting that developers should consult the README for a comparative analysis.
Sources
Claim check: 5/5 supported claims - 5 evidence links - 100% avg confidence
- dsh-memento provides a cross-session memory system for DeepSeek Harness with approval-gated writes and auditable logs.supported - github.com
- The system utilizes a zero-dependency SQLite provider for local memory storage.supported - github.com
- dsh-memento enforces hard character budgets per memory track and layer, returning structured errors upon exceeding limits.supported - github.com
- The project includes a read-only stdio MCP server for external memory querying.supported - github.com
- dsh-memento is a community preview of the dsh-memory-protocol v1.supported - github.com
Caveats
- The claim is based on the project's README description.
- Single-source caution: verify critical details at the linked source.
Radar score 87/100 - how it was calculated
- Reliability 82: GitHub metadata supports source trust
- Freshness 92: Fresh GitHub activity
- Novelty 77: Fresh GitHub release
- Technical 85: Repository technical metadata
- Developer 96: Developer tooling signals
- Ecosystem 72: Fresh GitHub release
- Confidence 96: Claims have reliable evidence
Discussion
Loading comments...