In n8n, one agent hands work to another in four documented ways. The AI Agent Tool puts a specialist agent inside the same workflow and is the place to start. The Call n8n Workflow Tool reaches an agent in a separate, reusable workflow. Message an Agent Tool calls a published agent from the newer Agents feature, which is in preview. MCP connects agents across instances or products. In every case the lead agent chooses a specialist by reading its description.
In n8n, one AI agent hands work to another in four documented ways: the AI Agent Tool node (a specialist inside the same workflow), the Call n8n Workflow Tool (an agent in a separate workflow), Message an Agent Tool (a published agent from the Agents feature, in preview) and MCP (an agent on another instance or system). Start with the AI Agent Tool. It needs no second workflow, and the lead agent decides when to delegate by reading the description you write for each specialist.
Based on n8n's documentation, not on our own benchmark. Checked on 13 October 2026, when the newest release in n8n's release notes was 2.43, against the docs for the AI Agent Tool, Call n8n Workflow Tool, Message an Agent, Build and manage agents, MCP Server Trigger, MCP Client Tool, the Tools Agent, human review for tools, sub-workflows and the n8n pricing page. The build below follows those pages; it was not executed for this article, so treat your first run as a test.
This guide belongs to our n8n workflow hub. If you are still deciding whether you need more than one agent, read agentic AI workflows first: a router with one agent often does the job.
What agent-to-agent means in n8n
It means delegation. One agent, the lead, receives the request and treats other agents as tools. n8n's docs describe exactly this arrangement for the AI Agent Tool: "The primary agent can supervise and delegate work to AI Agent Tool nodes that specialize in different tasks and knowledge." Each specialist runs its own reasoning loop with its own tools and returns a result. The lead agent works from the specialist's answer, not from its tools.
- 01Message arrives
A chat message, webhook or app event starts the workflow.
- 02Lead agent reads it
It compares the request with the description of every tool it has, specialists included.
- 03Lead agent delegates
It calls one specialist and writes the task for it.
- 04Specialist works
Its own model, instructions and tools, in its own loop, up to its iteration limit.
- 05Result returns
The specialist output comes back to the lead agent as a tool result.
- 06Lead agent answers
Or delegates again if the job needs a second specialist.
The reason to split agents at all is focus. A single agent with fifteen tools and a page of instructions has to choose well every time. Three agents with five tools each and a paragraph of instructions each have an easier choice at every step. The price is more model calls, since the lead agent and the specialist both think.
The four ways to connect agents, compared
| Method | Where the second agent lives | Best for | Know before you start |
|---|---|---|---|
| AI Agent Tool | A sub-node in the same workflow as the lead agent | Specialists that only this workflow needs | Everything shares one canvas and one execution; nest with care |
| Call n8n Workflow Tool | Inside a separate workflow the lead agent runs as a tool | Specialists reused across workflows, or wrapped in fixed steps | The sub-workflow must be published for production runs |
| Message an Agent Tool | A published agent built in the Agent Builder | Agents with their own skills, memory, channels and schedules | Preview feature; same project only; not supported in queue mode yet |
| MCP Server Trigger and MCP Client Tool | On another n8n instance or another system entirely | Crossing a boundary: another team, another instance, another product | SSE or streamable HTTP only; needs routing care behind multiple webhook replicas |
How to build a supervisor with two specialists
The example is a front desk for a small online store: a lead agent, an Orders agent and a Product agent. It is illustrative; swap in your own specialists. At the end you will have one workflow where a chat message is answered by whichever specialist fits.
- 1Add a Chat Trigger and an AI Agent node
Connect a chat model to the agent. Expected: a message in the chat panel gets a plain model reply.
- 2Write the lead agent System Message
Tell it that its job is to route and summarise, not to answer from memory. The text below is a starting point.
- 3Attach an AI Agent Tool to the lead agent Tool input
Rename it Orders agent. Fill in Description: this is what the lead agent reads when it decides whether to delegate.
- 4Let the lead agent write the task
On Prompt (User Message), use the button that lets the model define the parameter, described in the n8n $fromAI() docs, so the task comes from the conversation.
- 5Give the specialist a model and its own tools
Connect a chat model and only the tools this specialist needs: here, an order lookup. Keep them read-only for now.
- 6Repeat for the Product agent
A second AI Agent Tool with a help centre search tool and its own Description.
- 7Set limits and add memory
Set Max Iterations on each agent, and attach Simple Memory to the lead agent so a follow-up question keeps its context.
- 8Test with Return Intermediate Steps on
Ask an order question and a product question. Expected: the steps show the lead agent calling a different specialist each time.
LEAD AGENT, System Message
You are the front desk for a small online store. You do not answer from memory.
For every message, decide which specialist should handle it and delegate.
- Orders, refunds, delivery: use the Orders agent.
- How the product works, setup, troubleshooting: use the Product agent.
If neither fits, ask one clarifying question. Reply to the customer in two
to four sentences using only what the specialist returned.
ORDERS AGENT, Description
Looks up a customer's orders and delivery status and explains refund policy.
Use for any question about an order, a refund or a delivery. Needs the
customer's email or order number. Returns the facts found, not a final reply.
PRODUCT AGENT, Description
Answers how-to and troubleshooting questions from the help centre only.
Use for questions about setup, features or errors. Returns the answer and
the title of the article it came from, or "not found".The descriptions do the routing, so write them like instructions for a new colleague. n8n's docs say a good, specific description "tells the parent agent when to delegate tasks to this agent". Each one above states what the specialist does, when to use it, what it needs and what it returns.
- Orders agent
- Handles customer stuff
- Use this tool for support
- Expert assistant with access to data
- Looks up orders and delivery status by email or order number
- Use for any question about an order, a refund or a delivery
- Returns the facts found, not a final customer reply
- Says "not found" when the help centre has no answer
Two settings matter before real customers see this. The Tools Agent docs give the AI Agent node a default of 10 for Max Iterations; set a number on purpose for each agent so a confused specialist stops. And when you add a tool that changes something, such as issuing a refund, put a human review step on it. n8n's docs confirm that human review steps inside a sub-agent work when an agent is used as a tool for another agent. Our n8n agent memory guide covers the memory options beyond Simple Memory, and n8n error handling covers what should happen when a model call fails.
When should the second agent live in its own workflow?
Move a specialist into a sub-workflow when more than one workflow needs it, or when it needs fixed steps around the agent: validate the input, run the agent, write a log row. The lead agent reaches it through the Call n8n Workflow Tool, which the docs describe as a tool that lets an agent run another n8n workflow and fetch its output.
- Create the specialist workflow. Start it with the Execute Sub-workflow Trigger, shown on the canvas as When Executed by Another Workflow, and define its input fields.
- Put the AI Agent node and its tools after the trigger. The last node's output is what the caller receives.
- Publish the sub-workflow.
- In the lead workflow, attach a Call n8n Workflow Tool, choose the sub-workflow from the list and write its Description.
- Fill the Workflow Inputs: fixed values, expressions, or values the model supplies.
Step 3 is the one people miss. With an unpublished sub-workflow, production runs fail with "Workflow is not active and cannot be executed", and n8n hands that text to the agent as the tool result, where it is easy to overlook. If an agent reports that it could not retrieve data, check that the sub-workflow is published and that its execution list shows a run.
On counting: n8n's page on sub-workflows states that sub-workflow executions do not count towards a plan's monthly execution limit. That page is about the Execute Sub-workflow node and does not mention tool-called workflows separately, so confirm on your own usage page before you plan around it.
Message an Agent: n8n's newer agents
n8n now has a second kind of agent, built in the Agent Builder instead of on the workflow canvas, with its own instructions, tools, skills, memory, channels and schedules. n8n labels the feature Preview and says it is available on all Cloud plans and on self-hosted from version 2.32.3. These agents delegate in two ways. Inside the Agent Builder you add other published agents as sub-agents and describe when each should be used. From a workflow, the Message an Agent node sends a message to an agent and returns its reply, and a tool version of the node lets an AI Agent node hand work to one.
- Same project only. The node lists agents that belong to the same project as the workflow.
- Draft versus published. Manual and chat runs use the agent's draft; production runs use its published version.
- One message, one execution. Each message sent to an agent counts as one execution, on the same quota as workflows.
- Sessions. A session key lets the agent remember earlier messages; the key can be at most 74 characters.
- Queue mode. The docs say queue mode is not supported for agents yet, so run them in regular mode.
Because it is a preview, treat it as something to trial, not something to rebuild a working system on. The AI Agent node is unaffected by the Agents setting and remains the stable route.
Agents on different instances or systems: use MCP
When the second agent is not in your n8n project, the documented bridge is the Model Context Protocol. The MCP Server Trigger turns a workflow into an MCP server: it exposes a URL, connects only to tool nodes, and lets clients list and call those tools. Attach a workflow tool that contains an agent and you have published that agent to anything that speaks MCP. On the calling side, the MCP Client Tool gives an n8n agent the tools of an external MCP server, with Bearer, header, multiple header or OAuth2 authentication, and a setting to include all tools, selected tools or all except some.
Our MCP Server Trigger guide walks through the server side, including authentication, and the MCP guide explains the protocol. If you run several webhook replicas, read the queue mode warning in the troubleshooting table below first; n8n queue mode has the background.
What multi-agent workflows cost in n8n
Two meters run. The first is n8n's. Its pricing page says plans are priced on monthly workflow executions "regardless of complexity": Starter is €20 a month billed annually for 2,500 executions and Pro is €50 a month billed annually for 10,000, and Starter already includes agents, MCP and AI nodes (checked October 2026). A lead agent with three specialists inside one workflow is still one execution per run.
The second meter is the model provider's, and this is the one that grows. Every delegation is at least two extra model calls: the specialist does its work, and the lead agent reads the result. Nested specialists multiply that. Estimate a typical conversation before launch with our LLM API pricing comparison, and consider a smaller model for specialists whose job is lookup, not judgement.
Troubleshooting agent-to-agent workflows
| Symptom | Cause | Fix |
|---|---|---|
| The lead agent answers everything itself | The specialist description does not say when to use it | Rewrite the Description to name the trigger: "Use for any question about an order, refund or delivery" |
| Workflow is not active and cannot be executed | A workflow tool points at an unpublished sub-workflow | Publish the sub-workflow. n8n returns this error to the agent as the tool result, so it can hide inside a longer reply |
| The specialist only handles the first item | Expressions in sub-nodes always resolve to the first input item | Let the model define the parameter instead of an expression, or split the items before they reach the lead agent |
| A Chat Model sub-node must be connected | An agent has no model attached | Connect a chat model to every agent, including each specialist |
| The agent list is empty in Message an Agent | The agent and the workflow are in different projects | Build the agent in the same project, or move the workflow |
| Production runs ignore your latest agent edits | Production executions use the published version of an agent | Publish the agent again after changing it |
| MCP connections keep dropping | Several webhook replicas are handling the same MCP session | Route all /mcp* requests to one dedicated webhook replica |
If you are new to the canvas itself, start with the n8n beginner tutorial. When the loop between agents becomes the hard part, with retries on state and pauses mid-run, n8n vs LangGraph explains when to move the reasoning into code. And if you want to understand the layer underneath, our AI SaaS Builder program teaches tool use with the Claude API, MCP servers and a research agent built step by step. It has no n8n lessons.
n8n agent-to-agent workflows: FAQ
Can an n8n AI agent call another agent?
Yes. The simplest way is the AI Agent Tool node: connect it to the Tool input of an AI Agent node and the lead agent can delegate to it like any other tool. n8n also documents three other routes: an agent inside a sub-workflow reached through the Call n8n Workflow Tool, a published agent reached through Message an Agent Tool, and an agent on another system reached over MCP.
What is the AI Agent Tool node in n8n?
It is a sub-node that lets a root-level agent call another agent as a tool. The n8n docs describe a primary agent that supervises and delegates to AI Agent Tool nodes that specialise in different tasks, all inside one workflow, and say the nodes can be nested in several layers. Each one has its own description, prompt, system message and iteration limit.
AI Agent Tool or Call n8n Workflow Tool: which should I use?
Use the AI Agent Tool when the specialist only matters to this workflow: it keeps everything on one canvas and avoids passing context between workflows. Use the Call n8n Workflow Tool when the specialist is reused by several workflows, needs fixed steps before or after the agent, or should have its own execution log. The sub-workflow must be published before production runs can call it.
Does n8n support the A2A protocol?
Not as a documented built-in node. The n8n documentation index and release notes list no Agent2Agent (A2A) node as of 13 October 2026. The documented way for n8n agents to work with agents on other systems is the Model Context Protocol: the MCP Server Trigger exposes n8n tools and workflows to outside clients, and the MCP Client Tool lets an n8n agent use tools from an outside server.
Do sub-agents count as extra executions in n8n?
An AI Agent Tool runs inside its parent workflow, and n8n prices by workflow execution regardless of how many steps run. For the newer Agents feature, n8n states that each message sent through the Message an Agent node counts as one execution. Model tokens are separate: every agent in the chain makes its own model calls, billed by your model provider. Checked October 2026.
How many agents should a multi-agent workflow have?
As few as the job needs. Every extra agent adds model calls, another prompt to maintain and another place for a misunderstanding. Start with one agent and its tools. Split out a specialist when one agent has too many tools to choose between reliably, or when two tasks need clearly different instructions. Two or three specialists under one lead covers most cases.
Can n8n agents on different instances talk to each other?
Yes, through MCP. On the first instance, an MCP Server Trigger exposes tools, which can include workflows that contain agents, at a URL with Bearer or header authentication. On the second, an MCP Client Tool attached to an AI Agent connects to that URL. The n8n docs note the trigger supports SSE and streamable HTTP but not stdio.
Free · no card needed
Start with the free Starter Kit.
A unit economics calculator from AI SaaS Builder, plus four more working files.
Agents delegating on the canvas? Learn what a tool call is underneath.
AI SaaS Builder, included in All Access, covers the layer n8n's agent nodes sit on: Claude API tool use and structured output, building your own MCP server, and a research agent built step by step, then Supabase, Vercel and Stripe to ship it as a product. It has no n8n lessons. The other three programs, weekly coaching and the community come with the same subscription.
Lead agent not delegating?
Paste the specialist descriptions and one message that went to the wrong place in the free Discord. Routing problems are almost always a description problem, and a second reader finds it quickly.