AI Agents orchestrating a DEBATE between AI?

Hi,

Need:

Output the highest possible quality from AI.
Objective: A workflow with two AIs debatting until a final solution is found.

Example of use case

  1. User inputs some code
  2. AI #1 audits it
  3. AI #2 audit it
    => Until both Audits are not aligned, the two AIs keep ‘discussing’.

Question

Do you know if we can do this?
Ideas of nodes to use:
. Orchestrator AI Agent
. Two AI tools doing the Audit alternatively
. A loop

Thanks in advance.

(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:**Last
  • **Database (default: SQLite):**default
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**self hostef
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • **Operating system:**Windows

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