Tool calling for small and old models with 1.88.0 and later

Describe the problem/error/question

In n8n versions before, there was a ReAct agent settings to allow tool calling / MCP client integration in case your model was either too small and not trained to call tools.

This approach is probably deprecated, and thus the ReAct feature has been removed n8n

Is there a replacement?

Is there a replacement, maybe by using the LangChain Node? I am a little lost here because I have a custom small model, but I want to keep using it with n8n.

Information on your n8n setup

  • n8n version: >= 1.88
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): normal
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker, self-hosted
  • Operating system: Linux

Agent type setting was deprecated from n8n and removed in [email protected] release at AI Agent Node’s version 1.8 when we simplified the use of it, and as of now there’s no direct replacement to use the ReAct agent that I’m aware of at least.

Models without tools should still be possible to be connected to Basic LLM Chain Node, could that work in your use case?

An alternative solution could be to still use the now deprecated AI Agent Node v1.7, which still currently works but its support could be dropped at the next major release. You can get the old version by copying it from this workflow into your workflow.

Hope this helps!

2 Likes

Thank you.

I would then somehow need to learn to maintain this as a community node. Not sure how this works, but I am happy to learn.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.