SWE-WhatIf: Simulating Real Users of Coding Agents from Recorded Session
On the map: LLM agents and tool use → Software engineering coding agents also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
Recorded sessions between users and coding agents offer a way to evaluate how agents complete real-world tasks and interact with users. However, these sessions cannot simply be replayed with new agents, because recorded user replies may no longer apply when an agent takes a different trajectory. We introduce SWE-WhatIf, which replays recorded sessions with new agents by modeling the user's intents, the criteria for satisfying them, and the conditions under which they arise. Using this model, a user simulator generates replies that adapt to unseen agent turns while remaining grounded in the recording. Across 89 real-world sessions, SWE-WhatIf generated the replies most similar to those of real users and matched the strongest baseline when sessions were rewritten. To test adaptation, we replay sessions with agents instructed to avoid or repeat actions that the recorded user pushed back on. SWE-WhatIf produced the highest win rate for avoiding these actions (66.3%), significantly above chance. We further demonstrate its utility by ranking five LLMs as coding agents, where the highest-ranked model depended on how users specified and developed their intents, and a study with 16 users, where replaying their own sessions changed 14 participants' rankings and informed their future agent use.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 54 references that are in the map. Submitted 16 Nov 2026.
Builds on
36 of 54 references.
Closest ancestors · 8
Same direction, newest first
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Tasks8 Jul
- 2026Humans are Missing from AI Coding Agent Research4 Jul
- 2026SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions29 Jun
- 2026SWE-Together: Evaluating Coding Agents in Interactive User Sessions29 Jun
- 2026How Coding Agents Fail Their Users: A Large-Scale Analysis of Developer-Agent Misalignment in 20,574 Real-World Sessions28 May
- 2026SWE-chat: Coding Agent Interactions From Real Users in the Wild22 Apr
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agents24 Oct
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents26 Jul
Other references · 28
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,713
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,276
- 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 797
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 501
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 327
- 2023FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Setscited by 224
- 2025Checklists Are Better Than Reward Models For Aligning Language Modelscited by 159
- 2025CollabLLM: From Passive Responders to Active Collaboratorscited by 148
- 2023EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined Criteriacited by 77
- 2026Mind the Sim2Real Gap in User Simulation for Agentic Taskscited by 71
16 more
- 2025Flipping the Dialogue: Training and Evaluating User Language Modelscited by 70
- 2025SimulatorArena: Are User Simulators Reliable Proxies for Multi-Turn Evaluation of AI Assistants?cited by 65
- 2026Lost in Simulation: LLM-Simulated Users are Unreliable Proxies for Human Users in Agentic Evaluationscited by 62
- 2025Know You First and Be You Better: Modeling Human-Like User Simulators via Implicit Profilescited by 49
- 2026HiL-Bench (Human-in-Loop Benchmark): Do Agents Know When to Ask for Help?cited by 38
- 2025CUPID: Evaluating Personalized and Contextualized Alignment of LLMs from Interactionscited by 24
- 2026OdysSim: Building Foundation Models for Human Behavior Simulationcited by 20
- 2026LLMs Get Lost in Evolving User Intentcited by 18
- 2026Programming by Chat: A Large-Scale Behavioral Analysis of 11,579 Real-World AI-Assisted IDE Sessionscited by 17
- 2026Beyond Cooperative Simulators: Generating Realistic User Personas for Robust Evaluation of LLM Agentscited by 17
- 2026Learning User Simulators with Turing Rewardscited by 12
- 2025CodeAssistBench (CAB): Dataset & Benchmarking for Multi-turn Chat-Based Code Assistancecited by 7
- 2026Reinforcing Human Behavior Simulation via Verbal Feedbackcited by 6
- 2026RECAP: An End-to-End Platform for Capturing, Replaying, and Analyzing AI-Assisted Programming Interactionscited by 3
- 2026KnowSim: Evaluating Information Calibration in LLM Assistants with User Simulators that Learncited by 3
- 2026MIMESIS: Learning User Simulators as Training Environments for Interactive Agentscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SWE-DIVE: Multi-Turn Coding Agent Evaluation with Dynamic User Simulation
- 2026UserSWE: Evaluating Coding Agents in Multi-Turn Conversations with Dynamic Users
- 2026UserProxyBench: Evaluating LLM User Simulators for Agent Benchmarks and Training
- 2026SWE-Touch: Benchmarking Coding Agents When Users Touch the Code
- 2026Coding-Agent Benchmarks Should Match Their Users' Task Flows
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents
- 2026SWE-Journey: Towards More Realistic Evaluation of Coding Assistants through Long-Horizon, Multi-Turn Interaction
- 2026Self-Designed Evaluators and Warm Memory for Long-Horizon Agents