Agent HAnS: Using feature traceability to improve comprehension and trust in LLM-based coding
| dc.contributor.author | Bengtsson, Jacob | |
| dc.contributor.author | Hultin, Moltas | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
| dc.contributor.examiner | Feldt, Robert | |
| dc.contributor.supervisor | Berger, Thorsten | |
| dc.date.accessioned | 2026-07-02T13:42:20Z | |
| dc.date.issued | 2026 | |
| dc.date.submitted | ||
| dc.description.abstract | As LLM-based coding projects grow large comprehension and in turn trust of generated code is reduced. Feature models and embedded feature annotations are established concepts for getting an overview of the features present in a codebase. Both of these however require constant maintenance to reflect their associated codebase. Through a three cycle Design Science Research methodology a MCP-based tool, Agent HAnS, is iteratively implemented and evaluated. Agent HAnS automatically generates and maintains feature models and embedded feature annotations in a LLM-based software development workflow. In addition Agent HAnS presents a graphical dashboard between prompts highlighting changes made to the source code from a feature-oriented perspective. To evaluate the tool, a user study and a correctness evaluation was conducted. The results of the user study show no significant effect on trust and comprehension but that Agent HAnS is usable and does not impact the overall effort needed. The correctness evaluation shows that feature models generated by Agent HAnS varies in quality, sometimes equivalent to a human defined baseline and other times misses critical features. A more extensive study would be better positioned to assess the potential benefits of Agent HAnS. | |
| dc.identifier.uri | https://hdl.handle.net/20.500.12380/311814 | |
| dc.language.iso | eng | |
| dc.setspec.uppsok | Technology | |
| dc.subject | LLM, features, feature models, embedded feature annotations, vibe cod ing, agentic coding | |
| dc.title | Agent HAnS: Using feature traceability to improve comprehension and trust in LLM-based coding | |
| dc.type.degree | Examensarbete för masterexamen | sv |
| dc.type.degree | Master's Thesis | en |
| dc.type.uppsok | H | |
| local.programme | Software engineering and technology (MPSOF), MSc |
