feat: deep-memory plugin — reasoning-based memory with semantic recall - #6114
Closed
RichardHojunJang wants to merge 1 commit into
Closed
feat: deep-memory plugin — reasoning-based memory with semantic recall#6114RichardHojunJang wants to merge 1 commit into
RichardHojunJang wants to merge 1 commit into
Conversation
Add deep-memory as an optional plugin toolset. Inspired by Honcho, provides: - recall/learn/entities tools for structured reasoning memory - Post-session automatic insight extraction - System prompt injection of relevant deep memory context - Embedding auto-config (local/openai/fts-only) Install: pip install hermes-agent[deep-memory] Zero impact when not installed (all imports guarded by try/except). Changes: - pyproject.toml: optional dependency - model_tools.py: plugin import in _discover_tools() (+5 lines) - toolsets.py: tool names + toolset definition (+9 lines) - run_agent.py: prompt injection + session hook (+26 lines) - docs/plugins/deep-memory.md: usage guide
Contributor
Author
|
Deep memory plugin repository |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds deep-memory as an optional plugin toolset. Inspired by Honcho, deep-memory provides structured reasoning over conversations, entity tracking, and hybrid semantic + keyword search — all running locally with zero external hosting (SQLite + FTS5 + sqlite-vec).
New Tools
recalllearnentitiesFeatures
Install
No config needed — auto-detection handles everything.
Changes (5 files, +126 lines)
pyproject.tomlmodel_tools.py_discover_tools()toolsets.pyrun_agent.pydocs/plugins/deep-memory.mdZero Impact When Not Installed
All imports are guarded by
try/except ImportError. If deep-memory is not installed, Hermes behaves exactly as before — no errors, no warnings.Tests