dsh-agentmemory
Agent 平面工具插件:将 dsh 连接到 agentmemory REST API(search / remember / forget / health)
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗dsh-agentmemory
Agent-plane tool plugin: connects dsh (DeepSeek Harness) to an agentmemory persistent-memory REST API (rohitg00/agentmemory). No MCP, no skill+CLI indirection — four native tools registered directly on the harness tool runtime, each backed by one REST call.
Registered tools (visible to every agent after a dsh restart):
| Tool | Endpoint | Purpose |
|---|---|---|
memory_search | POST /agentmemory/search | semantic + keyword search over stored memories |
memory_remember | POST /agentmemory/remember | store a durable memory (type / concepts / files / ttlDays) |
memory_forget | POST /agentmemory/forget | delete by memoryId or sessionId |
memory_health | GET /agentmemory/health | connectivity + engine status check |
Quick install (from this repo)
Linux / macOS / Git Bash on Windows:
git clone https://github.com/Yogioo/dsh-agentmemory
cd dsh-agentmemory
./install.sh # agentmemory on the same machine
./install.sh --base-url https://:9999 # link a REMOTE agentmemory
Windows (PowerShell):
git clone https://github.com/Yogioo/dsh-agentmemory
cd dsh-agentmemory
powershell -ExecutionPolicy Bypass -File install.ps1 # local
powershell -ExecutionPolicy Bypass -File install.ps1 -BaseUrl https://:9999 # remote
Both installers are idempotent: they copy the plugin into
~/.dsh/profiles/node_modules/dsh-agentmemory/ and register the entry in
~/.dsh/profiles/web/cordis.patch.yml. Re-running never duplicates the
patch entry. No manual dependency linking is needed — dsh itself
maintains the flat fallback directory at every boot (one link per package
in the app's dependency closure: POSIX symlinks, Windows junctions — no
admin rights).
Replace `` with the hostname of your agentmemory server (for a same-machine install, omit
--base-url/-BaseUrlentirely and the defaulthttp://localhost:3111is used).
Then make the secret reach the dsh process (systemd does not read
~/.bashrc) — add to /etc/systemd/system/dsh.service: