← All Workflows

⚖ Agent Debate

Two LLM agents face off on a topic. Debater A argues FOR, sends its opening statement via Relay, and Debater B reads the inbox and writes a rebuttal.

Nodes 14
Agents 2
Debater A debater-a@localhost
Debater B debater-b@localhost
Relay Inbox LLM × 2 Send (via tool)

Dual-Agent Pipeline

Agent A presents its case → ToolParser + Relay delivers argument → Agent B reads inbox → writes rebuttal.

🗣 Debater A — argues FOR

1 Setup — debater-a@localhost
2 SystemPrompt — argue FOR
3 TextCombine — topic prompt
4 LLM — opening argument
5 ToolParser — extract send call
6 TextDisplay — show argument
7 Relay — deliver to B

🗣 Debater B — argues AGAINST

8 Setup — debater-b@localhost
9 Inbox — read A's argument
10 SystemPrompt — argue AGAINST
11 LLM — write rebuttal
12 ToolParser — process
13 TextDisplay — show rebuttal
A (FOR) ⚖ B (AGAINST)
Debater A (argues FOR) Debater B (argues AGAINST, reads A's message)

Key Features

✉

Real Message Passing

Agent A's LLM uses [TOOL:send to="debater-b@localhost"] to physically write a message file. Relay copies it to B's inbox. No shared variables.

⚖

Structured Debate

Each agent has its own SystemPrompt enforcing debate format, word limits, and evidence requirements. The debate topic is configurable in the TextCombine node.

🔄

Extensible to N Rounds

Duplicate the lanes and add more Relay + Inbox pairs for multi-round debates. Each round reads the previous round's messages from the inbox.