arXiv:2610.09901cs.SEOct 2026

Manuscript Offprint

arXiv:2610.09901

A Chat Assistant for Software Exploration in a 3D Software Visualization

Malte Hansen, Karim Issa, Wilhelm Hasselbring

Malte Hansen

Department of Computer Science

Kiel University

Kiel, Germany

malte.hansen@email.uni-kiel.de

Karim Issa

Department of Computer Science

Kiel University

Kiel, Germany

stu203382@mail.uni-kiel.de

Wilhelm Hasselbring

Department of Computer Science

Kiel University

Kiel, Germany

hasselbring@email.uni-kiel.de

Abstract—We present a chat assistant for interactive software exploration, embedded in the 3D software visualization tool ExplorViz. The assistant builds upon current Large Language Models (LLMs) and enables users to ask questions about the currently visualized software system and trigger actions that change the visualization through natural language. We integrate the chat assistant in our ExplorViz frontend using the CopilotKit libraries such that probabilistic LLMs are combined with deterministic and tool-based actions similar to implementations using the Model Context Protocol (MCP). The chat assistant is also enabled to restructure the software system by adding, removing, or modifying parts of the software system in the visualization.

An empirical experiment with eleven participants evaluated both perceived comprehension support and the tool calls that were triggered by the chat assistant. Participants rated the assistant's generated summaries and explanations as largely correct. They also reported high usability for actions like highlighting entities in the visualization and the creation of new color themes.

In contrast, open-ended chat-assisted software restructuring in the visualization showed mixed results. This suggests a need for stronger guardrails for the employed LLM and better incorporation of user feedback. Overall, the assistant was perceived as usable and promising for reducing interaction overhead during exploratory program comprehension tasks.

We provide a video presenting the chat assistant's use and a reproduction package of the software system that was used in our evaluation.

Index Terms—software visualization, chat assistant, program comprehension, city metaphor, web

I. INTRODUCTION

Large language models (LLMs) have become increasingly popular in recent years, particularly for writing-related tasks [1], [2]. In addition, various tools using artificial intelligence (AI) and AI-driven approaches using LLMs have been developed for a wide range of disciplines [3]–[5]. Also, the field of visual analytics has adopted and evaluated the use of LLMs [6]–[8]. Recently, the first LLM-driven approaches in the field of software visualization have been presented, for example to generate UML diagrams [9]–[11].

Most of the LLM-driven approaches focus on 2D visualizations, and as of now, there is only limited work on the use of LLMs in the context of 3D software visualization tools [12]. Traditional computer program interaction and use can be frustrating and time-consuming [13]. Therefore, we consider the use of intuitive, textual, LLM-based interfaces for visualization tools to be a promising way to improve usability. In this paper, we present the integration of a chat assistant powered by LLMs into our 3D software visualization tool ExplorViz [14], [15].

ExplorViz is a web-based tool that employs the city metaphor [16], [17]. The chat assistant is integrated into the frontend of ExplorViz using CopilotKit 1^{1} such that the user can interact with it via a chat window that is typical for LLM usage. Our chat assistant can request data about the state of the visualization as context and modify the visualization by using provided frontend tools. An empirical evaluation with eleven participants was conducted to generate insights regarding the chat assistant's application for program comprehension, triggering frontend tools, and restructure software systems in the 3D visualization.

The remainder of the paper is structured as follows. In Section II, we introduce our software visualization tool ExplorViz. In Section III, we discuss relevant related software visualization and chat assistant approaches. Section IV presents the tool architecture and chat assistant implementation. Examples of the resulting visualization and interaction with the chat assistant are presented in Section V. The conducted empirical evaluation is presented in Section VI. The paper is concluded with a summary and outlook in Section VII.

References (36)