Editor’s introduction
The study evaluates a persona-based requirements engineering framework applied to a multi-agent clinical reasoning training system. Researchers compared the use of detailed, stakeholder-aligned personas—representing medical students, educators, and AI agents—to traditional requirements methods, focusing on how well the resulting system explained its decision-making. The framework integrated user stories and goals derived from personas to ensure transparency and alignment with real-world clinical scenarios. Findings indicate that medical students perceived improved clinical reasoning skills, suggesting the approach supports effective learning. A key boundary of the evidence is the limitation in technical grounding: while personas were designed to be relatable, the study acknowledges challenges in maintaining a clear distinction between persona attributes and actual AI agent capabilities. This risk of over-anthropomorphizing was managed through stakeholder discussions, but the extent of technical fidelity remains a constraint in the current implementation. The results demonstrate that human-centered design can enhance explainability, yet the framework’s effectiveness depends on careful facilitation during requirement elicitation.
Introduction
The integration of AI and Agentic AI into high-stakes domains such as healthcare and education is accelerating, with Multi-Agent Systems (MAS) offering sophisticated solutions for complex simulations and decision support. In medical education, MAS can simulate realistic physician-patient encounters, enabling medical students to practice diagnostic and communication skills in a controlled learning environment. However, the increasing autonomy and complexity of these AI agents often result in “black-box” behavior, where the reasoning behind their decisions is opaque to users. This lack of transparency poses a significant barrier to trust, user acceptance, and effective learning, as medical educators and students cannot verify or understand the AI’s logic.
The central challenge is the absence of a systematic human-centered methodology for engineering requirements for eXplainable AI (XAI). Traditional Requirements Engineering (RE) processes are ill-equipped to handle the unique demands of data-driven AI systems, particularly the need to specify who requires an explanation, what needs explaining, and how the explanation should be delivered. Without a structured approach, the features of XAI are often developed ad-hoc, failing to meet the nuanced needs of diverse stakeholders. Habiba et al. highlight the importance of user-centered design in XAI and proposed a framework to integrate XAI requirements into RE processes by identifying stakeholders as a starting point, but there is a gap in methodologies that effectively translate user needs into technical requirements for explainability, especially in real-world use cases. Cirque et al. proposed a scenario-based requirement elicitation method for user-centric XAI with a fraud detection case study, but it does not explicitly address explainability in MAS, and the scenarios are not designed to capture the needs of multiple interacting agents in a complex system. There is a need for methodologies that can systematically capture and translate the explainability requirements of various stakeholders into actionable specifications for MAS in education.
AI Agents and Multi-Agent Systems
Agents are autonomous entities that perceive their environment and take actions to achieve specific goals. AI agents usually contain planning, tool calling, memory, and actions. In MAS, multiple AI agents interact with each other and their environment, often collaborating or competing to solve complex problems. The explainability of AI agents in MAS is particularly challenging due to their distributed nature and the emergent behaviors that arise from agent interactions. Understanding how individual agents make decisions and how these decisions impact the system as a whole is crucial for building trust and ensuring accountability. In educational contexts, MAS can simulate realistic scenarios that provide rich learning experiences, but the opacity of agent decision-making can hinder user engagement and learning outcomes. Therefore, integrating explainability into the design of AI agents in MAS is essential for their effective use in education.
Explainable AI in Education
Explainable AI (XAI) is a field of research and practice focused on addressing the lack of transparency in the black-box issue and making AI systems’ decisions and predictions understandable to humans. Explainability is critical in education, where AI systems are used to provide personalized learning experiences, assess student performance, and offer feedback. In medical education, for example, AI agents that simulate patient interactions or provide diagnostic support must be able to explain their reasoning to medical students and educators. This transparency is essential for building trust in the system and ensuring that users can understand the AI’s decision-making process. XAI techniques can help bridge the gap between complex AI models and human users by providing information on how decisions are made, which features are the most influential, and what uncertainties exist in predictions. This is particularly important in educational settings, where the goal is not only to achieve accurate results but also to facilitate learning and understanding. Some research efforts have explored XAI in education, but there is still a need for systematic methodologies to integrate explainability into the design and development of educational AI systems, especially in multi-agent contexts where multiple AI entities interact with each other and with human users. Existing XAI techniques often focus on post-hoc explanations of model behavior. However, the application of XAI in educational contexts, particularly in multi-agent systems, is still an emerging area of research. There is a need for methodologies that can systematically capture and translate the explainability requirements of various stakeholders into actionable specifications for educational AI systems.
Requirement Engineering and Personas
Requirements Engineering (RE) is the process of defining, documenting, and maintaining requirements for a computer-based system. It is a critical process that ensures that systems meet user needs and expectations on what a system should do and how it should behave. The success of this RE stage could save costly rework and lay the foundation for project success. Nuseibeh and Easterbrook regard RE as a socio-technical activity that should involve various stakeholders and understand their perspectives on a RE roadmap. For AI systems, RE is particularly challenging due to their data-driven nature, probabilistic outputs, and emergent behaviors. Traditional RE methods often fall to capture these dynamic aspects. It is crucial to have a structured approach to elicit and specify requirements that address the unique challenges of AI systems, including explainability. Personas, fictional characters created to represent the different types of users within a targeted demographic, are a widely adopted technique in human-computer interaction for user-centered design to foster empathy and guide development. Currently, personas help teams focus on user goals and needs. However, most applications have been limited to human users. The concept of applying personas to non-human entities, such as AI agents, to explore system interaction requirements remains largely unexplored. Creating detailed personas for each AI agent in a multi-agent system can help users better understand and communicate their capabilities, limitations, and decision-making processes. This approach allows stakeholders to reason about the agents’ internal states and how they interact with human users, which is essential for eliciting explainability requirements that are aligned with user needs and expectations.
Scenarios Exploration
After developing AI Personas, we explore various scenarios that represent typical interactions between human personas and AI agent personas. These scenarios are designed to capture the context in which explainability is the most critical. For example, in a clinical scenario simulation, a scenario might involve a medical student interacting with an AI patient agent to diagnose a condition. The scenario would detail the sequence of interactions, the information exchanged, and the decision points where explainability is essential for the student to understand the AI’s reasoning. This exploration helps identify the specific moments where explainability is needed and informs the subsequent generation of XAI user stories.
RE Validation with Personas and Scenarios
RE validation is conducted through walkthroughs of the AI Personas and scenarios with human personas. This process ensures that the requirements derived from the user stories are aligned with the needs and expectations of the human personas. Stakeholders and human personas can provide feedback on whether the explainability features meet their needs and suggest adjustments to the requirements as necessary.
Iteration & Updates
The RE process is iterative. As MAES is developed and tested, new insights may emerge that require updates to the AI Personas, scenarios, user stories, and requirements. This iterative approach ensures that the system remains aligned with user needs and can adapt to changes in the educational context or technological capabilities.
Identifying Stakeholders, AI Agents and their Roles in MAES for CSS
MAES for CSS has multiple stakeholders, including medical students, medical educators, and the AI simulated agents. Each stakeholder has unique needs and goals that have been considered in the design of the system. Medical students require a realistic and interactive learning environment to practice clinical reasoning skills. Medical educators need tools to monitor student progress and provide targeted feedback. AI agents are designed to simulate realistic patient interactions and provide accurate diagnostic support while being explainable in their decision-making processes. The following table I summarizes the key stakeholders and their roles in the MAES for CSS. This comprehensive understanding of stakeholders and their interactions is crucial for developing explainability requirements that align with the needs of all parties involved in the clinical scenario simulator.
Exploring Clinical Scenarios
We explore various clinical scenarios that medical students might encounter while using the MAES for CSS. For example, in a clinical case, a medical student could involve an AI patient (Alex) who presents with chest pain, where the AI Diagnostic Agent (Brain) must analyze symptoms and test results to generate a differential diagnosis. The AI Supervisor Agent (Sam) would then provide feedback based on the student’s conversation about collecting the patient symptoms and clinical conditions. These scenarios were designed to be realistic and educational, allowing students to practice their clinical reasoning skills while also providing opportunities for AI agents to demonstrate their explainability features. For example, in the chest pain scenario, Sam might explain that it ruled out a diagnosis of myocardial infarction because the patient’s EKG results did not show specific changes, and Dr. Eva might provide feedback on the student’s choice of diagnostic tests, explaining that it recommended a troponin test due to the patient’s risk factors and presentation. Finally, Dr.Eval will collect all the conversation between student-AI agents and provide structured feedback on what could be improved and what did good. Clinical scenarios could help identify the interaction and relationship between human personas and AI personas, and we could explore as much as we needed. These clinical scenarios help identify the specific moments where explainability is needed and inform the subsequent generation of XAI user stories.
Identifying XAI User Stories for each stakeholder and agent
Based on the identified AI agents and clinical scenarios, we develop user stories that capture the explainability requirements for each stakeholder and agent in the MAES for CSS. These user stories were generated according to a combination of stakeholder interviews, focus groups, and LLM-assisted brainstorming sessions. The user stories are designed to ensure that the system’s explainability features are aligned with the needs and expectations of all stakeholders and AI agents. For example, a user story for the AI Diagnostic Agent might be: “As a medical student, I want to understand why the AI Diagnostic Agent ruled out a specific diagnosis, so that I can learn from its reasoning process and improve my clinical decision-making skills.” This user story highlights the need for transparency in the diagnostic process and informs the requirement for the AI Diagnostic Agent to provide clear explanations of its reasoning. Another user story for the AI Supervisor Agent could be: “As a medical educator, I want to understand the criteria the AI Evaluation Agent uses to provide feedback, so that I can better guide my students and ensure that the feedback is educationally valuable.” This user story emphasizes the importance of explainability in the feedback mechanism, ensuring that educators can trust and effectively utilize the system’s feedback to enhance student learning outcomes. These user stories serve as a foundation for translating stakeholder needs into specific actionable requirements that guide the development of explainability features in the MAES for CSS.
Translating User Stories into Requirements
The user stories were then translated into specific functional and non-functional requirements for the MAES for CSS. For example, the user story about understanding the AI Diagnostic Agent’s reasoning process might translate into a functional requirement that states: “The AI Diagnostic Agent shall provide a feature importance visualization that highlights the symptoms and test results that most strongly influenced its top diagnosis.” This requirement ensures that the system includes a specific explainability feature that allows medical students to understand the diagnostic reasoning of the AI Diagnostic Agent. Similarly, the user story about understanding the AI Evaluation Agent’s feedback criteria might translate into a requirement such as: “The AI Evaluation Agent shall log its feedback decisions and the triggers for those decisions in an educator dashboard, allowing educators to review and understand its pedagogical strategy.” This requirement ensures that educators have access to information about how the evaluation agent is making its feedback decisions, which is essential for building trust and effectively using the system in an educational context. These requirements were then integrated into the development process of the MAES for CSS, ensuring that explainability was a core aspect of the system’s design and functionality from the early stages of development.
Validating RE with AI Personas and Scenarios
After translating the user stories into requirements, we validated these requirements through walkthroughs of the AI Personas and scenarios with human agents. This process involved presenting AI Personas and clinical scenarios to medical students and educators, along with the derived requirements for explainability features. Stakeholders were asked to provide feedback on whether requirements met their needs and expectations for explainability in the context of the clinical scenario simulation. For example, medical students might have provided feedback on whether the feature importance visualization (a clinical reasoning decision tree) for the AI Diagnostic Agent was clear and helpful in understanding diagnostic reasoning, while educators might have evaluated whether the educator dashboard for the AI Evaluation Agent provided sufficient insight into its feedback decisions. This validation process ensured that the requirements were aligned with the needs of the stakeholder and informed any necessary adjustments to better meet those needs.
Iterating and Updating RE
The RE process was iterative, with ongoing feedback from stakeholders that led to updates in AI Personas, scenarios, user stories, and requirements. As MAES for CSS was developed and tested, new insights emerged that prompted revisions to the explainability features. For example, if medical students found that the initial feature importance visualization was too complex or not sufficiently informative, we might have iterated on the design of that feature to make it more user-friendly and educationally valuable. Similarly, if educators provided feedback that the educator dashboard did not capture certain aspects of the supervisor agent’s decision-making process, we could have updated the requirements to include additional logging or visualization features. This iterative approach ensured that the MAES for CSS remained aligned with user needs and could adapt to changes in the educational context or technological capabilities as development progressed.
Impact on Requirement Quality
The use of AI Personas and XAI user stories led to requirements that were more specific, comprehensive, and user-focused. The persona “Alex” allowed stakeholders to articulate their need for transparency in a way that “the diagnostic model” did not. This AI persona RE framework created an effective bridge between human needs and the technical reality of MEAS. The resulting requirements covered a wider range of explainability needs than our initial expert-driven brainstorming had produced.
Challenges and Limitations
The major challenge in this approach was to ensure that the AI Personas were grounded in the technical capabilities of the underlying models. While the personas were designed to be relatable and human-like, it was essential to maintain a clear distinction between the persona’s attributes and the actual technical specifications of the AI agents. This required careful facilitation during stakeholder discussions to prevent over-anthropomorphizing the AI agents, which could lead to unrealistic expectations about their capabilities. Additionally, the quality of the user stories and the requirements derived from the personas were highly dependent on the quality of the input data and the prompts used to generate the personas. If the initial data or prompts were biased or incomplete, it could lead to personas that do not accurately represent the AI agents, which, in turn, could result in requirements that are not aligned with user needs. Also, because of limited case studies, more detailed scenario and XAI user stories, as well as RE, could be improved and enhanced. Finally, this case study is limited to a single application in medical education, and further research is needed to validate this methodology in other domains and with different types of AI systems.
Conclusion and Future Work
This paper has demonstrated that the integration of AI Personas and XAI-specific user stories provides a robust methodology for requirements engineering in explainable AI systems. Treating AI agents as first-class stakeholders in the design process, we can systematically elicit and specify requirements for explainability, transparency, and interpretability. Our case study of a multi-agent clinical simulator confirms that this human-centered, persona-based RE for MEAS approach results in systems that are not only more trustworthy but also more effective in achieving their educational goals.
For future work, we plan to explore more detailed scenarios and XAI user stories, as well as functionality and non-functional requirements. The underlying models, tools, and functional calls in each agent could be improved. We will also investigate the application of this methodology in other high-stakes domains, such as K-12 educational settings, literature reviews, to develop a generalized framework for human-centered XAI design. Finally, we will examine the ethical implications of using anthropomorphic personas in AI development, particularly with respect to user expectations and the potential for deception.


