Skip to content

    The Method · Part 4 of 7

    How agents work a stage: the PROVE loop

    The stage contract says what a stage must declare. PROVE (Predict, Run, Observe, Validate, Evolve) is how an agent reasons inside one stage so it checks its work instead of guessing.

    Where does PROVE fit in the method?

    The stage contract fixes the boundaries of a stage: what triggers it, what it may use, what it must produce, how it is validated and where it goes next. It does not say how an agent should think while it is inside those boundaries.

    PROVE covers that part. It is the scientific method run as an agent's reasoning loop, and each of its steps lines up with a field of the contract.

    Contract

    Event and input

    Trigger, pinned inputs, scope

    Inside execution: the PROVE loop

    1. P

      Predict

      , then
    2. R

      Run

      , then
    3. O

      Observe

      , then
    4. V

      Validate

      , then
    5. E

      Evolve

      , then back to Predict or on to the transition

    Evolve starts the next cycle until validation criteria are met or a stop condition is hit

    Contract

    Validation and transition

    Advance, revise, rerun or escalate

    The PROVE loop inside one stage. Evolve either starts another cycle or ends the stage through the contract's transition.

    Why do agents need it?

    Most agent loops today descend from ReAct: reason, act, observe, repeat. ReAct was simple and beat everything before it, but in production it fails in four recognizable ways. [1]

    Over three years the field added tree search, self-reflection layers and planning frameworks on top of it. [2][3][4][6] Each added back one piece of the scientific method, but none put the whole loop back together.

    • Looping. An agent with no falsifiable prediction cannot tell that its approach has been disproven, so it repeats it. Diagnostic-task evaluations have documented repetition rates around 12%, and strong models abandoning their own stated plans in over half of cases. [7]
    • Premature commitment. The agent acts on its first line of reasoning, so whichever interpretation the model produces first wins, chosen by token probability rather than by evidence. [11]
    • Error propagation. A bad tool result goes straight into the next step. Agents near 97% accuracy in controlled settings drop sharply under rate limits, schema drift and unexpected nulls. [23]
    • Confabulation. The agent says it is checking one thing and does another, and nothing in the loop notices, because reasoning, action and reporting all happen in one undivided step. [17][22]

    What happens at each step?

    1. Predict

      Contract field: Execution

      Before acting, state a falsifiable prediction, with competing ones when the situation is ambiguous, and say in advance what would count as success and what would disprove it.

      PreventsPremature commitment: acting on the first explanation the model produces.

    2. Run

      Contract field: Execution

      Take the bounded action that best tells the competing predictions apart, within the tools the contract allows.

      PreventsLooping: repeating an action that cannot tell the agent anything new.

    3. Observe

      Contract field: Output

      Record the raw result (status, data, errors, timing) as an artifact, kept separate from interpretation.

      PreventsConfabulation: a summary of what happened that does not match what happened.

    4. Validate

      Contract field: Validation

      Compare the observation with the prediction: supported, falsified or inconclusive. The verdict rests on evidence, never on the agent's own claim.

      PreventsError propagation: feeding a bad result into the next step unchecked.

    5. Evolve

      Contract field: Transition

      Decide deliberately: build on a supported prediction, replace a falsified one, sharpen an inconclusive one, or stop and escalate.

      PreventsDeath spirals: fifty cycles on an approach that stopped working after three.

    Each PROVE step, the contract field it serves, and the failure mode it prevents.

    What makes a good prediction?

    "I should probably check the logs" is a plan. "If the service is failing from memory pressure, the container logs will show out-of-memory kills in the last 30 minutes" is a prediction.

    The agent states what it believes before acting, sets success and failure criteria before it sees results, and says what would disprove it. When the situation is ambiguous it states competing predictions, and the Run step picks the action that best separates them. [8][10]

    How does validation work?

    Validation compares the observation with the prediction. There are three outcomes:

    • Supported: the prediction survives and has one more piece of evidence, though it is still not proven.
    • Falsified: the prediction is retired, which narrows the search.
    • Inconclusive: the action was not diagnostic enough. Sharpen the prediction or pick a more targeted action.

    This is the step that maps to the contract's validation field, and the reason for the system invariant: the verdict rests on test output, external state or an authorized review, never on the agent's own claim that it succeeded. Looping stops because falsified predictions are explicitly retired. Errors stop propagating because unexpected results trigger investigation. Confabulation becomes visible because there is an external criterion to check reasoning against. [22]

    How does a stage end?

    At Evolve the agent decides what comes next. A supported prediction is built on with the next one. A falsified prediction is replaced by one that accounts for all the evidence so far; the agent keeps what it has learned. An inconclusive result leads to a more specific prediction.

    The loop stops when enough predictions have held up to meet the stage's validation criteria, which moves the stage forward through its transition. It also stops when the agent runs out of hypotheses or hits a stop condition, timeout or retry limit. Then it escalates to a person through the review queue instead of guessing.

    Does PROVE work at every level of a system?

    Yes. The scope of the prediction, the timescale and the tools change from level to level:

    LayerExample prediction
    Strategic (Plan stage)If daily data volume exceeds 10 million rows, a streaming architecture will cut end-to-end latency by at least half compared with batch.
    Tactical (Review stage)If this pull request introduces a performance regression, profiling the payment hot path will show more memory allocation than the baseline.
    Operational (Implement and Run stages)If the 401 error comes from an expired token, decoding it will show an expiry time in the past.

    What record does each cycle leave?

    Every cycle records what the agent believed and why (Predict), which action it chose over the alternatives (Run), the raw result (Observe), whether the result matched (Validate) and how its understanding changed (Evolve).

    That record is the stage's decision and execution record. A log of tool calls shows what happened. This record also shows why, which reviewers, security teams and auditors ask for. Regulation asks for it too: the EU AI Act, the NIST AI Risk Management Framework and ISO 42001 all ask for explainable high-risk AI. [17]

    Can each step be its own agent?

    PROVE works as a single-agent loop with structured prompting. It also maps onto a multi-agent design where a specialist owns each step, which helps on high-risk stages where independence matters. [9][15]

    RoleResponsibility
    PredictorGenerates competing hypotheses and falsifiable predictions.
    ExperimenterDesigns and runs the action that best tells the hypotheses apart.
    ObserverCollects and structures results without interpreting them.
    ValidatorCompares observations with predictions against explicit criteria and gives a verdict.
    EvolverCombines the verdict with the full evidence history and sets up the next cycle.
    ReviewerChallenges the Validator's conclusion and looks for confounds, so the team does not settle too early.

    How do you start using it?

    Take an existing agent loop and add two requirements:

    1. Before every action, the agent states a falsifiable prediction: what it expects to happen and what would disprove its current reasoning.
    2. After every observation, the agent compares the result with the prediction and says whether it held.

    Those two rules are enough to deal with looping and premature commitment. Then add the stop conditions and escalation from the stage contract.

    References

    1. [1]Yao, S., et al. (2022). "ReAct: Synergizing Reasoning and Acting in Language Models." ICLR 2023.
    2. [2]Shinn, N., et al. (2023). "Reflexion: Language Agents with Verbal Reinforcement Learning." NeurIPS 2023.
    3. [3]Yao, S., et al. (2023). "Tree of Thoughts: Deliberate Problem Solving with Large Language Models." NeurIPS 2023.
    4. [4]Zhou, A., et al. (2024). "Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models." ICML 2024.
    5. [5]Prasad, A., et al. (2024). "ADaPT: As-Needed Decomposition and Planning with Language Models." NAACL 2024 Findings.
    6. [6]Wang, L., et al. (2024). "Plan-and-Execute Agents." LangChain Blog.
    7. [7]Jha, S., et al. (2025). "Agent Evaluations on ITBench Diagnostic Tasks."
    8. [8]Huang, Q., et al. (2025). "POPPER: LLM Agents for Hypothesis-Driven Falsification Experiments." Stanford/Harvard.
    9. [9]Gottweis, J., et al. (2025). "AI Co-Scientist." Google DeepMind.
    10. [10]He, Z., et al. (2024). "IDEA: An Abduction-Deduction-Induction Agent Framework."
    11. [11]Wan, Y., et al. (2025). "Unveiling Confirmation Bias in Chain-of-Thought Reasoning." ACL 2025 Findings.
    12. [12]Liu, R., Neubig, G., & Andreas, J. (2024). "An Incomplete Loop: Instruction Inference, Instruction Following, and In-context Learning." CMU & MIT.
    13. [13]Qiu, L., et al. (2024). "Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models."
    14. [14]Giannone, D., et al. (2025). "Agentic Design Patterns: A System-Theoretic Framework."
    15. [15]Google Cloud. (2025). "Choose a Design Pattern for Your Agentic AI System."
    16. [16]Klu.ai. (2024). "ReACT Agent Model."
    17. [17]Token Security. (2026). "Transparency and Explainability in Agentic AI Decision-Making."
    18. [18]Paracha, A. (2026). "The Two Agentic Loops: How to Design and Scale Agentic Apps." Plano AI Blog.
    19. [19]Oracle. (2025). "What Is the AI Agent Loop?"
    20. [20]NVIDIA. (2025). "Optimizing Data Center Performance with AI Agents and the OODA Loop Strategy."
    21. [21]Sogeti. (2025). "Harnessing the OODA Loop for Agentic AI."
    22. [22]Huang, J., et al. (2024). "Large Language Models Cannot Self-Correct Reasoning Yet." ICLR 2024.
    23. [23]Yang, J., et al. (2024). "ReliabilityBench: Assessing LLM Agent Reliability Under Production Perturbations."
    24. [24]Xie, J., et al. (2025). "HiPER: Hierarchical Reinforcement Learning with Explicit Credit Assignment."
    25. [25]Nottingham, K., et al. (2025). "HERAKLES: Hierarchical Skill Compilation for Open-ended LLM Agents."
    26. [26]Arulkumaran, K., et al. (2025). "From AI for Science to Agentic Science."

    From AI-Enabled Software Delivery, version 9.3, October 31, 2026. Brandon Zweifel, Zweifel Tech LLC.