
elementor-i/dsh-agentmemory
30Last commit Aug 14, 2026
dsh-agentmemory DSH plugin
dsh-agentmemory integrates agentmemory, a local memory server for coding agents, into DeepSeek Harness. It exposes all 54 memory_* tools, automatically records observations from sessions, prompts, and tool activity, and can inject recalled context into the system prompt. The plugin works over the local REST server without requiring an MCP bridge.
How to install the dsh-agentmemory DSH plugin
dsh plugin --profile web add github:elementor-i/dsh-agentmemoryCopying does not run this command. Review the repository and version before installing the dsh-agentmemory DSH plugin.
dsh-agentmemory DSH plugin data source
dsh-agentmemory DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-agentmemory DSH plugin can do
- Full tool surface: 54 memory_* tools (8 core) mapped to /agentmemory/* endpoints, plus memory_observe and memory_http escape hatch.
- Automatic capture: session, prompt, tool-use, subagent, workflow, and approval events are recorded as observations in the background.
- Context injection: opt-in; recalled context from the session is added to the system prompt.
- Safe by default: credential redaction, per-call timeouts, non-blocking observation, and destructive tools gated behind a flag.
- No MCP required: works over the local REST server (localhost:3111) — no stdio bridge or child process needed.
Where the dsh-agentmemory DSH plugin fits
- Give coding agents persistent memory across sessions for recalling past decisions and lessons.
- Automatically log all tool usage and prompt history for debugging and auditing agent behavior.
- Inject relevant context (e.g., recent commits, previous errors) into the system prompt to improve agent responses.
- Use the full memory API (smart search, graph queries, temporal queries) from within DSH tools.
- Build advanced workflows that use memory slots, team shares, or sentinel triggers.
Who the dsh-agentmemory DSH plugin is for
- Developers who use DeepSeek Harness and want to add persistent memory to their coding agents.
- Users of agentmemory who want to integrate it seamlessly with DSH without writing custom tool wrappers.
dsh-agentmemory DSH plugin limitations
- Requires a running agentmemory server on the same machine (default http://127.0.0.1:3111).
- Some features are disabled by default and need explicit configuration (e.g., injectContext, dangerousTools).
- The server may not support all endpoints if it is an older version; newer endpoints may not be present.
- Destructive/expensive tools (governance_delete, heal, consolidate, etc.) are gated behind a flag and not available by default.
dsh-agentmemory DSH plugin: from the repository README
Quoted from the elementor-i/dsh-agentmemory README, the upstream source of the dsh-agentmemory DSH plugin. Copyright remains with the original authors.
**agentmemory for DeepSeek Harness** — full `memory_*` tools, automatic capture hooks, and opt-in context injection over the local REST server. [English](./README.md) · [中文](./README.zh-CN.md) [](./LICENSE) [](https://github.com/elementor-i/dsh-agentmemory/actions/workflows/ci.yml) [](https://github.com/deepseek-ai/deepseek-harness) </div> dsh-agentmemory connects [agentmemory](https://github.com/rohitg00/agentmemory), a local memory server for coding agents, to [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH). It exposes the full `memory_*` tool set, captures observations automatically from sessions, prompts, and tool activity, and can inject recalled context into the system prompt — all over the local REST server, with no MCP bridge required. ## Features - **Full tool surface** — all 54 `memory_*` tools (8 core) mapped to `/agentmemory/*`, plus `memory_observe` and a `memory_http` escape hatch for any endpoint. - **Automatic capture** — ses
Read the full READMERepository license: MIT
dsh-agentmemory DSH plugin questions
How do I install dsh-agentmemory?
You can install it via git clone and a config patch, or use the official CLI: `npx -p @deepseek-ai/dsh dsh plugin --profile web add github:elementor-i/dsh-agentmemory`. Replace `web` with your profile name. The plugin manager in Oh-DSH-Desktop can also install it after the plugin is in the catalog.
Do I need to run a separate server for agentmemory?
Yes, dsh-agentmemory requires an agentmemory server running on the same machine. By default it expects the server at `http://127.0.0.1:3111`. You can start the server according to agentmemory's documentation. If the server is unavailable, the plugin logs a warning and the memory_* tools return errors, but the harness itself continues to run normally.
What tools are available after installing this plugin?
The plugin registers 54 memory_* tools, including 8 core tools (memory_save, memory_recall, memory_smart_search, memory_sessions, memory_lesson_save, memory_consolidate, memory_reflect, memory_diagnose) and many others like memory_commits, memory_graph_query, memory_slots, etc. Plus two extra tools: memory_observe for manual observation recording and memory_http for calling any /agentmemory/* endpoint directly.
How does automatic capture work?
The plugin hooks into DSH lifecycle events (session created, prompts submitted, tool execution, subagent start/stop, etc.) and records observations to the agentmemory server automatically. The capture is non-blocking — handlers use a short timeout and are never awaited. You can configure which events to capture via the `hooks` configuration section.
Does the plugin support context injection?
Yes, but it is opt-in. Set `injectContext: true` in the plugin configuration. When enabled, on session start the plugin recalls context from the agentmemory server and adds it to the system prompt. You can control the maximum characters injected via `injectMaxChars` (default 4000).