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

Feature request: Langflow integration

Open HiveForensicsAI opened this issue 1 month ago • 0 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.

Motivation

Langflow is a very large visual builder community for agents and RAG flows (MIT). Langflow has an MCP client component and custom Python components, so Knolo could add verifiable, cited knowledge to flows.

Adoption case

Sheet traction (Knolo Adoption Targets, Nov 2 candidate):

  • langflow-ai/langflow: 156,247 GitHub stars (GitHub API, checked 2026-11-02)
  • PyPI langflow: 8,271 downloads last week (https://pypistats.org/api/packages/langflow/recent, checked 2026-11-02)

Sources: https://github.com/langflow-ai/langflow ; https://docs.langflow.org/mcp-client ; https://docs.langflow.org/components-custom-components

What exists today

  • @knolo/tools 0.2.0 (in tree): host-agnostic read-only service. Pins a V5 Knowledge Image by file SHA-256 and state root, checks the policy root, and writes a query receipt before results return. Caller identity is supplied by the host.
  • @knolo/mcp 0.2.0 on main (npm still 0.1.0): stdio server with knolo_search, knolo_get, knolo_verify, knolo_status, plus knolo_kar_evaluate, knolo_kar_verify, knolo_cortex_verify for mounts with a pinned graph (PR #80, PR #87). Started with npx -y @knolo/mcp --config /absolute/knolo-mcp.json. Stdio only, no network at runtime.
  • @knolo/core and @knolo/cli 6.2.0, including KAR, composition and Cortex. PyPI knolo 5.5.1 (packages/core-python) has no KAR features.
  • Existing adapters: @knolo/openclaw, @knolo/langchain, @knolo/llamaindex. Open requests for other frameworks: #90 (OpenAI Agents SDK), #95 (CrewAI, Python), #93 (Mastra), #92 (Vercel AI SDK).

Proposed design

  1. examples/langflow: an exported Langflow flow (JSON) that uses Langflow's MCP tools component in stdio mode pointed at npx -y @knolo/mcp --config ..., wired to an agent component, plus a README with setup steps and screenshots.
  2. A CI check that validates the flow JSON loads and that @knolo/mcp starts against a fixture image and lists its tools. The flow itself is not run in CI.
  3. Optional, decided at review: a native Langflow custom component over PyPI knolo 5.5.1 (search and get) kept in the example folder. Getting it into Langflow's bundled components would need upstream review and is a manual step.

Scope

In: the example flow, the CI check, README docs. Out: upstream Langflow PRs (manual), a Python port of KAR or Cortex, hosted services, network image downloads, write tools, any model calls inside Knolo.

Acceptance criteria

  • Importing the flow into a current Langflow release and running it against a fixture image returns hits with receipt ids.
  • Pin, policy and audit failures surface the same error codes as @knolo/tools (ACCESS_DENIED, AUDIT_UNAVAILABLE, etc.).
  • Docs state the minimum Langflow version tested and that verification checks integrity, not truth.

Open questions

  • Is the MCP flow enough, or is a native custom component worth maintaining?
  • Langflow's MCP client may need Node on the host for npx; document a Docker option alongside #96?

Related

  • #79 / PR #80: @knolo/mcp read-only server
  • #84 / PR #87: KAR and Cortex tools in @knolo/mcp
  • #96: Docker MCP Catalog image for @knolo/mcp
  • #99: Dify Marketplace tool plugin (similar visual builder target)

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

HiveForensicsAI avatar Nov 02 '26 08:11 HiveForensicsAI