paper-with-me

Papers

Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories

2025-06-23 · Islem Bouzenia, Michael Pradel

Large Language Model (LLM)-based agents are increasingly employed to automate complex software engineering tasks such as program repair and issue resolution. These agents operate by autonomously generating natural language thoughts, invoking external tools, and iteratively refining their solutions. Despite their widespread adoption, the internal decision-making processes of these agents remain largely unexplored, limiting our understanding of their operational dynamics and failure modes. In this paper, we present a large-scale empirical study of the thought-action-result trajectories of three state-of-the-art LLM-based agents: \textsc{RepairAgent}, \textsc{AutoCodeRover}, and \textsc{OpenHands}. We unify their interaction logs into a common format, capturing 120 trajectories and 2822 LLM interactions focused on program repair and issue resolution. Our study combines quantitative analyses of structural properties, action patterns, and token usage with qualitative assessments of reasoning coherence and feedback integration. We identify key trajectory characteristics such as iteration counts and token consumption, recurring action sequences, and the semantic coherence linking thoughts, actions, and their results. Our findings reveal behavioral motifs and anti-patterns that distinguish successful from failed executions, providing actionable insights for improving agent design, including prompting strategies, failure diagnosis, and anti-pattern detection. We release our dataset and annotation framework to support further research on transparent and robust autonomous software engineering agents.

📄 PDF Abstract BibTeX arXiv:2506.18824

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language ModelProgram Repair

Similar Papers 제목 키워드 기반

Agentic AI for Software: thoughts from Software Engineering community

2025-08-24 · Abhik Roychoudhury arxiv

AI agents have recently shown significant promise in software engineering. Much public attention has been transfixed on the topic of code generation from Large Language Models (LLMs) via a prompt. However, software engin…

Code GenerationProgram Repair

Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement

2024-11-01 · Yingwei Ma, Rongyu Cao, Yongchang Cao, Yue Zhang 외

Recent advancements in LLM-based agents have led to significant progress in automatic software engineering, particularly in software maintenance and evolution. Despite these encouraging advances, current research faces t…

Language ModelingLanguage Modelling

Reproducible, Explainable, and Effective Evaluations of Agentic AI for Software Engineering

2026-04-01 · Jingyue Li, André Storhaug arxiv

With the advancement of Agentic AI, researchers are increasingly leveraging autonomous agents to address challenges in software engineering (SE). However, the large language models (LLMs) that underpin these agents often…

Understanding Code Agent Behaviour: An Empirical Study of Success and Failure Trajectories

2025-10-31 · Oorja Majgaonkar, Zhiwei Fei, Xiang Li, Federica Sarro 외 arxiv

The increasing deployment of Large Language Model (LLM) agents for complex software engineering tasks has created a need to understand their problem-solving behaviours beyond simple success metrics. While these agents de…

Understanding Software Engineering Agents Through the Lens of Traceability: An Empirical Study

2025-06-10 · Ira Ceka, Saurabh Pujar, Shyam Ramji, Luca Buratti 외

With the advent of large language models (LLMs), software engineering agents (SWE agents) have emerged as a powerful paradigm for automating a range of software tasks -- from code generation and repair to test case synth…

Code GenerationDecision Making