elementor-i/dsh-agentmemory ↗★ 3
@elementor-i/dsh-agentmemory
agentmemory for DeepSeek Harness (dsh): full memory_* tools, capture hooks, and context injection over the local REST server
AI Analysis
核心用途是为 DSH 代理提供基于本地 REST 服务的长期记忆能力。适合需要 AI 跨回合、跨会话记住关键事实和用户偏好的复杂代理任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:elementor-i/dsh-agentmemoryREADME
Read the full README ↗Configuration
All keys are optional and have safe defaults. The environment variables AGENTMEMORY_URL, AGENTMEMORY_SECRET, and AGENTMEMORY_PROJECT_NAME are honored as fallbacks.
dsh-agentmemory:
baseURL: http://127.0.0.1:3111 # empty -> $AGENTMEMORY_URL -> default
secret: "" # empty -> $AGENTMEMORY_SECRET (Bearer)
timeoutMs: 10000
observeTimeoutMs: 3000 # fire-and-forget hook timeout
registerTools: true
coreToolsOnly: false # true -> only the 8 core tools
dangerousTools: false # true -> expose destructive/expensive tools
projectName: "" # empty -> $AGENTMEMORY_PROJECT_NAME -> git repo basename
injectContext: false # inject recalled context into the system prompt
injectMaxChars: 4000
healthCheck: true
hooks:
enabled: true
capturePrompts: true
captureToolUse: true
toolNameFilter: [] # non-empty -> only these tool names
captureSubagents: true
captureWorkflow: true
captureApprovals: false
preCompactSnapshot: false # approximate PreCompact on request-error
maxObservationBytes: 8000
redactSecrets: true
| Key | Default | Description |
|---|---|---|
baseURL | http://127.0.0.1:3111 | agentmemory REST base URL |
secret | "" | Bearer secret (falls back to AGENTMEMORY_SECRET) |
timeoutMs | 10000 | per-tool HTTP timeout |
observeTimeoutMs | 3000 | hook observation timeout (fire-and-forget) |
registerTools | true | register the memory_* tool set |
coreToolsOnly | false | register only the 8 core tools |
dangerousTools | false | expose governance_delete, heal, consolidate, reflect, crystallize |
injectContext | false | inject recalled context into the system prompt |
healthCheck | true | warn on startup if the server is unreachable |