English

Towards Structured, State-Aware, and Execution-Grounded Reasoning for Software Engineering Agents

Software Engineering 2026-02-05 v1 Artificial Intelligence

Abstract

Software Engineering (SE) agents have shown promising abilities in supporting various SE tasks. Current SE agents remain fundamentally reactive, making decisions mainly based on conversation history and the most recent response. However, this reactive design provides no explicit structure or persistent state within the agent's memory, making long-horizon reasoning challenging. As a result, SE agents struggle to maintain a coherent understanding across reasoning steps, adapt their hypotheses as new evidence emerges, or incorporate execution feedback into the mental reasoning model of the system state. In this position paper, we argue that, to further advance SE agents, we need to move beyond reactive behavior toward a structured, state-aware, and execution-grounded reasoning. We outline how explicit structure, persistent and evolving state, and the integration of execution-grounded feedback can help SE agents perform more coherent and reliable reasoning in long-horizon tasks. We also provide an initial roadmap for developing next-generation SE agents that can more effectively perform real-world tasks.

Keywords

Cite

@article{arxiv.2602.04640,
  title  = {Towards Structured, State-Aware, and Execution-Grounded Reasoning for Software Engineering Agents},
  author = {Tse-Hsun and Chen},
  journal= {arXiv preprint arXiv:2602.04640},
  year   = {2026}
}

Comments

Position paper accepted in BoatSE

R2 v1 2026-07-01T09:36:03.371Z