Communication between AI agents

Describe the problem/error/question

Hi everyone,

I’m new here and could really use some advice on a project I’m working on. I’m building two AI agents using n8n, and I’d like them to work as a team by communicating or chatting with each other, managing projects etc. Additionally, I need them to be able to read and create tasks somewhere, but I’m not sure how to best organize the communication and task management between them.

Does anyone have experience with setting up communication between AI agents in n8n? Any tips or tools I should look into for task management integration?

Thanks in advance for your help!

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:latest
  • **Database (default: SQLite):SQLite
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):own
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):npm
  • **Operating system:Ubuntu
1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @TheBestBro

Thanks for posting here and welcome to the community! :raised_hands:

I think there are many ways to achieve this. Once you decide on a task management tool you can then build your agent workflows around it using trigger /execute workflow nodes and/or http request / webhook nodes to send and receive data between these agents.

I think you can start by looking at our template collection for some inspiration on working with agents

You can also check out our tutorial section.

And lastly, we also have some great content on YouTube!

The fun part is building and tinkering - so have fun and please share your progress with us :raised_hands:

1 Like

@ria I am looking to do the same thing… The problem I have is that all tutorials I have seen or the documentation, there is no places where it provide you how to configure the output instruction for the AI agents… or how to configure the input in the workflow trigger node.

I tried about everything and never been able to make communicating my AI agents with each other. I would love to have better documentation.

At the moment I use Slack to make them communicate with each other. Create channels for each and every agent and use the Slack node to send messages between them if needed.

Hey im working through the same issues. Any chance youd be willing to hop on a call or share a template. Would be very grateful.

Hey guys @Aiagentexplorer @TheBestBro @John_Stevenson

We are hosting a live Q&A AI session tonight - where we could talk about this topic (already added it to our agenda) so make sure to tune in :slight_smile: