Beginner manager agent with sub-agent tools
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs from “ManagerAgent (Routing + Instruction Generator)” (no trigger node, so run it manually or call it from another workflow). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: From “ManagerAgent (Routing + Instruction Generator)” (no trigger node, so run it manually or call it from another workflow).
- ManagerAgent (Routing + Instruction Generator) (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (DataAgent (Insight Generator), EmailAgent (Communication Specialist)); memory: Simple Memory
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
This guide walks you through building an intelligent AI Agent in n8n that routes tasks to the appropriate sub-agent using the new @n8n/n8n-nodes-langchain agent framework. You’ll create a Manager Agent that evaluates user input and delegates it to either an…