How can I create custom cluster node?

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.34.0
  • Database (default: SQLite): PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: node-alpline

There are several functionalities for AI and the nodes are all cluster nodes and sub-nodes.
If I want to introduce new AI model or new agent, I should create custom cluster node.
But I don’t know how. I guess cluster node can’t not be created as custom node.

If anyone has similar problem with me, or know about how to create cluster custom node,
I would like to know about it.

Hey @Jimmy_Lee,

Welcome to the community :tada:

We don’t have any official docs on this yet but I would start by copying an existing node to see if that works.

Okay, I am now trying to make bentoML node for this.
From what I’ve seen, it looks like to do this I need to get the @langchain npm package and the @n8n/lanchain package and build on them… cause llm node references those packages (rather than just copying the llm node)
Am I right?