arXiv:2610.29741cs.SEOct 2026

Manuscript Offprint

arXiv:2610.29741

Engineering Requirements for Generative AI Agents: The BARD Process Theory

Alfonso Cannavale, Antonio Della Porta, Gianmario Voria, Gilberto Recupito, Maria Teresa Baldassarre, Gemma Catolino, Fabio Palomba, Andrea De Lucia, Stefano Lambiase

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alfonso Cannavale*, Antonio Della Porta*, Gianmario Voria*, Gilberto Recupito†, Maria Teresa Baldassarre†, Gemma Catolino*, Fabio Palomba*, Andrea De Lucia*, Stefano Lambiase§

*University of Salerno, Italy †Vrije Universiteit Brussel, Belgium

†University of Bari, Italy §Aalborg University, Denmark

Abstract—How teams engineer requirements for systems built around Generative AI (GenAI) Agents remains empirically uncharted. Existing Requirements Engineering (RE) research mainly addresses AI and ML-based systems broadly but provides no process account for agentic systems, whose non-deterministic behavior cannot be anticipated at design time. To understand how teams actually proceed, we applied Socio-Technical Grounded Theory across 36 semi-structured interviews with practitioners, interleaving data collection and analysis so that emerging findings drove our theoretical sampling and shaped successive rounds of coding. The result is Behavioral Agent Requirement Discovery (BARD), the process theory of RE for GenAI Agents. BARD holds that requirements are not fixed up front but discovered through a recurring cycle of four activities: teams scope the need, build the agent, observe its behavior, and revise what they ask for. Through this four-phase loop, the requirement evolves from a fixed specification towards behavioral and evaluation criteria. Four tensions drive transitions between phases, and two conditions frame the loop. BARD provides researchers with a framework for iteratively refining RE workflows, while giving practitioners a structured basis to embed into their development processes.

Index Terms—Requirements Engineering, Generative AI, Agents, Grounded Theory, Empirical Software Engineering.

I. INTRODUCTION

Generative AI (GenAI) Agents are autonomous software systems that combine Large Language Model (LLM) reasoning with tool use to act on behalf of a user [1]-[3]. Within a few years, they have moved from research prototypes to industrial deployment with recurring examples where workflow assistants chain multiple steps to complete a business task, coding assistants read and modify entire repositories, and customer-facing assistants look up information and update records on behalf of a user. What distinguishes these systems from earlier AI-powered software is a combination of three properties: a non-deterministic reasoning core [4], the ability to invoke external tools mid-execution [5], [6], and a degree of autonomy in deciding when and how to act. Engineering software around such a core raises questions that established practices do not yet routinely answer [7], [8].

Over the years, Requirements Engineering (RE) has shown its relevance for the definition of complex systems. As a mature discipline, RE practices remain a key pillar in the AI context, enabling the modeling and development of AI-enabled systems. However, the shift towards these systems has changed the characteristics of this process, introducing new roles, activities, and practices [8]. With the introduction of agents, this evolution accelerates further, requiring RE practices to account for systems whose behavior cannot be fully anticipated at design time.

This evolving relationship between RE and AI has itself become subject of study: RE for AI- and ML-based systems has grown into an active research area in recent years. Villamizar et al. [9] surveyed RE practices for ML systems, and Habiba et al. [8] extended the lens to AI-based systems more broadly across 126 primary studies. Workshop papers in the IEEE RE conference series [10], [11], together with the framing piece of Dalpiaz and Niu [12], set the early agenda. Wan et al. [13] combined interviews with a follow-up survey to characterize how ML changes development practice. None of this work, however, tried to examine the RE process through which requirements for GenAI Agent systems are actually elicited, negotiated, refined, and validated in practice. As a result, current knowledge remains fragmented across narrower concerns, such as non-functional requirements, evaluation, prompt design, and quality assurance, without a shared process frame that explains how these concerns are connected during development. This fragmentation limits cumulative understanding: researchers lack a common reference against which to position empirical findings, educators and tool builders lack a process-oriented anchor for curricula and design decisions, and practitioners are left to rely on local heuristics rather than a shared vocabulary for comparing and improving their practices.

More broadly, this gap reflects the limited availability of substantive theory in socio-technical software engineering (SE) research [14], [15]. Substantive theories, and process theories in particular, play an important integrating role in mature empirical disciplines by explaining how phenomena unfold over time and how their constituent activities relate to one another [16]. This need has motivated theory-building approaches in SE, such as Socio-Technical Grounded Theory [15]. In the absence of such a foundation for GenAI Agent RE, the field risks accumulating disconnected reports on individual practices, while teams continue to rediscover similar trade-offs in isolation.

To address these gaps, we developed the substantive process theory [15]–[17] of how practitioners engineer requirements for GenAI Agent systems. 1^{1}

We then formulated the following research question:

? RQ—How do practitioners engineer requirements for software systems built around GenAI Agents?

To answer the question, we applied Socio-Technical Grounded Theory (STGT) [15] to develop a substantive theory; we interviewed 36 practitioners recruited by convenience sampling, snowballing, and self-selection (integrating screening criteria). As a result, we provide the following contributions: (1) Behavioral Agent Requirement Discovery (BARD), i.e., to the best of our knowledge, the first substantive theory of the RE process for GenAI Agents; (2) an empirically grounded characterization of the requirements, artifacts, and decisions agent teams reason about—e.g., system prompts and evaluation suites; and (3) implications for researchers and practitioners: the former obtain a shared frame in which to position narrower results and sharpened questions for follow-up research, the latter a vocabulary and process anchors.

References (53)