Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
As Large Language Model (LLM) agents are increasingly deployed in open-ended domains like software engineering, they frequently encounter underspecified instructions that lack crucial context. While human developers naturally resolve underspecification by asking clarifying questions, current agents are largely optimized for autonomous execution. In this work, we systematically evaluate the clarification-seeking abilities of LLM agents on an underspecified variant of SWE-bench Verified. We propose an uncertainty-aware multi-agent scaffold that decouples underspecification detection from code execution. Across both proprietary and open-weight frontier LLMs, our scaffold achieves a 69.40% task resolve rate, significantly outperforming a standard single-agent setup and closing the performance gap with agents operating on fully specified instructions. Furthermore, we find that the multi-agent system exhibits well-calibrated information-seeking behavior, conserving queries on simple tasks while proactively seeking information on more complex issues. These findings indicate that current models can be turned into proactive collaborators, where agents independently recognize when to ask questions to elicit missing information in real-world, underspecified tasks.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 30 of its 52 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
30 of 52 references.
Closest ancestors · 3
Same direction, newest first
- 2025Training Proactive and Personalized LLM Agents4 Nov
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains17 Jun
- 2024Aligning Language Models to Explicitly Handle Ambiguity18 Apr
Other references · 27
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2019Asking Clarifying Questions in Open-Domain Information-Seeking Conversationscited by 136
- 2023Decomposing Uncertainty for Large Language Models through Input Clarification Ensemblingcited by 113
- 2018Learning to Ask Good Questions: Ranking Clarification Questions using Neural Expected Value of Perfect Informationcited by 110
- 2025SWEET-RL: Training Multi-Turn LLM Agents on Collaborative Reasoning Taskscited by 108
- 2024Relying on the Unreliable: The Impact of Language Models' Reluctance to Express Uncertaintycited by 106
- 2024STaR-GATE: Teaching Language Models to Ask Clarifying Questionscited by 99
15 more
- 2023Clarify When Necessary: Resolving Ambiguity Through Interaction with LMscited by 93
- 2023Eliciting Human Preferences with Language Modelscited by 90
- 2024Modeling Future Conversation Turns to Teach LLMs to Ask Clarifying Questionscited by 70
- 2023Goal Driven Discovery of Distributional Differences via Language Descriptionscited by 61
- 2024Agents' Room: Narrative Generation through Multi-step Collaborationcited by 57
- 2025Flipping the Dialogue: Training and Evaluating User Language Modelscited by 50
- 2024Asking the Right Question at the Right Time: Human and Model Uncertainty Guidance to Ask Clarification Questionscited by 32
- 2024Bayesian Preference Elicitation with Language Modelscited by 32
- 2025Ambig-SWE: Interactive Agents to Overcome Underspecificity in Software Engineeringcited by 28
- 2024HumanEvalComm: Benchmarking the Communication Competence of Code Generation for LLMs and LLM Agentcited by 24
- 2025Semantic Volume: Quantifying and Detecting both External and Internal Uncertainty in LLMscited by 19
- 2022Python Code Generation by Asking Clarification Questionscited by 16
- 2024Loose LIPS Sink Ships: Asking Questions in Battleship with Language-Informed Program Samplingcited by 12
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 5
- 2025Curiosity by Design: An LLM-based Coding Assistant Asking Clarification Questionscited by 3
Built on by
Citing papers per year: 2026: 15.
15 papers.
Sort:
By area:
- 2026AgentAtlas: Beyond Outcome Leaderboards for LLM Agentscited by 9
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
- 2026SWE-Touch: Benchmarking Coding Agents When Users Touch the Codecited by 2
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluationcited by 2
- 2026ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agentscited by 1
- 2026Don't Start What You Can't Finish: A Counterfactual Audit of Support-State Triage in LLM Agentscited by 0
- 2026Agent System Operations: Categorization, Challenges, and Future Directionscited by 0
- 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agentcited by 0
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamicscited by 0
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requestscited by 0
- 2026Uncertainty Quantification for LLM Agents: A Taxonomy, an Evaluation Protocol, and an Empirical Studycited by 0
- 2026XYEval: Agents say yes to bad advicecited by 0
3 more
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agentscited by 0
- 2026TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolutioncited by 0
- 2026TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolution7 Oct 2026
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents30 Sep 2026
- 2026XYEval: Agents say yes to bad advice20 Sep 2026
- 2026Uncertainty Quantification for LLM Agents: A Taxonomy, an Evaluation Protocol, and an Empirical Study7 Sep 2026
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluation3 Sep 2026
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requests28 Aug 2026
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamics28 Aug 2026
- 2026SWE-Touch: Benchmarking Coding Agents When Users Touch the Code3 Aug 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026Agent System Operations: Categorization, Challenges, and Future Directions1 Jun 2026
- 2026AgentAtlas: Beyond Outcome Leaderboards for LLM Agents19 May 2026
3 more
- 2026ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agents17 May 2026
- 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agent13 May 2026
- 2026Don't Start What You Can't Finish: A Counterfactual Audit of Support-State Triage in LLM Agents17 Apr 2026
- 2026AgentAtlas: Beyond Outcome Leaderboards for LLM Agentscited by 9
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
- 2026SWE-Touch: Benchmarking Coding Agents When Users Touch the Codecited by 2
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluationcited by 2
- 2026ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agentscited by 1
- 2026Don't Start What You Can't Finish: A Counterfactual Audit of Support-State Triage in LLM Agentscited by 0
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamicscited by 0
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requestscited by 0
- 2026Uncertainty Quantification for LLM Agents: A Taxonomy, an Evaluation Protocol, and an Empirical Studycited by 0
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agentscited by 0
- 2026TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolutioncited by 0
- 2026TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolution7 Oct 2026
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents30 Sep 2026
- 2026Uncertainty Quantification for LLM Agents: A Taxonomy, an Evaluation Protocol, and an Empirical Study7 Sep 2026
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluation3 Sep 2026
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requests28 Aug 2026
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamics28 Aug 2026
- 2026SWE-Touch: Benchmarking Coding Agents When Users Touch the Code3 Aug 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026AgentAtlas: Beyond Outcome Leaderboards for LLM Agents19 May 2026
- 2026ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agents17 May 2026
- 2026Don't Start What You Can't Finish: A Counterfactual Audit of Support-State Triage in LLM Agents17 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Uncertainty-Aware Clarification in LLM Agents with Information Gain
- 2026Uncertainty Decomposition for Clarification Seeking in LLM Agents
- 2025Can Code Language Models Learn Clarification-Seeking Behaviors?
- 2026AgentRadio: Passive Awareness for Long-Horizon Multi-Agent Collaboration
- 2025Structured Uncertainty guided Clarification for LLM Agents
- 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Design
- 2026CONTRA: Discovering and Qualifying Behavior-Changing Questions for Selective Clarification in LLM Code Generation
- 2026Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and Opportunities