Run a multi-agent discussion
discussRun a multi-agent debate on a given topic with optional code context. AI participants critique and refine each other's answers over multiple rounds, then synthesize a ranked recommendation.
Instructions
Fan out a topic + code context to configured AI participants, run an N-round debate where they critique and refine each other's answers, then return a synthesized, ranked recommendation. Writes a full markdown transcript to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The question or decision to debate, e.g. 'Choose an order-execution strategy for a momentum stock-trading bot.' | |
| rounds | No | Number of debate rounds. Round 1 = independent answers; rounds 2..N = critique/refine. Defaults to config. | |
| context | No | Code, constraints, data, or background the participants should consider. Paste relevant source here. | |
| options | No | Candidate options/approaches to evaluate and rank. If omitted, participants propose their own. | |
| synthesizer | No | Participant id to act as final synthesizer. Defaults to config.defaultSynthesizer. | |
| participants | No | Filter to these participant ids. Defaults to all enabled participants in config. | |
| writeTranscript | No | Whether to write the full markdown transcript to disk. Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rounds | Yes | ||
| degraded | Yes | ||
| consensus | Yes | ||
| disagreements | Yes | ||
| rankedOptions | Yes | ||
| synthesizerId | Yes | ||
| recommendation | Yes | ||
| transcriptPath | No | ||
| participantsUsed | Yes | ||
| participantsFailed | Yes |