Process-Centric Analysis of Agentic Software Systems
By: Shuyang Liu , Yang Chen , Rahul Krishna and more
Potential Business Impact:
Shows how AI programs solve problems, not just if they win.
Agentic systems are modern software systems: they consist of orchestrated modules, expose interfaces, and are deployed in software pipelines. Unlike conventional programs, their execution (i.e., trajectories) is inherently stochastic and adaptive to the problem they are solving. Evaluation of such systems is often outcome-centric, judging their performance based on success or failure at the final step. This narrow focus overlooks detailed insights about such systems, failing to explain how agents reason, plan, act, or change their strategies over time. Inspired by the structured representation of conventional software systems as graphs, we introduce Graphectory to systematically encode the temporal and semantic relations in such software systems. Graphectory facilitates the design of process-centric metrics and analyses to assess the quality of agentic workflows independent of final success. Using Graphectory, we analyze 4000 trajectories of two dominant agentic programming workflows, namely SWE-agent and OpenHands, with a combination of four backbone Large Language Models (LLMs), attempting to resolve SWE-bench Verified issues. Our fully automated analyses reveal that: (1) agents using richer prompts or stronger LLMs exhibit more complex Graphectory, reflecting deeper exploration, broader context gathering, and more thorough validation before patch submission; (2) agents' problem-solving strategies vary with both problem difficulty and the underlying LLM -- for resolved issues, the strategies often follow coherent localization-patching-validation steps, while unresolved ones exhibit chaotic, repetitive, or backtracking behaviors; (3) even when successful, agentic programming systems often display inefficient processes, leading to unnecessarily prolonged trajectories.
Similar Papers
A Comprehensive Empirical Evaluation of Agent Frameworks on Code-centric Software Engineering Tasks
Software Engineering
Helps computers build and fix software faster.
Agentic Software Engineering: Foundational Pillars and a Research Roadmap
Software Engineering
Helps AI build complex software with human help.
Understanding Software Engineering Agents Through the Lens of Traceability: An Empirical Study
Software Engineering
Helps computers write better, more human-like code.