Interactive Prompting Assistant: Just-in-Time Requirement Clarification for Agentic Software Development
Abstract
As LLM-based software agents increasingly generate code from natural-language requirements, developers need assistance not only in writing code, but also in writing the prompts that specify what the code should do. We introduce the Interactive Prompting Assistant (IPA), an IDE-like assistant that provides just-in-time requirement clarification while a developer is still composing a problem description. IPA continuously observes the evolving prompt and selectively surfaces clarification questions when potential omissions or inconsistencies become sufficiently evident. To provide timely assistance without invoking an expensive reasoning model at every token, IPA separates when to verify from what to ask. A lightweight interaction controller processes the prompt token by token and learns to Wait, Track, or Verify an emerging concern; a larger reasoning model is invoked only when verification is warranted to determine whether an issue is genuine and generate an evidence-grounded question. We evaluate IPA on 100 HiL-Bench software-engineering tasks containing 353 requirement blockers, using LLMs as simulated prompt authors. Across three author models, incorporating within-turn IPA before a matched post-hoc clarification stage improves blocker response by 4.5-13.0 percentage points over post-hoc clarification alone. Blocker-level transitions further show that IPA acts particularly strongly as a contextual reminder: recovery of previously omitted requirements occurs 2.3-5.0x more often than newly activated repairs of ambiguities or contradictions. These results demonstrate the complementary value of progressive, within-turn clarification for prompt authoring in agentic software development.
Create a lesson
Metadata
- Categories
- cs.SE, cs.CL
Related papers
Why Johnny Can't Vibe: The Competence Paradox of AI-Assisted Software Development
Shared title terminologycs.SESabbir Bin Abdul Latif, Md Raihan, Md. Mahfuzul Ahsan et al.
The Comprehension Gap in LLM-Assisted Software Development: An Experiment
Shared title terminologycs.SEJulian Oertel, Jil Klünder, Regina Hebig
Verifiable Software Development & Operations
Shared title terminologycs.SETakaaki Higashi, Kai Otsuki
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
Tracing Decisions to Value: Measuring What People Contribute When Agents Build Software
Shared title terminologycs.SEShyam Agarwal, Hideaki Hata, Andrew Macvean et al.
ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents
Shared title terminologycs.SEMan Ho Lam, Chaozheng Wang, Zongjie Li et al.