This repository contains a prototype implementation of the Narrative Generator for our research project A Multi-Level Explainability Framework for BDI Agents. You can directly access the deployed web application here.
The primary levels of abstraction identified in this study are as follows:
- The Implementation Level: a detailed narrative closely related to the Agent and Multi-Agent Systems for debugging and testing.
- The Design Level: a level that describes the agent behaviour regardless of its implementation for analysis and verification.
- The Domain Level: a high-level narrative that explains the behaviour with reference to the domain and requirements of the system - (work in progress).
1a. Try it out at https://yan-elena.github.io/agent-explanation without installing anything.
1b. If you wish to use it locally, you need to have Node.js installed. Then you can follow the instructions below:
Install all the required dependencies with:
npm install
Start the react development dashboard with:
npm start
Reach http://localhost:3000/agent-explanation
from your browser to access the dashboard.
- Following the instructions presented in the Logger Component to generate the
log files
of your Jason or JaCaMo project. Run your application and retrieve the log files, then you can upload them to the Home Page.
- At this point, you can select the level to inspect for each agent in the system.
A detailed and technical level that follows Jason's operational semantics and reasoning cycle.
A higher level that narrates the agent's decisions following its cognitive abstraction according to the Belief-Desire-Intention model.
Some events are associated with an explanation of a previous event that caused it.
You can also use the log files in the /examples
folder generated for the alice-bob
and domestic-robot
(repo) running examples to try our multi-level explainability framework.