> ## Documentation Index
> Fetch the complete documentation index at: https://docs.puzld.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Multi-Agent Modes

> Overview of PuzldAI's collaborative AI workflows

PuzldAI supports multiple modes for orchestrating AI models to work together on tasks.

## Available Modes

> [card] [Compare](https://docs.puzld.cc/modes/compare.md)
>
> Run the same prompt on multiple models and compare responses side-by-side.

> [card] [Debate](https://docs.puzld.cc/modes/debate.md)
>
> Multi-round discussion where models argue and refine their positions.

> [card] [Correction](https://docs.puzld.cc/modes/correction.md)
>
> One model produces, another reviews and optionally fixes.

> [card] [Consensus](https://docs.puzld.cc/modes/consensus.md)
>
> Models propose solutions, vote on the best approach, and synthesize a final answer.

## When to Use Each Mode

| Mode | Best For |
| - | - |
| **Compare** | Getting diverse perspectives, choosing between approaches |
| **Debate** | Exploring trade-offs, uncovering edge cases |
| **Correction** | Quality assurance, code review, fact-checking |
| **Consensus** | Complex decisions requiring agreement, architectural choices |

## Quick Examples

### Compare Mode

```bash theme={null}
/compare claude,gemini "Write a function to parse JSON safely"
```

### Debate Mode

```bash theme={null}
/debate claude,gemini "Should we use GraphQL or REST for this API?"
```

### Correction Mode

```bash theme={null}
/correct claude gemini "Implement binary search"
```

### Consensus Mode

```bash theme={null}
/consensus claude,gemini,codex "Design the database schema for a todo app"
```

## Background Execution

All multi-agent modes support background execution:

* Press **Escape** to hide the view and return to chat (execution continues)
* Press **Ctrl+E** to return and check progress
* Press **Ctrl+C** to cancel the operation

A status indicator shows progress when running in the background.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.