LLMs Choose the Right Stack: From Patterns to Tools

Choosing suitable architectural patterns and the technologies that implement them is a complex design task. We evaluate how well current LLMs can support such decisions by empirically evaluating six LLMs (five open-source, one closedsource) on three scenarios: (i) naïve versus prompt-engineered pattern recommendation, (ii) decision-tree-guided selection via the CAPI method, and (iii) mapping patterns to concrete tools from a supplied list. We assess reasonableness, consistency, pattern specificity, and output structure. We show that even minimal prompts yield reasonable suggestions, while prompt engineering improves focus on architectural (rather than lowlevel design) patterns and consistency. CAPI guidance expands coverage and approaches human-expert performance, though models exhibit a strong bias toward micro-services and tend to over-suggest patterns. All models propose plausible tools when a curated list is provided. Overall, LLMs-especially when combined with structured prompts and decision-tree guidancecan meaningfully augment architectural decision-making, while highlighting the need for tighter output control and broader, less biased pattern coverage.

Authors

Institutions

Publication Details

Published
2025-11-16
DOI
https://doi.org/10.1109/asew67777.2025.00057
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLMs Choose the Right Stack: From Patterns to Tools

Jens Kosiol, Oliver Hohlfeld, Sebastian Copei, Aleksandar Ristoski
Software Engineering Research
article

LLMs Choose the Right Stack: From Patterns to Tools

Jens Kosiol, Oliver Hohlfeld, Sebastian Copei, Aleksandar Ristoski
article en

Abstract

Choosing suitable architectural patterns and the technologies that implement them is a complex design task. We evaluate how well current LLMs can support such decisions by empirically evaluating six LLMs (five open-source, one closedsource) on three scenarios: (i) naïve versus prompt-engineered pattern recommendation, (ii) decision-tree-guided selection via the CAPI method, and (iii) mapping patterns to concrete tools from a supplied list. We assess reasonableness, consistency, pattern specificity, and output structure. We show that even minimal prompts yield reasonable suggestions, while prompt engineering improves focus on architectural (rather than lowlevel design) patterns and consistency. CAPI guidance expands coverage and approaches human-expert performance, though models exhibit a strong bias toward micro-services and tend to over-suggest patterns. All models propose plausible tools when a curated list is provided. Overall, LLMs-especially when combined with structured prompts and decision-tree guidancecan meaningfully augment architectural decision-making, while highlighting the need for tighter output control and broader, less biased pattern coverage.

University of Kassel (DE), Philipps University of Marburg (DE), Fraunhofer Institute for Energy Economics and Energy System Technology (DE)
Peace, Justice and strong institutions
Openalex Percentile: Top 18%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.