knolo-core icon indicating copy to clipboard operation
knolo-core copied to clipboard

Feature request: Dify Marketplace tool plugin

Open HiveForensicsAI opened this issue 1 month ago • 1 comments

For human review. This issue was drafted from the Knolo Adoption Targets research. A human will review it and implement it manually. No code or pull request accompanies it.

Adoption case

Dify runs agentic workflows and RAG pipelines for teams; a Knolo tool plugin adds verifiable, provenance-backed knowledge and a marketplace listing.

Sheet traction (Knolo Adoption Targets):

  • langgenius/dify: 158,199 GitHub stars (https://github.com/langgenius/dify)
  • langgenius/dify-plugins: 555 stars (https://github.com/langgenius/dify-plugins)

Sources: https://github.com/langgenius/dify ; https://github.com/langgenius/dify-plugins ; https://marketplace.dify.ai/

What exists today

  • @knolo/mcp 0.2.0 on main (npm still 0.1.0): read-only stdio server with knolo_search, knolo_get, knolo_verify, knolo_status, plus knolo_kar_evaluate, knolo_kar_verify, knolo_cortex_verify when a graph is pinned (PR #80, PR #87). Started with npx -y @knolo/mcp --config /absolute/knolo-mcp.json or KNOLO_MCP_CONFIG.
  • @knolo/tools 0.2.0 (in tree): pins a V5 Knowledge Image by SHA-256 and state root, checks policy, writes receipts, fails closed.
  • @knolo/core and @knolo/cli 6.2.0 (KAR, composition, Cortex). PyPI knolo 5.5.1 (no KAR features in Python yet).
  • Adapters: @knolo/openclaw (with a knolo-grounding skill), @knolo/langchain, @knolo/llamaindex. knolo-verify Action (PR #86).

Proposed design

  • New packages/dify-plugin: a Python tool plugin built with the Dify plugin SDK over PyPI knolo 5.5.1, exposing search, get and verify against a locally mounted image, returning roots and object ids for citation.
  • Alternatively, document Dify's MCP tool support pointed at @knolo/mcp for KAR and Cortex tools.

Scope

In: plugin package, manifest, tests, README, packaging script. Out: the marketplace PR to dify-plugins (manual), KAR in Python, hosted image storage.

Acceptance criteria

  • Plugin installs in a local Dify and answers from a fixture image with cited ids.
  • Fails closed on verification errors.

Open questions

  • Python plugin vs MCP-only path first?
  • How images reach a self-hosted Dify container (volume mount only)?

Related

  • #79 / PR #80 and #84 / PR #87: @knolo/mcp
  • #91: Cline listing support (shares llms-install.md, logo and npm 0.2.0 publish)
  • #90, #92, #93: OpenAI Agents SDK, Vercel AI SDK, Mastra adapters

Knolo is open source under Apache-2.0, built by Hive Forensics AI Inc. R&D.

HiveForensicsAI avatar Nov 01 '26 17:11 HiveForensicsAI

Hey @HiveForensicsAI , this is a well-scoped adoption case. Knolo's 'verifiable, provenance-backed knowledge' for forensics is a critical use case where data compliance and auditability are non-negotiable.

Two things I can help with as you build the Dify plugin:

Compliant model routing: For forensic workflows, you cannot route through random third-party endpoints. We provide enterprise-grade API endpoints (Azure/AWS isolated channels) with strict no-data-retention policies—suitable for GDPR/HIPAA-adjacent workflows.

Cost control for verification-heavy workflows: knolo_verify + knolo_get + citation lookup means your agent will call the LLM multiple times per query for the same knowledge image. Our Prompt Caching feature makes repeated context reads nearly free, which matters a lot when every forensic answer needs multi-step verification.

If you or whoever picks up this Dify plugin wants a free sandbox key on our enterprise tier to benchmark cost and latency, I'm happy to provide it. No strings attached—just think it's a genuinely important project.

Andyzhao1998 avatar Nov 12 '26 09:11 Andyzhao1998