TL;DR
JevAgentHarness makes LLM agents significantly faster and cheaper by delegating routine multiple-choice decisions—like tool selection—to small, specialized "decision models." By using confidence-based thresholds and training on actual agent trajectories (including recovery from mistakes), the authors achieve up to 89% cost reduction and 2.5x speedups with virtually no loss in task success.
What Problem Does This Paper Address?
Building autonomous agents with Large Language Models (LLMs) is currently a "System 2" heavy process: the agent calls a massive, expensive model for every single step. However, many of these steps are routine multiple-choice decisions, such as "Which tool should I use next?" or "Are these arguments correct?"
Using a frontier LLM for these routine tasks is like hiring a PhD to do data entry—it's slow and prohibitively expensive. While small "decision models" (like Jev) exist to handle these choices, they are typically evaluated on static datasets. This paper identifies a critical gap: static accuracy doesn't predict agent success. In a live loop, a single small error from a decision model can derail an entire multi-step task, especially since these models rarely see the "messy" states an agent reaches after making a mistake.
Methods
The authors propose a three-part solution to safely integrate small models into agent workflows:
- JevAgentHarness: A framework that identifies eight "decision points" in an agent's loop (e.g., tool selection, argument filling, stopping) and provides five "integration modes" (Replace, Cascade, Assist, Guard, Trigger) to share control between the small model and the LLM. Where and how a decision model acts
- Fitted Confidence Thresholds: Instead of trusting the small model blindly, the harness uses a "Cascade" mode. It only accepts the small model's answer if its confidence exceeds a threshold specifically tuned to balance the cost of an LLM call against the risk of task failure.
- AgentDecision-4B: The authors trained an open 4B-parameter model specifically for this task. Unlike general models, it is trained on visited states—the actual trajectories an agent takes, including recovery steps after errors—using Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO).
Datasets
The study introduces AgentDecisionBench, a comprehensive benchmark that evaluates models at three levels of increasing difficulty:
- L1 (Isolated): Standard multiple-choice questions (using BFCL v4 and When2Call).
- L2 (Step-level): Predicting the next step on recorded agent runs.
- L3 (Task-level): Actually controlling a running agent in an environment.
To support this, they built DecisionGym, a simulated customer service environment that knows the "ground truth" acceptable steps at every possible state, allowing for precise scoring even after an agent takes a detour. They also evaluated on public benchmarks like τ2-bench, ALFWorld, and SWE-bench.
Key Insights and Ideas
- The "L1 vs. L3" Gap: A model's performance on isolated questions is a poor predictor of its performance as an agent's brain. Models that rank highly on static benchmarks often fail in live tasks because they can't handle the compounding errors of a real environment. Isolated scores misrank models for agents
- Training on Mistakes is Mandatory: General-purpose decision models struggle because they are trained on "golden" successful paths. AgentDecision-4B succeeds because it was trained on the "messy middle"—the states an agent reaches after it has already made a mistake.
- Confidence is the Safety Valve: By fitting a threshold on shadow-mode trajectories, the harness can save money on "easy" steps while automatically deferring to the expensive LLM for "hard" or ambiguous steps. Intuition of sharing control
Key Results
- Massive Efficiency Gains: On household and customer service tasks, the 4B models made agents 81.1–89.0% cheaper and up to 2.5 times faster.
- Superior Accuracy: On "shifted" tasks (new tool names/wordings), AgentDecision-4B solved 91.5% of tasks, significantly outperforming the commercial Jev model (82.0%) and other open baselines.
- Minimal Success Loss: The system was designed to keep success within 3 points of an LLM-only baseline. In most tests, the hybrid agent maintained or even slightly improved success rates while slashing costs.
- Low Latency: On an NVIDIA L4 GPU, the 4B model took a median of 31 ms per answer, compared to 809 ms for a Gemini 3.5 Flash call.
Limitations and Future Work
- Language & Model Scope: The current work focuses on English tasks and primarily uses Gemini as the base LLM. The authors note that different languages or LLMs might require different delegation strategies.
- Irreversible Actions: While the "Guard" mode helps, the authors warn that a decision model should never be the only control on irreversible actions (like final submission or deletion) due to the risk of confident but wrong predictions.
- Future Directions: The authors suggest exploring learned routers (like RouteLLM) and expanding the types of choices delegated, such as complex reasoning steps or multi-modal decisions.
Summary updated