WeilaiSun/dsh-hindsight-memory

WeilaiSun★ 0JavaScriptLast synced: 2026-08-14

Open on GitHub

Semantic long-term memory for DeepSeek Harness: hindsight_retain/recall/reflect tools + auto-recall over local Hindsight daemon (pgvector + DeepSeek embeddings)

README excerpt

dsh-hindsight-memory Semantic long-term memory for DeepSeek Harness — native hindsight retain / hindsight recall / hindsight reflect tools over a local Hindsight daemon (PostgreSQL + pgvector + DeepSeek embeddings), with optional auto-recall injection before each agent step. Everything is a plugin — this is a Cordis plugin that installs with dsh plugin add . Why DeepSeek Harness's built-in memory is session-scoped (per-session event logs + AGENTS.md instructions). This plugin adds cross-session semantic memory : high-value facts, user preferences, and lessons learned are embedded into a vector store and retrieved by meaning , not keywords — like Hermes's Hindsight integration. Features - hindsight retain — write a memory; Hindsight automatically extracts facts, resolves entities, generates the embedding, deduplicates similar facts, and links temporally/semantically. - hindsight recall — semantic search (embedding similarity + knowledge-graph spreading activation). The query does not need to match keywords. - hindsight reflect — LLM synthesis over recalled facts / mental models / directives for a distilled answer. - autoRecall — when enabled, the plugin hooks agent/pre-step and inje…

View full README on GitHub →
Searchcordisdeepseek-harnessdshdsh-pluginmemorypgvectorsemantic-searchvector-database

Category