Research
JET: Just-Enough Exploration Tuning for Efficient Tool-Calling Agents in Repository-Level QA
Researchers identify over-exploration in repository-level QA agents, where LLM agents keep invoking tools after they have gathered enough information to answer. They propose Just-Enough Exploration Tuning (JET), which truncates training trajectories at the sufficiency point, adds a rationale explaining why the agent can answer, and applies higher loss weight to that rationale. Experiments with two open-weight 8B models on two repository-level QA benchmarks show 11–33% fewer tool calls on self-generated trajectories and 18–28% fewer than SFT on expert trajectories, while largely preserving task scores and lowering inference cost.
AI agentscode repositoriesfine-tuning