feat(dify): add Dify integration with Hindsight memory tools#1434
Merged
nicoloboschi merged 4 commits intomainfrom May 5, 2026
Merged
feat(dify): add Dify integration with Hindsight memory tools#1434nicoloboschi merged 4 commits intomainfrom
nicoloboschi merged 4 commits intomainfrom
Conversation
13c064b to
53148ec
Compare
Adds a Dify Tool Plugin under hindsight-integrations/dify/ exposing three tools — Retain, Recall, Reflect — that can drop into any Dify workflow, chatflow, or agent app alongside other LLM and tool nodes. - Provider with API URL + optional API key credentials, validated via Hindsight /health - 15 unit tests (pytest + pytest-mock) - test-dify-integration CI job, dify added to release-integration.sh - Docs page at /sdks/integrations/dify, integrations.json listing, placeholder icon - Live-tested end-to-end against local Hindsight: Retain → fact extraction → Recall → Reflect synthesis all pass via Dify workflow Distributed via GitHub for now; Dify Marketplace submission to follow.
Replaces the placeholder blue-D SVG with the actual Dify icon on the integrations listing page.
Required by the Dify Marketplace submission checklist.
…cleanup - Add 14 tests for RetainTool, RecallTool, ReflectTool _invoke() methods - Add try/except around client calls with user-friendly error messages - Simplify urljoin to f-string in provider health check - Remove deprecated Pydantic v1 dict() fallback in _memory_to_dict - Remove emoji from build_package.sh output - Add comment explaining reflect's lower default budget
53148ec to
b23a528
Compare
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
hindsight-integrations/dify/exposing three tools — Retain, Recall, Reflect — that drop into any Dify workflow, chatflow, or agent app alongside other LLM and tool nodes./health.test-dify-integrationCI job,difyadded torelease-integration.sh, docs page at/sdks/integrations/dify, listing inintegrations.json, placeholder icon.Test plan
pytest tests -v— 15/15 pass locally.difypkgviabuild_package.shand uploaded to self-hosted Dify (docker compose)http://host.docker.internal:8888, blank keyStart → Hindsight Retain → Hindsight Recall → Hindsight Reflect → Endagainst bankdify-test-1"Ben tested the Dify integration."+ consolidated world fact with entitiesDify+BenextractedDistribution
vectorize-io/hindsight→hindsight-integrations/dify.difypkgarchive built bybuild_package.sh🤖 Generated with Claude Code