Inferensys

Prompt

Arbitration Prompt for Conflicting Sub-Task Outputs

A practical prompt playbook for resolving incompatible outputs from multiple sub-agents using evidence comparison, confidence weighting, and tie-breaking rules in production multi-agent systems.
Developer reviewing multi-agent chat interface on laptop, agent conversation logs visible, casual coding session at WeWork desk.
PROMPT PLAYBOOK

When to Use This Prompt

Identifies the specific failure mode this prompt addresses and the conditions under which it should and should not be deployed.

This prompt is designed for evaluation engineers and orchestration system builders who face a specific failure mode in multi-agent pipelines: two or more sub-agents produce outputs that individually pass validation but are mutually incompatible. The prompt acts as an arbitrator, comparing evidence, weighing confidence scores, applying tie-breaking rules, and producing a single reconciled output with a traceable decision record. Use this when your orchestrator detects a conflict between validated sub-task results and needs a structured resolution before passing data to downstream agents or end users.

The ideal deployment context is a production pipeline where sub-agents operate under strict input/output contracts and each output has already passed its own validation gate. The orchestrator should invoke this arbitration prompt only after detecting a semantic conflict—not a formatting or schema mismatch. For example, if Agent A extracts a contract effective date of '2024-03-15' with 0.92 confidence and Agent B extracts '2024-03-22' with 0.88 confidence, both pass date-format validation but cannot both be correct. The arbitration prompt receives both outputs, their evidence chains, confidence scores, and any tie-breaking rules (e.g., prefer the agent with access to the original signed document over the one using OCR text). It must produce a single reconciled date and a decision record explaining why one was chosen over the other.

Do not use this prompt for simple majority voting across more than two agents—that pattern is better served by a lightweight aggregation function. Do not use it for conflicts that should escalate to a human immediately, such as safety-critical determinations, regulatory findings, or decisions where the cost of a wrong arbitration exceeds the cost of re-executing both sub-tasks with different instructions. Do not use it when the conflict stems from ambiguous or missing input data rather than agent disagreement; in that case, a clarification request to the user or upstream system is the correct path. If your pipeline lacks per-output confidence scores or evidence traces, add those before attempting automated arbitration, because the prompt's reasoning quality depends entirely on the quality of the evidence it receives.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Arbitration Prompt delivers value and where it introduces risk. Use this to decide whether to route conflicting sub-task outputs to an arbitrator or handle the conflict in application logic.

01

Good Fit: High-Stakes Reconciliation

Use when: two or more specialized agents produce incompatible outputs that both pass individual validation, and the cost of an incorrect final answer is high. Guardrail: require the arbitrator to cite specific evidence from each agent's output and explain its weighting decision before producing the reconciled result.

02

Bad Fit: Simple Majority Voting

Avoid when: the conflict can be resolved by counting identical outputs from redundant agents. Guardrail: use a lightweight aggregation function in application code instead of consuming context budget on an LLM call. Reserve the arbitration prompt for semantic conflicts where outputs disagree in structure or reasoning, not just in value.

03

Required Inputs

What you must provide: the original task definition, each agent's full output with its confidence score, the validation results that each output passed, and the specific conflict description. Guardrail: never send agent outputs to the arbitrator without their validation evidence—the arbitrator needs to know why each output was considered valid before it can resolve the conflict.

04

Operational Risk: Arbitration Drift

What to watch: the arbitrator may introduce its own interpretation bias, especially when both agent outputs are plausible but rest on different assumptions. Guardrail: log every arbitration decision with the evidence comparison, tie-breaking rule applied, and confidence delta. Run periodic audits comparing arbitrator decisions against ground truth or human reviewer judgments.

05

Operational Risk: Context Budget Blowout

What to watch: sending multiple full agent outputs plus validation evidence to the arbitrator can consume significant context window, especially in long chains. Guardrail: implement a summarization step that extracts only the conflicting claims and their supporting evidence before arbitration. Set a hard token limit on the arbitration input and track budget utilization per call.

06

When to Skip Arbitration

Avoid when: one agent's output has significantly higher confidence and the conflict is low-impact. Guardrail: implement a pre-arbitration gate that checks confidence deltas. If the gap exceeds a threshold and the higher-confidence output is from a more specialized agent, route directly to the final answer without arbitration. Log the skip decision for audit.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A reusable arbitration prompt with square-bracket placeholders for your orchestrator to populate when two sub-tasks produce conflicting outputs.

This prompt template is designed to be injected into your orchestrator's arbitration step when two or more sub-task outputs pass individual validation but produce incompatible results. The template forces the model to compare evidence, weight confidence, apply tie-breaking rules, and produce a single reconciled output rather than simply picking one answer or averaging incompatible values. Use it as the core of your conflict resolution harness, populating the placeholders with the specific conflicting outputs, their validation results, and your domain's resolution rules.

text
You are an arbitration agent responsible for resolving conflicts between sub-task outputs that have both passed individual validation but produce incompatible results.

## CONFLICTING OUTPUTS
[OUTPUT_A]

[OUTPUT_B]

## VALIDATION RESULTS
Output A validation: [VALIDATION_RESULT_A]
Output B validation: [VALIDATION_RESULT_B]

## EVIDENCE AND SOURCES
Output A evidence: [EVIDENCE_A]
Output B evidence: [EVIDENCE_B]

## DOMAIN CONTEXT
[DOMAIN_CONTEXT]

## TIE-BREAKING RULES
Apply these rules in order when evidence and confidence are equal:
1. [TIE_BREAK_RULE_1]
2. [TIE_BREAK_RULE_2]
3. [TIE_BREAK_RULE_3]

## RESOLUTION CONSTRAINTS
- Do not average or merge incompatible values unless explicitly allowed by [MERGE_POLICY]
- If neither output can be trusted, produce an explicit abstention with reasoning
- Flag any output that appears correct but relies on hallucinated or unverifiable evidence
- Preserve uncertainty: if the resolution is low-confidence, state that explicitly

## REQUIRED OUTPUT SCHEMA
Return a JSON object with exactly these fields:
{
  "reconciled_output": <the single resolved result, or null if abstention>,
  "selected_source": "output_a" | "output_b" | "merged" | "neither",
  "confidence": <float 0.0 to 1.0>,
  "evidence_comparison": {
    "output_a_strengths": [<list of specific strengths with source references>],
    "output_b_strengths": [<list of specific strengths with source references>],
    "output_a_weaknesses": [<list of specific weaknesses or missing evidence>],
    "output_b_weaknesses": [<list of specific weaknesses or missing evidence>]
  },
  "tie_breaker_applied": <which rule was used, or null>,
  "unresolved_issues": [<list of remaining uncertainties or conflicts>],
  "recommendation": <one-sentence guidance for downstream consumers>
}

## RISK LEVEL
[RISK_LEVEL]

## ADDITIONAL INSTRUCTIONS
[CONSTRAINTS]

Adapt this template by tightening the tie-breaking rules to match your domain's actual resolution logic. If your system has access to ground truth or authoritative sources, add a [GROUND_TRUTH] placeholder and require the model to compare both outputs against it. For high-risk domains, add a human_review_required boolean to the output schema and set it to true when confidence falls below your threshold. Wire the output into a post-arbitration validator that checks schema compliance, confidence thresholds, and whether the selected source aligns with the evidence comparison before the reconciled output reaches downstream consumers.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the arbitration prompt. Each variable must be populated before the prompt is assembled. Missing or malformed inputs are the most common cause of arbitration failures.

PlaceholderPurposeExampleValidation Notes

[CONFLICTING_OUTPUTS]

Array of sub-task outputs that passed individual validation but conflict with each other

[{"agent": "pricing_agent", "output": {"price": 149.99}}, {"agent": "competitor_agent", "output": {"price": 129.00}}]

Must contain at least 2 outputs. Each entry requires agent identifier and output payload. Reject if array length < 2.

[ORIGINAL_TASK]

The parent task that spawned the conflicting sub-tasks, providing context for resolution

{"task_id": "t-442", "description": "Determine optimal launch price for product X in US market", "constraints": ["Must be profitable", "Must undercut competitor Y"]}

Must include task_id and description. Constraints field optional but recommended. Reject if task_id is missing or empty.

[EVIDENCE_SOURCES]

Ground-truth evidence, source documents, or data each agent used to produce its output

[{"agent": "pricing_agent", "source": "internal_cost_model_v3", "timestamp": "2025-01-15T10:00:00Z"}]

Each entry must map to an agent in CONFLICTING_OUTPUTS. Timestamp required for staleness checks. Null allowed if agent used no external source.

[CONFIDENCE_SCORES]

Per-agent confidence scores from their original execution

[{"agent": "pricing_agent", "confidence": 0.92}, {"agent": "competitor_agent", "confidence": 0.78}]

Must be a float between 0.0 and 1.0. Reject if any score is outside range or missing. Used for tie-breaking when evidence comparison is inconclusive.

[TIE_BREAKING_POLICY]

Predefined rule for resolving conflicts when evidence and confidence are equal

prefer_higher_confidence | prefer_most_recent | escalate_to_human | prefer_agent_role_priority

Must match one of the enumerated policy values. Reject if value is not in allowed set. Policy 'escalate_to_human' must trigger human review workflow.

[OUTPUT_SCHEMA]

Expected structure for the reconciled output

{"type": "object", "properties": {"resolved_value": {"type": "number"}, "rationale": {"type": "string"}, "discarded_alternatives": {"type": "array"}}, "required": ["resolved_value", "rationale"]}

Must be valid JSON Schema. Reject if schema parse fails. Required fields must be present in final output or arbitration is considered failed.

[CONSTRAINTS]

Hard constraints the reconciled output must satisfy, inherited from the original task

["Price must be between 100 and 200", "Must not exceed competitor Y price by more than 10%"]

Each constraint must be a testable boolean condition. Reject if constraints are vague or untestable. Post-arbitration validation must check all constraints.

[ARBITRATION_HISTORY]

Previous arbitration attempts for this task, if any, to prevent loops

null | [{"attempt": 1, "timestamp": "2025-01-15T11:00:00Z", "result": "inconclusive", "reason": "equal confidence"}]

Null allowed on first attempt. If non-null, must be an array of prior attempts with timestamps. Reject if more than 3 prior attempts without escalation trigger.

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the arbitration prompt into an orchestrator with pre-checks, post-validation, and escalation paths.

The arbitration prompt is not a standalone module; it is a decision node inside a multi-agent orchestrator. It fires only when two or more sub-task outputs pass their individual validation contracts but produce incompatible results. The orchestrator must first confirm that each output is individually valid—schema checks pass, required fields are present, and quality thresholds are met—before invoking arbitration. If any output fails its own validation, the orchestrator should retry or escalate that sub-task instead of arbitrating. This gate prevents the arbitrator from wasting tokens on outputs that should have been rejected earlier.

Wire the prompt into an arbitration_step function that accepts a list of conflicting outputs, their associated confidence scores, the original task context, and any ground-truth or reference data available. Before calling the model, run a pre-check: verify that at least two outputs exist, that they differ on a material field (not just formatting), and that each output's sub-task ID and agent role are traceable. After the model returns a reconciled output, apply a post-validation layer: confirm the output conforms to the expected schema, that the evidence_comparison field references specific claims from each input, and that the tie_breaking_rule field explains why one output was preferred. If the arbitrator's own confidence score falls below a configured threshold (e.g., 0.7), route to human review with the full conflict package. Log the arbitration decision, the inputs, the reconciled output, and the confidence score for audit trails and regression testing.

Model choice matters here. Arbitration requires careful reasoning over conflicting evidence, so prefer models with strong comparative reasoning (e.g., Claude 3.5 Sonnet, GPT-4o). Avoid lightweight models for high-stakes domains like finance or healthcare. Set temperature low (0.0–0.2) to reduce variance in tie-breaking. Implement a retry budget: if post-validation fails (malformed JSON, missing required fields), retry once with the validation error injected into the prompt as [PREVIOUS_FAILURE]. If the second attempt fails, escalate to a human operator with the raw inputs and failure context. Never loop more than twice—silent failures in arbitration erode trust faster than a clean escalation. For production systems, pair this prompt with an eval harness that compares arbitration decisions against known ground-truth resolutions to measure arbitration accuracy over time.

IMPLEMENTATION TABLE

Expected Output Contract

Fields, types, and validation rules for the reconciled output produced by the arbitration prompt. Use this contract to validate the arbitrator's response before accepting it as the final answer.

Field or ElementType or FormatRequiredValidation Rule

reconciled_output

object

Must be a valid JSON object matching the original sub-task output schema. Schema mismatch triggers rejection.

reconciled_output.value

any

Must not be null unless the arbitration explicitly concludes no value can be produced. Null requires a non-null conflict_explanation.

conflict_explanation

string

Must be non-empty and describe the specific conflict between sub-task outputs. Minimum 20 characters. Must reference sub-task IDs present in the input.

evidence_comparison

array of objects

Each element must contain sub_task_id (string), evidence_summary (string, min 10 chars), and confidence_score (number, 0.0-1.0). Array must have at least 2 entries.

tie_breaking_rule_applied

string

Must match one of the allowed enum values: confidence_weighted, source_authority, recency, majority_vote, human_escalation, or custom. Custom requires a non-empty tie_breaking_justification.

tie_breaking_justification

string

Required only when tie_breaking_rule_applied is custom. Must be non-empty and explain the reasoning. Otherwise null.

confidence_score

number

Must be a float between 0.0 and 1.0 inclusive. Scores below 0.5 should trigger a human review flag in the calling system.

unresolved_items

array of strings

Must be an array. Each string must describe a specific unresolved point. Empty array is valid if all conflicts are resolved. Null is invalid.

PRACTICAL GUARDRAILS

Common Failure Modes

Arbitration prompts fail in predictable ways when reconciling conflicting sub-task outputs. These cards cover the most common failure modes, why they happen, and how to guard against them before they reach production.

01

False Consensus from Surface Agreement

What to watch: The arbitration prompt selects a compromise that sounds plausible but is factually wrong because both sub-task outputs share the same incorrect assumption. The model treats agreement as correctness rather than examining evidence independently. Guardrail: Require the arbitrator to list the evidence each sub-task relied on, flag when both cite the same source or assumption, and cross-check against a ground-truth snippet before reconciling.

02

Confidence Inflation Without Calibration

What to watch: Sub-tasks report high confidence scores that are not calibrated against actual accuracy, and the arbitrator trusts those scores to break ties. An overconfident wrong answer wins over a cautious correct one. Guardrail: Include historical calibration data in the arbitration context. Instruct the arbitrator to discount raw confidence scores and instead weigh evidence quality, source recency, and past accuracy per sub-task type.

03

Majority-Vote Bias in Small Agent Pools

What to watch: With only two or three sub-tasks, a simple majority vote can produce the wrong answer when the minority is correct. The arbitrator defaults to counting rather than reasoning. Guardrail: Explicitly instruct the arbitrator that tie-breaking is evidence-based, not vote-based. Require a written justification that references specific conflicting claims and explains why one evidence chain is stronger, regardless of how many agents produced each answer.

04

Silent Information Loss During Reconciliation

What to watch: The arbitrator produces a clean reconciled output that drops important nuance, caveats, or uncertainty markers present in the original sub-task outputs. The final answer looks confident but hides unresolved disagreement. Guardrail: Require the arbitrator to include a retained_uncertainty field, list any claims that were downgraded or removed, and flag items where the reconciliation reduced precision. Validate that critical caveats survive the merge.

05

Arbitrator Hallucination of Missing Evidence

What to watch: When sub-task outputs are sparse or contradictory, the arbitrator invents bridging facts or cites sources that neither sub-task actually referenced. The output reads well but introduces new errors. Guardrail: Constrain the arbitrator to only use evidence explicitly present in the sub-task outputs or a provided ground-truth context. Add a validator that checks every factual claim in the reconciled output against the input sources and flags unsupported statements.

06

Ordering Bias from Input Sequence

What to watch: The arbitrator favors the first or last sub-task output presented, especially when the conflict is subtle. The model's attention mechanism overweights position rather than evidence quality. Guardrail: Randomize sub-task output order in the arbitration prompt, run multiple arbitration passes with different orderings, and flag outputs where the reconciled answer changes based on input sequence. Use consistency across orderings as a quality signal.

IMPLEMENTATION TABLE

Evaluation Rubric

Criteria for testing arbitration quality against ground truth before shipping. Use these checks to measure whether the arbitrator correctly resolves conflicting sub-task outputs and produces a trustworthy reconciled result.

CriterionPass StandardFailure SignalTest Method

Correct Winner Selection

Arbitrator selects the sub-task output that matches ground truth when one output is correct and the other is incorrect

Arbitrator selects the incorrect output, produces a blended result that contradicts ground truth, or returns 'unresolvable' when a clear correct answer exists

Run 50+ conflict pairs with known ground truth; measure selection accuracy against labeled correct output

Evidence Comparison Completeness

Arbitrator explicitly compares evidence from both conflicting outputs, citing specific claims and sources from each before deciding

Arbitrator picks a winner without referencing evidence from both sides, or cites evidence from only one sub-task output

Parse arbitration output for evidence citations from both [OUTPUT_A] and [OUTPUT_B]; flag decisions lacking cross-referenced evidence

Confidence Weighting Accuracy

Arbitrator assigns higher weight to the sub-task output with higher reported confidence when that output matches ground truth

Arbitrator overrides confidence signals without justification, or weights low-confidence output above high-confidence output when ground truth favors the high-confidence side

Compare arbitrator's confidence weighting against sub-task confidence scores and ground truth; measure rank correlation

Tie-Breaking Rule Consistency

Arbitrator applies the same tie-breaking logic across similar conflict types; documented rules produce predictable outcomes

Arbitrator resolves identical conflict patterns differently across test cases, or applies undocumented heuristics that produce inconsistent results

Run 20+ conflict pairs with identical structure but different content; measure decision consistency across pairs

Reconciled Output Schema Compliance

Reconciled output matches the [OUTPUT_SCHEMA] exactly, with all required fields present and correctly typed

Reconciled output is missing required fields, contains extra fields not in schema, or uses wrong types for schema-defined fields

Validate reconciled output against [OUTPUT_SCHEMA] using JSON Schema validator; flag any schema violations

Uncertainty Declaration Accuracy

Arbitrator declares uncertainty when both sub-task outputs have low confidence or evidence is genuinely ambiguous; does not fabricate certainty

Arbitrator produces high-confidence reconciled output when both inputs are low-confidence, or claims certainty when ground truth is ambiguous

Compare arbitrator's declared confidence against inter-annotator agreement on ground truth; measure calibration error

Source Grounding Preservation

Reconciled output preserves all verifiable source citations from the selected sub-task output without introducing hallucinated citations

Reconciled output drops citations present in the winning sub-task output, or adds citations not present in either input

Extract citations from reconciled output; diff against citations in [OUTPUT_A] and [OUTPUT_B]; flag any added or missing citations

Conflict Explanation Quality

Arbitrator produces a clear explanation of what the conflict was, why one output was preferred, and what evidence drove the decision

Arbitrator provides no explanation, a circular explanation, or an explanation that contradicts the evidence cited

Human review of 30+ conflict explanations; rate clarity and faithfulness on 1-5 scale; flag explanations scoring below 3

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Add strict schema validation on the arbitration output. Wrap the prompt in a retry loop: if the reconciled output fails validation against [OUTPUT_SCHEMA], feed the validation error back into a correction prompt. Log every arbitration decision with the original conflicting outputs, the evidence comparison, and the final selection for audit trails.

Add a tie-breaking rule override: "If confidence is below [CONFIDENCE_THRESHOLD], do not guess. Return selected_output: null and set escalation_required: true."

Watch for

  • Silent format drift when the model changes the output shape under retry
  • Confidence scores that are consistently overconfident—calibrate against ground truth
  • Missing human review triggers when both sub-task outputs have similar evidence quality
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.