Consensus & Differences Engine

Consensus and Difference Engines explained.

A clear look at how consens.io combines model answers, checks disagreements, and keeps the judging layer independent.

OpenAI Claude Gemini Mistral DeepSeek Grok

Consensus Answer

Synthesizing consensus
Independent analysis checks claims and differences

How it works

The engine runs in four readable steps.

Technically, three roles are involved: the answer models produce independent raw responses, your selected Consensus Engine writes the synthesis, and a separate judge extracts agreement and conflict from the result.

POST /consensus Question, included model answers, excluded models, sources, and selected engine

The backend authenticates the user, checks tier and usage rules, caps client-sent text, and requires at least two included model answers.

1

Consensus Engine

stream_consensus()

  1. Build synthesis prompt Drop empty or excluded answers, shuffle the remaining responses, anonymize them as Expert A/B/C, and attach compact source provenance.
  2. Resolve selected engine The dropdown value maps to a provider model, including standard, early, direct model IDs, or Pro aliases.
  3. Stream the synthesis The selected engine writes the user-facing answer. Provider failures are retried twice, then a fallback family is tried when a key is available.
  4. Gate the second pass If the final consensus is empty or an error text, the comparison is skipped so the judge never analyzes an error message.
2

Differences Engine

stream_differences()

  1. Build judge prompt Use the consensus answer plus included source answers, cap each answer for the judge pass, shuffle, and anonymize as Model A/B/C.
  2. Pick an independent judge The judge tier follows the selected Consensus Engine, but the family is preferably different to reduce self-judging bias.
  3. Request strict JSON The judge returns claims, agreement and dissent, difference cards, severity, verification hints, and the closest source model.
  4. Verify and score The server repairs JSON if safe, maps labels back, verifies quotes and anchors, computes the agreement score, and records judge metadata.
SSE final payload consensus_response + differences_data + usage/share metadata

The UI renders the readable consensus, claim badges, agreement score, contradiction cards, and the judge note from the same final payload.

01

Six model families answer independently.

OpenAI, Claude, Gemini, Mistral, DeepSeek, and Grok receive the same prompt. Their original answers stay separate, so the synthesis never replaces the raw evidence.

02

The selected Consensus Engine writes the synthesis.

The engine you choose in the dropdown reads only the included answers, ignores excluded ones, and writes one response that preserves common ground plus necessary caveats.

03

A separate judge checks the consensus.

The Differences Judge extracts key claims, maps which models support or dissent, and preferably runs on a different model family than the synthesis engine.

04

The UI renders structured evidence.

The final payload contains the consensus text, agreement score, claim badges, contradiction cards, and judge metadata, so the interface can show what happened.

Model roles

Different models do different jobs.

The process is intentionally split. The model that writes the consensus is not treated as the only authority on whether the consensus is reliable.

Answer layer

OpenAI, Claude, Gemini, Mistral, DeepSeek, and Grok

These are the source answers. They are queried in parallel, shown to you directly, and then passed into the consensus step if they are not excluded.

Synthesis layer

The model selected in the Consensus dropdown

This model reads the included source answers and writes the combined response. Standard and Pro engines can both be used, depending on your selection.

Analysis layer

An independent Differences Judge

This judge extracts claims and contradictions from the synthesis. For independence, consens.io prefers a different model family from the Consensus Engine.

Differences Engine

The second pass turns disagreement into structured evidence.

After the consensus text is written, consens.io runs a separate analysis pass. Its job is not to rewrite the answer, but to explain how the source models support, qualify, or contradict it.

01

Inputs are filtered and anonymized.

Only non-empty, non-excluded model answers are used. Each answer is capped before analysis and then renamed to neutral labels like Model A, Model B, and Model C.

Why: anonymization and shuffled order reduce provider-name and position bias in the judge pass.

02

The judge must return strict JSON.

The prompt asks for central claims, agreeing models, dissenting quotes, difference cards, contradiction severity, verification hints, and the model closest to the consensus.

Types: contradiction for incompatible facts or conclusions, emphasis for different focus or missing context.

03

The judge is chosen independently.

The judge tier follows the selected Consensus Engine. Standard consensus uses a standard judge; Pro consensus tries a Pro judge from another model family.

Fallback: primary judge, retry, then the next available family; Pro attempts can fail open to a standard judge.

04

The server verifies and scores the result.

JSON is repaired if safely possible, model labels are mapped back, quotes are checked against the original answers, and unverifiable quotes are removed.

Output: agreement score, level, major/minor contradiction counts, emphasis counts, and judge metadata.

Structured payload

What comes out of the Differences Engine

claimsConsensus anchors, agreeing models, dissenting model quotes.
differencesContradiction or emphasis cards with positions and verification hints.
agreementA 0-100 score computed from claim support and weighted disagreement penalties.
judgesThe provider, model, and tier that actually delivered the analysis.
Caution (score 64/100): 1 critical contradiction Analysis by Gemini (Pro), independent of the consensus engine
Contradiction ยท major Does the caveat change the recommendation?

Position A supports the recommendation directly. Position B says the recommendation only holds under a specific condition.

What you see

A useful answer without pretending everything is settled.

The interface separates the parts you can read directly from the parts you should inspect.

Caution (score 82/100): the models disagree on one important caveat

Consensus Answer

Most models agree on the main recommendation.

The answer combines the repeated points, removes duplicated wording, and keeps caveats where the source answers were not fully aligned.

Main recommendation appears in most answers5/6
Important caveat needs context3/6

Why this helps

Consensus is a reading aid, not a magic truth label.

Less blind trust

One confident answer is not enough

Seeing several model families makes weak spots easier to notice before you act on an answer.

More signal

Agreement becomes visible

Repeated claims are separated from one-off claims, so you can scan the strongest common ground first.

Clear caveats

Disagreement stays in view

Contradictions are not averaged away. They are shown as specific points to inspect or verify.

FAQ

Common questions.

Is the consensus just the majority answer?

No. The engine writes a synthesis from the included model responses. Agreement matters, but the output is written as a readable answer with caveats, not as a simple vote.

Can I choose the Consensus Engine?

Yes. In the app you choose which consensus model should synthesize the answer. If you choose a Pro consensus engine, the differences analysis tries to use a Pro judge from another family.

Why use a different judge family?

If the same model family writes and judges the answer, it may be less likely to challenge its own framing. consens.io therefore prefers an independent family when available.

What happens if the Differences JSON is malformed?

The backend extracts or repairs a complete JSON object when it can do so safely. If the output still cannot be parsed, raw JSON is not shown to the user.

Try the flow

Ask once, compare the answers, then read the consensus with its caveats.

Open app