WeilaiSun/dsh-hindsight-memory ↗★ 1

dsh-hindsight-memory

基于本地 Hindsight 守护进程的语义长期记忆工具。 适合需语义记忆与自动召回的进阶用户,需自建 PostgreSQL 与向量环境。

包名
dsh-hindsight-memory
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
Cordis 依赖范围
^4.0.1
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

同名包的其他仓库

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Configuration

KeyDefaultDescription
venvPythonF:\Hermes\HERMES_HOME\hermes-agent\venv\Scripts\python.exePython with hindsight_embed installed
configJsonF:\Hermes\HERMES_HOME\hindsight\config.jsonJSON with llm_api_key / llm_base_url / llm_model (source of the DeepSeek key; never hardcoded)
llmBaseUrl / llmModel / llmProviderDeepSeek defaultsEmbedding endpoint; deepseek/openai_compatible/openrouter map to openai
profiledeepseekHindsight profile name (own daemon port + PG instance + bank)
bank= profileBank id used by retain/recall/reflect
autoRecallfalseInject relevant memories before each agent step
recallTypes["observation","experience","world"]Fact types searched
recallLimit4Max memories per recall
recallMinUserChars20Min user-message length before auto-recall triggers
recallBudgetTokens1200Token budget for auto-recall injection

Usage

The model calls the tools directly. Example retention policy (mirrors a self-evolution protocol):

  • Retain after complex tasks (5+ tool calls), after resolving a pitfall, when the user expresses a durable preference, or after key design decisions.
  • Recall at the start of complex tasks, when the user references past work, or when a situation smells like a repeat.