arXiv:2609.15877cs.SESep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.15877

Using Agentic AI for contextualized and multifaceted code review at Ericsson

Muhammad Laiq, Ricardo Britto, Muhammad Usman, Nishrith Saini, Deepika Badampudi

Muhammad Laiq 1^{1}, Ricardo Britto 1,2^{1,2}, Muhammad Usman 1^{1}, Nishrith Saini 2^{2}, and Deepika Badampudi 1^{1}

1^{1} Blekinge Institute of Technology, Sweden.

{muhammad.laiq, muhammad.usman, ricardo.britto, deepika.badampudi}@bth.se

2^{2} Ericsson AB, Sweden.

{ricardo.britto, nishrith.saini}@ericsson.com

Abstract. Context: Conducting effective code reviews is increasingly challenging due to the growing complexity of software systems and the accelerated code generation by AI coding agents. LLM-based approaches for code reviews have shown promising results in identifying defects and improving code quality. However, existing approaches rarely consider project-specific contextualized knowledge, and few have been evaluated in industrial settings.

Objective: In this study, we propose a multi-agent-based solution that provides multifaceted assessments of code changes.

Method: Following the Design Science Research Process, we developed and evaluated our solution in an industrial setting. Our solution combines specialized agent skills with context-specific knowledge to identify antipatterns in code changes across four dimensions: readability, maintainability, reliability, and performance. Using our solution, we generated reviews for several code commits and identified more than 200 issues. These issues were then manually validated by the developers of the case company for their correctness and importance.

Results: The evaluation results show that our solution achieves 96% accuracy in correctly identifying issues in the investigated code commits. Furthermore, around 69% of the correctly identified issues were rated as important, with approximately 33% rated as severe issues that must be fixed and 36% as important issues that should be fixed. Qualitative feedback from developers corroborates these findings and highlights the usefulness of the generated reviews.

Conclusion: Our findings provide empirical evidence from an industrial evaluation that combining specialized agent skills with context-specific knowledge yields accurate, practically useful code reviews.

Keywords: Modern code reviews · Agentic code review · Multifaceted code review · Contextualized code review.

1 Introduction

Code review is a fundamental practice in software engineering that helps improve software quality and facilitates knowledge sharing among developers [4, 6, 3]. Developers routinely perform code reviews to assess code changes, for example, to

Laiq et al.

identify defects, maintain coding standards, and ensure the long-term health of software systems. However, conducting effective reviews remains a challenge. Reviewers are expected to understand the intent of code changes, reason about their impact on the broader system, and identify potential issues, all while working within fast-paced development cycles. This imposes a significant cognitive load on the reviewers. The challenge becomes even greater as software systems continue to grow in scale and complexity, making it increasingly difficult to maintain thorough, consistent, and timely reviews [17, 2, 18]. This challenge is further amplified by the rise of agentic AI in software development. As organizations delegate an increasing share of implementation work to AI coding agents, code is produced at a speed and volume that human reviewers cannot match, making reviewers a bottleneck and increasing their cognitive load. This is particularly acute in companies moving toward a fully AI-native software development approach, where orchestrated agent workforces operate in parallel, and assurance is expected to keep up with code generation rather than lag behind [7].

To assist practitioners in code review, several automated solutions have been proposed in the literature [32, 3]. These solutions include static analysis tools, traditional machine learning and deep learning-based approaches, and more advanced large language models (LLMs). Although prior work has made significant progress and shown positive results, important gaps remain. For example, many of these approaches focused on providing a narrow review [30, 32]. In practice, reviewers rarely assess code changes from a single perspective. Instead, they apply a multifaceted reasoning process that considers a range of software quality concerns simultaneously. For example, maintainability, readability, and other non-functional qualities. Another important challenge concerns the role of contextual knowledge in review activities. Human reviewers rely extensively on contextual information, including system architecture, organizational standards, dependencies, and domain-specific constraints, when assessing the implications of a code change. Previous work also emphasizes that reviewers need both the local and global context to effectively understand and assess changes [30]. However, much of the current work uses limited context-specific knowledge [2, 32, 30]. As a result, many existing approaches struggle to provide feedback that reflects the broader context in which software systems evolve. In addition, evaluations of the proposed approaches in real industrial settings remain relatively limited.

This study aims to contribute towards filling the above-mentioned gaps. We propose a contextualized multi-agent code review approach. The proposed approach combines multiple specialized agents with context-specific knowledge to support a multifaceted assessment of code changes. Within the scope of this study, we assess code changes across four dimensions: readability, maintainability, reliability, and performance. The study follows the Design Science Research Process by Offermann et al. [21]. The solution is developed and evaluated in an industrial context (Ericsson).

In this study, we answered the following research questions.

– RQ1: What design choices are essential for providing multifaceted and contextualized code review?

– RQ2: How accurate is the proposed approach in identifying issues from code commits?

– RQ3: How effective is the proposed approach in terms of identifying important issues from code commits?

We assess accuracy by measuring the proposed approach's ability to identify valid issues in code changes, with each identified issue labeled correct or incorrect, and effectiveness by measuring the extent to which correctly identified issues are considered worth fixing, with each correct issue rated as minor, medium, or high.

This paper is organized as follows. Section 2 describes the related work on the topic. Sections 3–4 present the research design and the proposed solution. Section 5 presents the results of the study. Section 6 discusses the findings of the study. Section 7 describes the threats to validity. Finally, Section 8 concludes the paper with future work.

References (32)