KIT | KIT-Bibliothek | Impressum | Datenschutz

A Road Map for Tamed Interactions with Large Language Models

Scotti, Vincenzo ORCID iD icon 1; Keim, Jan ORCID iD icon 2; Hey, Tobias ORCID iD icon 1; Metzger, Andreas 3; Koziolek, Anne ORCID iD icon 1; Mirandola, Raffaela 1
1 Karlsruher Institut für Technologie (KIT)
2 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)
3 Versuchsanstalt für Stahl, Holz und Steine (VAKA), Karlsruher Institut für Technologie (KIT)

Abstract:

Large Language Models are increasingly embedded in software systems (GenAIware), enabling new forms of automation and interaction. However, their probabilistic nature and reliance on prompt programming challenge reliability, robustness, and maintainability. In current practice, prompt-related concerns (e.g., context management, interaction logic, output validation) are embedded in general-purpose code, leading to implicit, hard-to-analyze systems. We argue that prompt programming should be treated as a first-class Software Engineering (SE) concern and propose LLM Scripting Language (LSL), a Domain-Specific Language (DSL) for structuring LLM interactions as analyzable programs. LSL introduces abstractions for interaction blocks, context scopes, output constraints, and control flow, separating deterministic logic from probabilistic model behavior while ensuring syntactic compliance. From an SE perspective, LSL supports disciplined development by making interaction logic explicit, analyzable, and amenable to verification and validation. It also acts as cognitive scaffolding, externalizing prompt design into programmable artifacts that reduce implicit reasoning and support systematic debugging, evolution, and reuse. ... mehr


Verlagsausgabe §
DOI: 10.5445/IR/1000199111
Veröffentlicht am 13.11.2026
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Versuchsanstalt für Stahl, Holz und Steine (VAKA)
Publikationstyp Zeitschriftenaufsatz
Publikationsdatum 30.09.2026
Sprache Englisch
Identifikator ISSN: 1049-331X, 1557-7392
KITopen-ID: 1000199111
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Erschienen in ACM Transactions on Software Engineering and Methodology
Verlag Association for Computing Machinery (ACM)
Band 35
Heft 9
Seiten 1–40
Vorab online veröffentlicht am 21.08.2026
Nachgewiesen in OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page