Skip to main content
Consensus mode enables multiple AI models to collaborate on a task through a structured process of proposing solutions, voting, and synthesizing the best approach.

Usage

TUI (Interactive)

CLI

Examples

How It Works

1

Proposal Phase

Each agent independently proposes a solution to the task. They receive project structure context but don’t see other agents’ proposals to avoid bias.
2

Voting Rounds

Agents review all proposals and vote for the best one, providing reasoning. Multiple voting rounds allow positions to evolve.
3

Synthesis

A synthesizer agent analyzes the votes, identifies the winning proposal, and creates a unified final solution incorporating the best ideas.

Configuration

TUI Settings

Configure consensus options via /settings → Collaboration tab:

CLI Flags

Actions After Consensus

After consensus completes, you can:

Project Context

Consensus mode automatically provides project structure to all agents, enabling them to make informed proposals that reference actual files and directories in your codebase.

Keyboard Shortcuts

Best Practices

Use consensus for architectural decisions - When there are multiple valid approaches, consensus helps explore options and reach agreement.
Requires 2+ agents - Consensus needs at least two models to vote and reach agreement.

Example Output