This prompt is for agent developers and infrastructure engineers who need an autonomous agent to update its internal belief state when presented with new evidence that contradicts previously accepted information. The core job-to-be-done is rational belief revision: the agent must not simply overwrite old facts with new ones, but must weigh source reliability, explain the conflict, adjust its confidence, and produce a revised, uncertainty-aware belief state that downstream agents or reasoning steps can safely consume. The ideal user is building a multi-agent system where a research agent, fact-checking agent, or knowledge-base agent must maintain a coherent world model across multiple turns and sources.
Prompt
Agent Belief Revision Prompt on Conflicting Evidence

When to Use This Prompt
Define the job, reader, and constraints for the Agent Belief Revision Prompt on Conflicting Evidence.
Use this prompt when the agent operates in an environment where information quality varies, sources may disagree, and the cost of acting on outdated or incorrect beliefs is high—such as in due diligence, intelligence analysis, scientific literature review, or incident investigation. The prompt requires the following inputs to be effective: the agent's current belief state (structured with claims, confidence scores, and source provenance), the new conflicting evidence (with its own source metadata), and a defined conflict resolution policy (e.g., prefer recency, prefer authority, require human review above a risk threshold). Do not use this prompt for simple fact-update tasks where no conflict exists, or for agents that do not maintain persistent, structured belief states. For stateless Q&A or single-turn retrieval, a standard RAG prompt with source conflict handling is more appropriate.
Before wiring this into a production agent loop, define the evaluation criteria for a successful revision. A valid revision must: (1) explicitly identify the conflicting claims, (2) explain why the conflict exists (source disagreement, temporal change, domain mismatch), (3) adjust confidence scores upward or downward with justification, (4) preserve the revision history for auditability, and (5) flag beliefs that now fall below an actionable confidence threshold. If the agent's revised belief will drive automated actions (e.g., triggering an alert, updating a database, or changing a downstream agent's plan), require a human-in-the-loop review step for any revision where the confidence delta exceeds a predefined boundary or where the risk level is marked high. Start with a well-defined belief schema and a small set of conflict scenarios before scaling to open-ended evidence streams.
Use Case Fit
Where the Agent Belief Revision Prompt adds value and where it introduces risk. This prompt is designed for rational belief updates, not for simple fact lookup or deterministic merging.
Good Fit: Multi-Source Research Synthesis
Use when: An agent ingests reports from multiple analysts or data feeds that may conflict. The prompt forces the model to reconcile contradictions rather than silently dropping evidence.
Guardrail: Require the output to include a conflict_map that explicitly pairs each contradiction with the conflicting sources.
Bad Fit: Deterministic Database Merges
Avoid when: You need a guaranteed, lossless merge of structured records. LLM-based belief revision is probabilistic and may drop low-confidence facts that a database UPSERT would preserve.
Guardrail: Use this prompt only for unstructured or semi-structured text synthesis. For structured data, use deterministic merge logic and reserve the LLM for conflict explanation only.
Required Inputs: Prior Belief State
Risk: Without a structured prior belief state, the model has no baseline to revise, leading to a simple summary rather than a true revision.
Guardrail: Always pass a prior_beliefs object with explicit propositions, confidence scores, and source provenance. The prompt template must fail validation if this input is missing.
Operational Risk: Confidence Drift Toward Certainty
Risk: Over multiple revision cycles, an agent may incorrectly increase confidence in a false proposition if corroborating sources are not independently verified.
Guardrail: Implement a confidence ceiling (e.g., max 0.95) and require at least one independent, high-quality source before confidence can exceed 0.8. Log all confidence increases for audit.
Operational Risk: Recency Bias Overriding Truth
Risk: The model may overweight the most recent evidence, discarding older but more authoritative sources.
Guardrail: Include a source_authority_tier field in the input schema. Instruct the model to prioritize high-tier sources regardless of recency, and to flag cases where a low-tier source contradicts a high-tier one.
Bad Fit: Real-Time Safety-Critical Systems
Avoid when: The belief update directly controls a physical actuator, medical device, or financial transaction without human review. Latency and probabilistic error are unacceptable.
Guardrail: In safety-critical paths, use this prompt only for a "draft advisory" output. A deterministic rule engine or human operator must confirm the final state change.
Copy-Ready Prompt Template
A reusable prompt template for revising an agent's belief state when confronted with conflicting evidence from multiple sources.
This prompt template is designed to be wired into an agent's reasoning loop when it receives new information that contradicts its current belief state. The template forces the model to surface the conflict explicitly, weigh evidence by source reliability and recency, produce a revised belief with an updated confidence score, and explain what changed and why. Use this when your agent ingests data from multiple tools, APIs, or retrieval sources that may disagree. Do not use this for simple fact lookup where no prior belief exists; that workflow belongs to a standard grounding or RAG prompt.
textYou are an agent performing belief revision. Your current belief state is provided below along with new evidence that may confirm, contradict, or extend it. CURRENT BELIEF STATE: [BELIEF_STATE] NEW EVIDENCE: [NEW_EVIDENCE] SOURCES AND RELIABILITY: [SOURCE_METADATA] CONSTRAINTS: [CONSTRAINTS] Your task is to produce a revised belief state following strict rational revision principles: 1. IDENTIFY all conflicts between the current belief state and the new evidence. List each conflict with the specific claims that disagree. 2. WEIGH each piece of evidence by source reliability, recency, and specificity. Prefer more recent evidence from higher-reliability sources when conflicts cannot be resolved. 3. REVISE the belief state to incorporate the new evidence. You may: - Update a belief if new evidence is stronger. - Retain a belief if existing evidence is stronger. - Add a new belief if the evidence introduces a novel claim. - Retract a belief if it is directly contradicted by stronger evidence. - Flag a belief as CONTESTED if evidence is evenly balanced and no resolution is possible. 4. ADJUST confidence scores for every belief. Increase confidence when corroborated, decrease when contradicted, and set to a low value for contested beliefs. 5. EXPLAIN each revision decision with a brief rationale citing the specific evidence and source that drove the change. OUTPUT SCHEMA: Return a valid JSON object with this exact structure: { "conflicts_identified": [ { "current_belief": "string", "conflicting_evidence": "string", "conflict_type": "direct_contradiction | partial_overlap | new_information" } ], "revised_belief_state": [ { "belief_id": "string", "statement": "string", "confidence": 0.0-1.0, "status": "confirmed | updated | added | retracted | contested | unchanged", "supporting_sources": ["source_id"], "revision_rationale": "string" } ], "revision_summary": "string", "unresolved_uncertainties": ["string"] } Do not fabricate evidence. Do not resolve conflicts by ignoring contradictory evidence. If evidence is evenly balanced, mark the belief as contested rather than picking a side arbitrarily.
Adapt this template by replacing the placeholders with your agent's actual data structures. [BELIEF_STATE] should contain the agent's current beliefs as structured objects with IDs, statements, and confidence scores. [NEW_EVIDENCE] should contain the incoming claims with their source IDs. [SOURCE_METADATA] should map source IDs to reliability scores, timestamps, and type labels. [CONSTRAINTS] can include domain-specific rules such as 'prefer peer-reviewed sources over web forum posts' or 'do not revise beliefs about [TOPIC] without human review.' For high-risk domains like healthcare or finance, add a human approval gate before the revised belief state is committed to the agent's memory. Always validate the output JSON against the schema before accepting the revision, and log the full revision record for auditability.
Prompt Variables
Required inputs for the Agent Belief Revision prompt. Each placeholder must be populated before the prompt is assembled and sent. Missing or malformed inputs are the most common cause of revision failures.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[CURRENT_BELIEF_STATE] | The agent's existing belief as a structured object with claim, confidence score, and source provenance | {"claim": "Q3 revenue grew 12%", "confidence": 0.85, "sources": ["earnings-call-transcript", "10-Q-filing"]} | Must be valid JSON with required keys: claim, confidence, sources. Confidence must be a float between 0.0 and 1.0. Sources must be a non-empty array of strings. |
[CONFLICTING_EVIDENCE] | New evidence that contradicts or weakens the current belief, with source attribution | {"evidence": "Q3 revenue grew 8% per amended filing", "source": "amended-10-Q", "timestamp": "2025-01-15T14:30:00Z"} | Must be valid JSON with required keys: evidence, source, timestamp. Timestamp must be ISO 8601. Source must be a non-null string. |
[EVIDENCE_RELIABILITY] | Reliability assessment of the conflicting evidence source on a structured scale | {"source_trust": "high", "freshness": "newer", "authority": "regulatory-filing"} | Must be valid JSON with required keys: source_trust, freshness, authority. Allowed values for source_trust: high, medium, low, unknown. Allowed values for freshness: newer, older, same-age, unknown. |
[REVISION_POLICY] | Rules governing when and how beliefs should be revised, including confidence thresholds and tie-breaking logic | {"min_confidence_gap": 0.15, "prefer": "newer-evidence", "require_human_review": true, "max_confidence_drop": 0.4} | Must be valid JSON with required keys: min_confidence_gap, prefer, require_human_review. min_confidence_gap must be a float between 0.0 and 1.0. require_human_review must be boolean. prefer must be one of: newer-evidence, higher-authority, higher-confidence, manual-only. |
[OUTPUT_SCHEMA] | Expected structure for the revised belief output, including required fields for the revision explanation | {"revised_belief": {}, "revision_type": "update|replace|retain|escalate", "confidence_delta": 0.0, "explanation": "", "unresolved_conflicts": []} | Must be valid JSON Schema or example object. Required output fields: revised_belief, revision_type, confidence_delta, explanation. revision_type must be one of: update, replace, retain, escalate. unresolved_conflicts must be an array. |
[AGENT_IDENTITY] | Identifier for the agent performing the revision, used for audit trail and conflict attribution | agent-7b3f2a | Must be a non-empty string matching the agent registry pattern. Used in the output audit log. Null or empty values should cause the prompt to abort before execution. |
[SESSION_ID] | Identifier for the current session or task context, used to scope the belief revision and link to shared state | sess-2025-01-15-0042 | Must be a non-empty string. Used to correlate this revision with other agent actions in the same session. Missing session ID should trigger a warning and default to a generated ID with a logged fallback event. |
Implementation Harness Notes
How to wire the Agent Belief Revision prompt into a production agent loop with validation, retries, and state updates.
This prompt is not a one-shot query; it is a state transition function inside an agent's reasoning loop. The agent receives new evidence, compares it against its current belief state, and calls this prompt to produce a revised belief state. The harness must therefore manage the before and after states explicitly. Before calling the model, serialize the agent's current beliefs, the new evidence, and all source metadata into the [CURRENT_BELIEFS], [NEW_EVIDENCE], and [SOURCE_METADATA] placeholders. After receiving the response, validate the output against the expected [OUTPUT_SCHEMA] before overwriting the agent's belief state. A failed validation should trigger a retry with the validation error appended to [CONSTRAINTS], not a silent state corruption.
Wire the prompt into a stateful agent service with a strict write path: (1) lock the agent's belief state, (2) assemble the prompt with current beliefs and conflicting evidence, (3) call the model with a low temperature (0.1–0.3) to favor deterministic revision logic, (4) validate the JSON output against the schema—check that revised_beliefs, conflict_explanation, and uncertainty_quantification fields are present and well-formed, (5) log the revision diff for auditability, and (6) commit the new belief state and release the lock. For high-stakes domains such as healthcare or finance, insert a human review gate between steps 4 and 6 when the uncertainty_quantification exceeds a configured threshold or when the conflict_explanation indicates unresolved contradictions. Use a structured log entry that captures the prior beliefs, the triggering evidence, the model's revision, and the reviewer's decision.
Model choice matters here. Use a model with strong reasoning capabilities (GPT-4o, Claude 3.5 Sonnet, or equivalent) because belief revision requires comparing propositions, detecting contradictions, and adjusting confidence scores—tasks where smaller or older models often produce inconsistent uncertainty estimates. Implement retry logic with exponential backoff for transient API failures, but cap retries at 3 attempts. If validation fails on all retries, escalate to a human operator and preserve the unmodified belief state. For multi-agent systems, ensure that the belief state update is atomic: no other agent should read a partially updated belief state. Finally, run periodic eval suites using the provided test cases to detect regression in revision quality, especially around edge cases where evidence is equally weighted or sources have conflicting reliability scores.
Expected Output Contract
Defines the structure, types, and validation rules for the revised belief state object produced by the Agent Belief Revision Prompt. Use this contract to parse and validate the agent's output before storing it in shared memory or passing it to downstream agents.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
revised_beliefs | Array of objects | Must be a non-empty array. Each object must contain belief_id, statement, confidence_score, and evidence_sources. | |
revised_beliefs[].belief_id | String | Must match the regex pattern ^belief_[a-z0-9]+$. Must be unique within the array. | |
revised_beliefs[].statement | String | Must be a non-empty string. Length must be between 10 and 500 characters. | |
revised_beliefs[].confidence_score | Number (float) | Must be a float between 0.0 and 1.0 inclusive. A score of 0.0 indicates a retracted belief. | |
revised_beliefs[].evidence_sources | Array of strings | Must contain at least one source identifier. Each string must match the pattern ^source_[a-z0-9]+$. | |
conflict_explanations | Array of objects | Must be present. Can be an empty array if no conflicts were detected. Each object must contain conflicting_belief_ids and resolution_strategy. | |
conflict_explanations[].conflicting_belief_ids | Array of strings | Must contain exactly two belief IDs that were in conflict. Both IDs must exist in the revised_beliefs array. | |
conflict_explanations[].resolution_strategy | String (enum) | Must be one of: 'prefer_higher_confidence', 'prefer_more_recent', 'merge', 'retract_both', 'human_escalation_required'. | |
uncertainty_quantification | Object | Must contain overall_entropy (float 0.0-1.0) and belief_count (integer). overall_entropy must be calculated from the confidence_score distribution. | |
revision_timestamp | String (ISO 8601) | Must be a valid UTC timestamp in ISO 8601 format (e.g., '2024-05-20T14:30:00Z'). Must be later than the previous belief state timestamp. | |
human_escalation_required | Boolean | Must be true if any conflict_explanation has a resolution_strategy of 'human_escalation_required'. Otherwise, must be false. |
Common Failure Modes
Belief revision prompts fail in predictable ways when evidence conflicts. These are the most common failure modes and the operational guardrails that catch them before they reach production.
Over-Anchoring on Initial Belief
What to watch: The agent treats its prior belief as ground truth and dismisses new conflicting evidence as noise, producing a revision that barely shifts confidence. Guardrail: Require the prompt to explicitly list each piece of new evidence and state whether it was incorporated, discounted, or rejected with a reason. Add an eval check that confidence must shift by at least a minimum delta when high-quality contradictory evidence is presented.
Catastrophic Belief Overwrite
What to watch: A single new piece of evidence causes the agent to completely abandon a well-supported prior belief, swinging from high confidence to high confidence in the opposite direction without proportional justification. Guardrail: Enforce a revision step limit in the prompt—require the agent to adjust confidence incrementally and explain why the new evidence outweighs the cumulative prior evidence, not just the most recent observation.
Source Authority Confusion
What to watch: The agent weights evidence by the perceived authority of the source name rather than the content quality, causing it to defer to a named institution even when the evidence is weak or outdated. Guardrail: Strip or anonymize source names in the evidence input and ask the agent to score each piece on internal coherence, specificity, and consistency with other evidence. Reintroduce source metadata only after content-based weighting is complete.
False Equivalence Between Evidence Quality
What to watch: The agent treats all conflicting evidence as equally valid and produces a hedged, non-committal revision that averages incompatible claims rather than resolving the conflict. Guardrail: Add an explicit evidence quality tiering step to the prompt—require the agent to classify each piece as direct observation, reported observation, inference, or hearsay, and weight accordingly before computing the revised belief.
Uncertainty Collapse Under Contradiction
What to watch: When faced with strong conflicting evidence, the agent collapses to maximum uncertainty on every dimension rather than identifying which specific claims are disputed and which remain stable. Guardrail: Structure the output schema to require per-claim confidence scores, not a single aggregate confidence. Add an eval that checks whether confidence on undisputed sub-claims remains stable even when other claims are contested.
Temporal Ordering Neglect
What to watch: The agent weights all evidence equally regardless of recency, failing to account for information that has become stale or superseded by later observations. Guardrail: Include explicit timestamps in the evidence input schema and add a recency-weighting instruction in the prompt. Validate that evidence older than a configurable threshold is explicitly discounted unless marked as durable knowledge.
Evaluation Rubric
Use this rubric to test the Agent Belief Revision Prompt before deployment. Each criterion targets a core capability: conflict detection, uncertainty quantification, source attribution, and rational revision. Run these checks against a golden dataset of conflicting evidence scenarios.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Conflict Detection | All contradictory claims between [SOURCE_A] and [SOURCE_B] are explicitly identified and listed. | Output merges contradictory claims into a single statement or omits one source's claim without comment. | Provide two sources with directly opposing factual claims and check for a dedicated conflict list in the output. |
Belief Revision Rationale | The revised belief includes a clear, step-by-step explanation for why one claim was preferred, discounted, or merged. | The output states a new belief without explaining the reasoning behind the change from the prior belief state. | Audit the 'revision_rationale' field for logical coherence; it must reference specific evidence from the input sources. |
Uncertainty Quantification | A numeric confidence score between 0.0 and 1.0 is provided for the revised belief, and it is lower than the initial confidence if conflict is unresolved. | Confidence score is missing, is outside the 0.0-1.0 range, or remains unchanged despite acknowledged unresolved conflict. | Parse the 'confidence_score' field and assert it is a float within range. Compare it to the 'prior_confidence' input value. |
Source Attribution Integrity | Every factual statement in the revised belief is linked to its originating source via a citation key. | The revised belief contains an unsupported claim or a claim attributed to a source that did not contain that information. | Extract all citation keys from the output and verify each points to a claim present in the corresponding input source text. |
Schema Compliance | The output is valid JSON matching the [OUTPUT_SCHEMA] exactly, with all required fields present and correctly typed. | JSON parsing fails, a required field like 'conflict_analysis' is missing, or a field contains an incorrect data type. | Validate the raw output against the expected JSON Schema using a programmatic validator. |
Handling of Agreement | When [SOURCE_A] and [SOURCE_B] agree, the output explicitly notes 'no conflict detected' and confidence increases or stays high. | The output fabricates a conflict where evidence agrees or introduces uncertainty not present in the sources. | Provide two sources with corroborating evidence and assert that the 'conflict_detected' flag is false. |
Abstention on Insufficient Evidence | If evidence is insufficient to resolve a conflict, the output abstains by setting the belief to 'undetermined' and confidence to a low value. | The model hallucinates a resolution or arbitrarily picks a side without acknowledging the evidence gap. | Provide two conflicting but vague sources and check for an explicit 'undetermined' status and a confidence score below 0.5. |
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 belief revision prompt but relax strict schema enforcement. Focus on getting the revision logic right before adding validation overhead. Use a single model call with the conflicting evidence and prior belief inline.
codeYou are a belief revision agent. Given a prior belief and new conflicting evidence, produce a revised belief with explanation. Prior Belief: [PRIOR_BELIEF] Conflicting Evidence: [EVIDENCE_1], [EVIDENCE_2] Output a JSON object with: - revised_belief: string - confidence: 0.0 to 1.0 - conflict_explanation: string - evidence_weights: object mapping source to weight
Watch for
- Overconfident revisions when evidence is weak
- Missing uncertainty quantification
- No source attribution in conflict explanations
- Model defaulting to averaging rather than rational revision

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