Manuscript Offprint

arXiv:2610.38620

Think Before You Act: Decision Gate for LLM Agents

Iftach Shoham, Yuval David, Offer Akrabi, Erez Bilgory, Ido Levy, Sami Marreed, Sergey Zeltyn, Segev Shlomov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Iftach Shoham* IBM SIL

Yuval David* IBM SIL

Offer Akrabi IBM SIL

Erez Bilgory IBM SIL

Ido Levy IBM SIL

Sami Marreed IBM SIL

Sergey Zeltyn IBM SIL

Segev Shlomov† IBM SIL

Figure

Figure 1: pass^3 results from Table 2.

Abstract

LLM agents increasingly perform consequential actions through external tools, yet their proposed actions are often executed without independent verification of policy compliance or task completion. We introduce JevAct, a runtime verification framework that intercepts selected agent actions before execution and enables feedback-driven correction. JevAct compiles domain policies into executable state checks and structured questions evaluated by a prefill-only decision model, which produces probability-based judgments without relying on LLM generation. By combining deterministic verification of tool-state facts with probabilistic assessment of conversational context, the framework identifies potentially invalid actions and premature task termination, providing targeted feedback for bounded revision. JevAct operates independently of the underlying agent model and requires no modifications to its parameters or tools. We evaluate JevAct across eleven LLM agents on τ2\tau^2-bench Airline and Telecom tasks and BFCL. Results show improvements in agent reliability across multiple models and benchmarks, with particularly consistent gains on Telecom and BFCL, while performance on Airline is more mixed. Overall, these findings suggest that combining structured

Preprint.

decision models with executable verification can improve the reliability of tool-using LLM agents.

1 Introduction

Language-model agents increasingly use tools to change records, make bookings, and guide users through multi-step procedures. A mistaken answer can sometimes be corrected in a later turn; an unauthorized write or a premature hand-off may be harder to undo. Yet many agent loops execute a proposed tool call as soon as the model produces it. This leaves a gap between generating an action and checking that it is appropriate to carry out.

ReAct agents interleave reasoning with tool use, while reflection methods such as Self-Refine and Reflexion add critique and feedback to improve later proposals or trials (Yao et al., 2022; Madaan et al., 2023; Shinn et al., 2023). These methods can improve agent behavior, but they do not by themselves verify a particular action against a domain policy immediately before execution. Runtime constraints and learned tool-call checks address this separate problem (Wang et al., 2026; Chen et al., 2025; Mou et al., 2026; Kang et al., 2026a).

A separate generative LLM could review each proposal and explain its concerns, as in LLM-as-a-judge methods (Zheng et al., 2023; Liu et al., 2023). But free-form explanations must still be interpreted before a gate can act on them, and the cost of making this decision with a frontier model is high. Decision models instead return choices and probabilities for fixed questions, making threshold-based checks straightforward. Their probabilities are not guaranteed to be calibrated or correct, so their value has to be tested in the agent loop rather than assumed (TypeSafe AI, 2026; Deußer et al., 2026).

We present JevAct, a harness that checks selected proposals before execution. Offline, a compiler turns a domain policy into questions, rules, executable checks over tool state, and where needed, a hand-off checklist. At runtime, code checks facts available in tool records and Kev (an open sourced Jev-like (TypeSafe AI, 2026) decision model) answers questions that depend on the conversation. A passing proposal proceeds; a flagged proposal is returned to the agent with targeted feedback and a bounded chance to revise. The agent still proposes actions; Kev does not choose them. This separates JevAct from decision-centric runtimes that delegate action selection to a decision model (ZJUNLP, 2026).

Our central question in this is work is whether a decision model can serve as a probability-thresholded verifier alongside executable tool-state checks. We compare JevAct with a ReAct harness using the same agent LLM in both arms, across Airline and Telecom tasks in τ2\tau^2-bench and multi-turn function-calling tasks in BFCL (Barres et al., 2025; Patil et al., 2025). On Telecom, all eight agents improve both at-least-once success and success across all three runs. On BFCL, all nine improve in three-run success, but at-least-once results are mixed. Airline effects are smaller and vary by agent (see Figure 1). Because JevAct adds compiled checks and revision opportunities, these comparisons evaluate the full harness, not the judge in isolation.

Our contributions in this work are threefold:

  • We introduce JevAct, which combines executable checks over tool state with thresholded decision-model judgments of conversational context before selected actions are executed.
  • We lay the foundation for a workflow that compiles domain policies into questions, decision rules, executable state checks, and hand-off checklists for a decision-model gate.
  • We evaluate the harness against same-model ReAct baselines across three benchmark settings, with component and judge ablations alongside task-success, repeatability, and estimated judge-cost results.

References (23)