Engineering Sustainable Agents: A Systematic Comparison of Agentic LLMs for Developer Workflows
Merve Astekin, Yan Naing Tun, Arda Goknil, Erik Johannes Husom, Lwin Khin Shar, Hasan Sözer, Ratnadira Widyasari, Hui Song
Abstract
Large language models (LLMs) are increasingly used in software engineering, including agentic systems that coordinate multiple agents, but impose higher computational and environmental costs. In this paper, we present a comprehensive empirical study of agentic LLM systems across five software engineering tasks: code generation, technical debt identification, code vulnerability detection, log parsing, and log analysis. For each task, we compare LLM configurations that range from a non-agentic single-query baseline to multi-agent workflows, using six open-weight LLMs, two prompt strategies, and three hardware platforms. We assess each configuration in terms of accuracy, inference latency, and energy consumption. Our results reveal substantial trade-offs between agentic complexity and energy efficiency: multi-agent designs consume on average 6.36 as much energy and run 6.07 as long as the non-agentic baseline, with worst-case slowdowns of up to 160 for individual task--hardware pairs. Accuracy gains from additional agents are limited and task-specific: multi-agent improves average vulnerability-detection accuracy, but lightweight non-agentic and single-agent configurations still dominate the Pareto front, accounting for 59 of 66 Pareto-optimal configurations. Model and prompt choice act as task-specific levers whose effective direction varies between tasks rather than as global defaults. We translate these findings into design guidelines for sustainable, task-aware LLM-based development tools.
Create a lesson
Metadata
- Categories
- cs.SE, cs.MA
- Comments
- 50 pages, 14 figures
Related papers
Evaluating Local Language Model Agents for Data Engineering: An Empirical Software Engineering Study of Mobility Workflows
Shared title terminologycs.SEJorge García-Carrasco, Javier Sanchis, Alejandro Reina-Reina et al.
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
MEDSWE-BENCH: A Benchmark for Biomedical Software Engineering Agents
Shared title terminologycs.SEZhaoyang Zhu, Sicong Li, Zihan Liao et al.
Comparing Humans and LLMs in Software Engineering Research
Shared title terminologycs.SEMarc Herrmann, Tolga Çakır, Michael Mircea et al.
BTAE: Bottom-Up Traceable Agentic Engineering via Deterministic Knowledge Graphs and Four-Dimensional Epistemic Governance
Shared title terminologycs.SEZhengshuai Yang, Changyun Li
An Agent-Based Approach for Automating Behavior-Driven Development
Shared title terminologycs.SELuciano Belo de Alcântara Júnior, Diego Elias Costa, João Eduardo Montandon