Essam ShaabanSr Software Engineer
Agentic AI pattern · Coordination mechanism

Consensus orchestration

Agents produce recommendations independently; a voting or agreement mechanism consolidates them into one decision.

In plain terms Like a jury: members decide independently, then a vote settles the verdict.

Last reviewed · Build from primitives Parallel answers plus a custom voting/aggregation step.

How it works

Several agents answer the same question independently; a voting or aggregation step selects the majority or best-supported answer.

Workflow: Input goes to Agents A, B and C independently; their recommendations go to a consensus mechanism, then a final decision.

Roles in the example

  • Bolt · Voter Recommends option A.
  • Nova · Voter Recommends option B.
  • Pixel · Voter Recommends option A.

At a glance

Pattern type
Coordination mechanism
Execution model
Parallel answers + vote
Coordination
Voting or weighted aggregation
Runs agents in parallel
Yes
Implementation complexity
Medium
Relative latency
Low · Parallel answers; one aggregation step
Relative operational cost
High · Every voter answers every request, so cost scales with the number of voters.
Predictability
Medium · Vote rule is deterministic; answers vary
Scalability
More voters improve robustness but raise cost linearly.

Complexity, latency, cost and predictability are qualitative ratings that compare these patterns with each other, not measured benchmarks.

When to use it

Good for: High-stakes decisions where you want to reduce single-model errors.

Use when

  • High-stakes classifications or decisions
  • Reducing variance of single-model answers
  • Answers can be compared or counted

Avoid when

  • Open-ended creative outputs that can’t be compared
  • Tight cost budgets
  • Voters share the same blind spots

Enterprise use cases

  • Fraud or risk classification
  • Content moderation decisions
  • Document labelling

Advantages and limitations

Advantages

  • More robust than a single answer
  • Simple, explainable decision rule
  • Parallel and fast

Limitations and trade-offs

  • Correlated errors defeat voting
  • Ties need a rule
  • Higher cost per decision

Security, oversight and failure handling

Security and governance

  • Independent voters with consistent filtering
  • Protect the aggregation step from tampering
  • Log every vote

Human oversight

Optional. Escalate to a person when agents disagree or confidence is low.

Failure handling and recovery

  • Tie-break or escalate to a human
  • Quorum rule when voters fail
  • Flag low-agreement results

Implementation guidance

Decisions to settle before building

  • Choose and document the voting rule (majority, weighted or unanimous) and the tie-break.
  • Make voters genuinely independent (different prompts, data or models), or the votes can repeat the same error.
  • Decide what happens without a clear majority, for example escalation to a person.

Supported technologies

TechnologySupportHow
Microsoft Agent FrameworkBuild from primitivesConcurrent orchestration with a custom aggregator
Microsoft FoundryCustom implementationCustom aggregation logic
Copilot StudioCustom implementationCustom logic

Availability notes

  • Released Agent Framework orchestrations (Python package). Released package since the 1.23 cohort (October 2026). Source

Code samples and step-by-step guides for Python, C#, Microsoft Foundry and Copilot Studio are in the interactive explorer’s Developer implementation section.

Official references

Last reviewed 5 December 2026 against Microsoft Agent Framework (Python 1.26 release line), Microsoft Foundry Agent Service, Copilot Studio. Platforms change often: confirm details in the linked documentation.