This prompt is for multi-agent system architects who need a deterministic, auditable process to resolve conflicts when two or more specialized agents receive contradictory instructions. The core job-to-be-done is producing a structured arbitration decision that declares which agent's instruction wins, justifies the decision based on a predefined authority hierarchy, and specifies safe handoff rules so the system does not silently execute conflicting directives. The ideal user is an AI platform engineer or technical lead responsible for agent coordination logic in a production system where agents have overlapping capabilities but different policy scopes—for example, a customer-facing agent that must prioritize safety policy over a backend data agent that prioritizes data freshness.
Prompt
Multi-Agent Instruction Conflict Arbitration Prompt

When to Use This Prompt
Define the job, reader, and constraints for the Multi-Agent Instruction Conflict Arbitration Prompt.
Use this prompt when you have a known agent authority hierarchy, a clear conflict to resolve, and a need for a machine-readable arbitration record that can be logged, audited, and fed into downstream execution logic. It is appropriate for systems where agent roles are stable and the conflict is between instructions, not between ambiguous user intents. Do not use this prompt for real-time user-facing clarification dialogs, for resolving conflicts between user requests and system policy (use the User Override vs System Policy Conflict Resolution Prompt instead), or for detecting hidden conflicts in system prompts before deployment (use the System Prompt Conflict Audit Prompt). This prompt assumes the conflict has already been detected and surfaced; it does not perform conflict discovery.
The prompt requires several structured inputs: an agent authority hierarchy with explicit precedence rules, the conflicting instructions from each agent, the context in which the conflict arose, and any relevant tool outputs or evidence. The output is a strict JSON arbitration record containing the winning instruction, a justification traceable to the hierarchy, handoff constraints, and a confidence score. Before shipping this prompt into production, you must validate that the output JSON conforms to the expected schema, test it against known conflict scenarios where the correct winner is unambiguous, and log every arbitration decision for audit review. In high-risk domains such as healthcare or finance, every arbitration decision must be routed to a human approval queue before execution, and the justification field must cite specific hierarchy rules rather than relying on model-generated rationalization.
Use Case Fit
Where the Multi-Agent Instruction Conflict Arbitration Prompt works, where it fails, and the operational preconditions required before you put it in front of real agent traffic.
Good Fit: Multi-Agent Systems with Defined Roles
Use when: you have specialized agents (researcher, coder, reviewer) that receive contradictory instructions from different sources. Guardrail: each agent must have a documented role definition and authority scope before arbitration can be meaningful.
Bad Fit: Single-Agent or Monolithic Prompt Setups
Avoid when: all instructions live in one system prompt with no agent boundaries. Risk: arbitration adds complexity without benefit when there are no distinct agents to arbitrate between. Use instruction priority stacking instead.
Required Input: Agent Authority Hierarchy
What to watch: arbitration fails silently without a predefined authority ranking. Guardrail: provide an explicit agent authority hierarchy (e.g., safety agent > compliance agent > task agent) before invoking conflict resolution.
Required Input: Handoff Contracts
What to watch: agents may resolve conflicts but fail to communicate decisions downstream. Guardrail: define handoff schemas that include the arbitration decision, winning directive, and override justification so subsequent agents act on resolved instructions.
Operational Risk: Silent Authority Creep
Risk: agents gradually expand their authority scope across repeated conflicts without explicit re-authorization. Guardrail: log every arbitration decision with the agent, directive, and precedence rule applied; review logs weekly for authority drift patterns.
Operational Risk: Arbitration Latency in Real-Time Systems
Risk: conflict arbitration adds inference steps that break latency budgets in real-time agent pipelines. Guardrail: set a maximum arbitration depth (e.g., 2 rounds) and fall back to a default precedence rule when the timeout is exceeded.
Copy-Ready Prompt Template
A reusable arbitration prompt for resolving conflicts when multiple specialized agents receive contradictory instructions.
This prompt template acts as a central arbiter in a multi-agent system. Its job is to receive a set of conflicting instructions from different specialized agents, evaluate them against a defined authority hierarchy and the system's core policies, and produce a binding arbitration decision. The template is designed to be wrapped in an API endpoint where a coordinator agent can submit conflicts and receive structured resolutions that downstream agents or orchestrators can execute. Before using this template, you must define your agent authority hierarchy, your non-negotiable safety and compliance policies, and the expected output schema for your arbitration decisions.
codeSYSTEM: You are the Instruction Conflict Arbiter for a multi-agent system. Your sole function is to resolve contradictory instructions received from specialized agents. You do not execute tasks; you only decide which instruction takes precedence. ## ARBITRATION PROTOCOL 1. **Receive Conflict Report:** You will be given a [CONFLICT_DESCRIPTION] containing the contradictory instructions and the IDs of the agents that issued them. 2. **Consult Authority Hierarchy:** Resolve the conflict by strictly applying the following agent authority hierarchy. A higher-ranked agent's instruction always overrides a lower-ranked agent's instruction on its subject matter domain. [AGENT_AUTHORITY_HIERARCHY] 3. **Apply Non-Negotiable Policies:** Regardless of the hierarchy, any instruction that violates one of the following core policies is automatically invalid. If all instructions violate policy, the default safe action is [DEFAULT_SAFE_ACTION]. [NON_NEGOTIABLE_POLICIES] 4. **Generate Arbitration Decision:** Produce a final decision in the specified [OUTPUT_SCHEMA] format. ## CONSTRAINTS - Never fabricate an agent's authority. If an agent is not in the hierarchy, its instructions are ranked lowest. - If the conflict is outside the domain of any specialized agent, flag it for [HUMAN_ESCALATION_QUEUE]. - Your reasoning must be traceable to a specific rule in the hierarchy or a specific non-negotiable policy. USER: **Conflict Report:** [CONFLICT_DESCRIPTION] **Output Schema:** Generate your response strictly according to this JSON schema: [OUTPUT_SCHEMA]
To adapt this template, start by replacing the [AGENT_AUTHORITY_HIERARCHY] placeholder with a concrete, ranked list of your agents and their scoped domains of authority (e.g., '1. SafetyAgent: authority over all PII redaction and content safety. 2. FinanceAgent: authority over transaction execution and refund policies.'). Next, populate [NON_NEGOTIABLE_POLICIES] with clear, binary rules that cannot be overridden by any agent (e.g., 'Never expose a user's full social security number.'). The [DEFAULT_SAFE_ACTION] should be a single, safe fallback instruction like 'Escalate to human operator and halt the workflow.' Finally, define a strict [OUTPUT_SCHEMA] for your application to parse, including fields like winning_agent_id, final_instruction, justification, and escalation_required. For high-risk deployments, always log the full [CONFLICT_DESCRIPTION] and the arbiter's output for audit and evaluation purposes.
Prompt Variables
Required inputs for the Multi-Agent Instruction Conflict Arbitration Prompt. Each variable must be populated before the prompt is assembled and sent to the model. Missing or malformed inputs are the most common cause of arbitration failures in production.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[AGENT_MANIFEST] | JSON array describing each agent's role, authority level, and active instructions | [{"agent_id": "research_agent", "authority_level": 3, "instructions": ["Search only public sources", "Return raw findings without interpretation"]}] | Schema check: each object must include agent_id (string), authority_level (integer 1-5), and instructions (non-empty string array). Reject if any agent has zero instructions. |
[CONFLICT_DESCRIPTION] | Natural language description of the detected conflict between two or more agents | "Research agent insists on returning raw data, but the analysis agent requires structured summaries before handoff." | Parse check: must be non-empty string with minimum 20 characters. Null not allowed. Fuzzing harness should inject ambiguous descriptions to test arbitration robustness. |
[AUTHORITY_HIERARCHY] | Explicit ranking defining which agent's directives win at each authority level | {"level_5": ["orchestrator_agent"], "level_4": ["safety_agent"], "level_3": ["research_agent", "analysis_agent"]} | Schema check: must be valid JSON object with keys matching authority_level values from agent manifest. Every agent in manifest must appear in hierarchy. Reject if orphan agents exist. |
[HANDOFF_PROTOCOL] | Rules governing how context and state transfer between agents during conflict resolution | {"state_transfer": "full", "conflict_flag": true, "resolution_required_within": 3, "escalation_target": "orchestrator_agent"} | Schema check: must include state_transfer (enum: full, summary, none), conflict_flag (boolean), resolution_required_within (integer turns), escalation_target (valid agent_id or null). Reject if escalation_target references nonexistent agent. |
[PRIOR_PRECEDENCE_RECORDS] | Array of prior arbitration decisions for similar conflict patterns, used as few-shot context | [{"conflict_type": "tool_output_vs_policy", "winner": "policy", "rationale": "Safety policy overrides unverified tool output"}] | Parse check: array allowed to be empty if no prior records exist. Each record must include conflict_type (string), winner (string matching an agent_id or policy label), and rationale (non-empty string). Null allowed for first arbitration run. |
[TENANT_POLICY_OVERRIDES] | Tenant-specific rules that modify the default authority hierarchy for specific deployments | {"tenant_id": "enterprise_acme", "overrides": [{"agent_id": "compliance_agent", "effective_authority": 5}]} | Schema check: overrides array allowed to be empty. Each override must include agent_id (must exist in manifest) and effective_authority (integer 1-5). Reject if override creates circular authority loops. Null allowed if no tenant context. |
[CONFIDENCE_THRESHOLD] | Minimum confidence score required before arbitration decision is applied automatically | 0.85 | Range check: must be float between 0.0 and 1.0. Values below 0.7 trigger mandatory human review flag. Reject if value is string or integer type. Used to gate autonomous vs escalated resolution. |
Implementation Harness Notes
How to wire the arbitration prompt into a multi-agent orchestration layer with validation, retries, logging, and human escalation.
The Multi-Agent Instruction Conflict Arbitration Prompt is not a standalone chat interface; it is a decision function inside an agent orchestration runtime. Wire it into your application as a synchronous or asynchronous call that fires when a conflict detector flags contradictory instructions between two or more specialized agents. The harness must supply the conflicting agent instructions, the current task context, the agent authority hierarchy, and any relevant tool outputs or user overrides. The prompt returns a structured arbitration decision—typically JSON—that the orchestrator uses to resolve the conflict, route work, or escalate to a human reviewer. Do not rely on the model to detect conflicts on its own; implement a separate conflict detection step (see the Multi-Directive Conflict Detection Prompt playbook) that triggers this arbitration prompt only when a collision is confirmed.
Build the harness with these concrete components: Input validation—reject calls where the agent authority hierarchy is missing, circular, or ambiguous. The hierarchy must be a strict partial order (e.g., safety_agent > compliance_agent > task_agent > user_override). Output validation—parse the model's JSON response and verify it contains required fields: arbitration_decision (which agent wins), justification, handoff_instructions, and escalation_flag. If the output fails schema validation, retry once with the validation error injected into the retry prompt. Retry logic—use exponential backoff with a maximum of two retries. On the second failure, log the full input-output pair and escalate to a human review queue. Logging—capture every arbitration call with a unique conflict_id, the agent instructions involved, the model's decision, the confidence score, and whether the decision was auto-applied or escalated. This log becomes your audit trail for governance reviews and priority inversion debugging. Model choice—use a model with strong instruction-following and structured output capabilities (e.g., GPT-4o, Claude 3.5 Sonnet). Avoid smaller or older models that may collapse the priority hierarchy under complex multi-agent scenarios. Tool use—this prompt does not call tools directly; it produces a decision that the orchestrator executes. However, the harness should expose the arbitration decision to downstream tool authorization checks so that a winning agent does not exceed its tool-use boundaries.
Before deploying, build a regression test harness that replays known conflict scenarios and verifies the arbitration decision matches expected precedence. Include adversarial cases where two agents claim equal authority, where a user override contradicts a safety policy, and where tool outputs disagree with system instructions. Measure decision consistency across multiple runs—if the model flips its arbitration more than 5% of the time on identical inputs, the prompt or the hierarchy needs tightening. Wire the escalation flag into your incident management system so that high-severity conflicts (e.g., safety vs. user intent) trigger immediate human review. Finally, version your agent authority hierarchy alongside your system prompts; a change in agent roles or precedence rules must trigger a re-evaluation of all arbitration test cases. Do not treat this prompt as fire-and-forget—it is a runtime policy enforcement point that requires the same operational rigor as your authorization and routing infrastructure.
Expected Output Contract
Defines the required fields, types, and validation rules for the arbitration decision object returned by the Multi-Agent Instruction Conflict Arbitration Prompt. Use this contract to build post-processing validators and integration logic.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
arbitration_id | string (UUID v4) | Must match UUID v4 regex. Reject if missing or malformed. | |
conflict_summary | string | Must be non-empty and under 500 characters. Reject if null or exceeds limit. | |
conflicting_agents | array of objects | Must contain exactly 2 objects. Each object must have 'agent_id' (string) and 'instruction' (string) fields. Reject if array length != 2 or required sub-fields are missing. | |
resolution_decision | string | Must be one of the allowed enum values: ['agent_a_priority', 'agent_b_priority', 'escalate', 'defer']. Reject on unknown value. | |
winning_agent_id | string | Must match the 'agent_id' of one of the conflicting agents. Reject if it does not match either agent in the 'conflicting_agents' array. | |
authority_hierarchy_applied | string | Must be a non-empty string describing the rule from the system prompt that was applied (e.g., 'SafetyAgent overrides TaskAgent'). Reject if null or empty. | |
handoff_instructions | string | null | If 'resolution_decision' is 'escalate', this field must be a non-empty string. Otherwise, it must be null. Reject if this constraint is violated. | |
confidence_score | number (0.0 to 1.0) | Must be a float between 0.0 and 1.0 inclusive. Reject if out of range or not a number. Trigger human review if below 0.8. |
Common Failure Modes
Multi-agent arbitration fails silently when authority is ambiguous, handoffs drop context, or conflicts cascade. These cards cover the most common production failure modes and how to guard against them.
Ambiguous Authority Leads to Deadlock
What to watch: Two agents receive equal priority scores and neither defers, causing the arbitration prompt to return an unresolved tie or a hallucinated resolution. Guardrail: Require a strict total ordering in the authority hierarchy. If two agents share a tier, include a tiebreaker rule based on recency, domain specificity, or explicit escalation to a meta-arbitrator.
Context Stripping During Handoff
What to watch: The arbitration prompt correctly selects an agent but passes only the winning instruction, dropping constraints from the overridden agent that were still required for safe execution. Guardrail: Include a context-preservation rule in the arbitration schema that requires all safety constraints from overridden agents to be forwarded alongside the winning instruction.
Cascading Conflicts Across Agent Chains
What to watch: Agent A defers to Agent B, but Agent B's output triggers a new conflict with Agent C, creating an arbitration loop that burns tokens without resolution. Guardrail: Implement a maximum arbitration depth per request. After N hops, force escalation to a human reviewer or a designated tiebreaker agent with override authority.
Silent Policy Violations in Arbitration Rationale
What to watch: The arbitration prompt produces a valid-looking decision but the justification reveals that a high-priority safety policy was ignored or misinterpreted during conflict resolution. Guardrail: Add a post-arbitration validation step that re-checks the winning instruction against all active safety policies before execution. Log arbitration rationales for audit sampling.
Simulation Harness Misses Production Conflict Patterns
What to watch: The cross-agent conflict testing harness uses synthetic conflicts that don't match real production collision patterns, giving false confidence in arbitration quality. Guardrail: Seed the simulation harness with production-derived conflict logs and adversarial edge cases. Continuously update the harness as new conflict patterns emerge from runtime collision logging.
Handoff Rules Ignore Agent Capability Boundaries
What to watch: The arbitration prompt routes work to an agent that lacks the tools or context to execute the winning instruction, causing downstream failure after arbitration succeeds. Guardrail: Include agent capability declarations in the arbitration context. Before finalizing a handoff, validate that the selected agent's declared capabilities cover the required actions.
Evaluation Rubric
Criteria for testing the quality of arbitration decisions before deploying the Multi-Agent Instruction Conflict Arbitration Prompt to production. Use this rubric to evaluate outputs against known conflict scenarios.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Authority Hierarchy Adherence | Arbitration decision correctly defers to the agent with the highest explicit authority rank defined in [AGENT_AUTHORITY_MAP] | Decision favors a lower-ranked agent without a valid override justification | Run 20 predefined conflict pairs with known authority rankings and assert the winner matches the hierarchy |
Conflict Classification Accuracy | Output correctly labels the conflict type as 'Direct Contradiction', 'Resource Contention', or 'Role Boundary Violation' | Conflict type is mislabeled or returned as 'Unknown' for a standard conflict scenario | Provide 15 synthetic conflict scenarios with pre-labeled types and check exact string match on the classification field |
Handoff Rule Generation | Proposed handoff rules include target agent, required context payload, and a pre-condition check | Handoff rule is missing the target agent or the required context payload schema | Parse the [HANDOFF_RULES] JSON block and validate against the required schema with a structural validator |
Justification Grounding | Justification cites at least one specific rule from [SYSTEM_POLICIES] or [AGENT_ROLE_DEFINITIONS] | Justification uses vague language like 'per policy' without citing a specific rule ID | Use a regex check for rule ID patterns in the justification text; fail if no match is found |
Safe Alternative Provision | When user intent is denied, output provides a concrete, actionable alternative that stays within policy bounds | Output returns a generic refusal without a safe alternative or suggests an action that violates another policy | LLM-as-Judge pairwise comparison against a golden set of approved alternatives; score must exceed 0.8 |
Escalation Threshold Logic | Decision to escalate to a human is triggered only when confidence score is below [CONFIDENCE_THRESHOLD] or risk level is 'HIGH' | Output escalates a low-risk, high-confidence conflict or fails to escalate a high-risk conflict | Assert that the escalation boolean matches the expected value based on the input confidence and risk parameters |
Multi-Agent Simulation Consistency | Arbitration outcome is consistent across 5 runs of the same conflict scenario in the simulation harness | Outcome flips between two different agents across runs without a change in input parameters | Run the simulation harness 5 times with a fixed seed and assert the winning agent ID is identical across all runs |
Output Schema Compliance | Output is valid JSON that parses successfully and contains all required fields: [CONFLICT_TYPE], [WINNING_AGENT], [JUSTIFICATION], [HANDOFF_RULES], [ESCALATION_FLAG] | JSON is malformed, missing a required field, or contains an extra field not in the [OUTPUT_SCHEMA] | Validate output against the JSON schema using a standard schema validator; fail on any parsing error or missing required field |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Start with the base arbitration prompt and a small set of 2-3 agents with clearly defined authority levels. Use a single-turn conflict scenario without tool calls. Replace the full simulation harness with a manual test: feed two contradictory agent instructions and check whether the arbitrator picks the higher-authority agent and explains why.
Simplify the output schema to only require winning_agent, winning_instruction, and arbitration_reason. Drop the handoff rules and confidence scoring until the core priority logic works.
Watch for
- The arbitrator defaulting to the most recent instruction instead of the highest-authority agent
- Missing agent authority declarations causing arbitrary tie-breaking
- Overly verbose justifications that bury the actual decision

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us