Coder Social home page Coder Social logo

yan-elena / agent-logging Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 313 KB

Logging component of the multi-level explainability framework for multi-agent BDI systems

License: GNU General Public License v2.0

ASL 1.63% Java 98.37%
bdi-model explainability jacamo jason logging-framework multi-agent-systems explainable-bdi-agents

agent-logging's Introduction

Agent Logging

This repository provides a logging component of the multi-level explainability framework for multi-agent BDI systems. This component aims to capture snapshots and generate logs of the multi-agent system implemented using the Jacamo framework. The log file can be uploaded in the Explanation Component to explain the agent behaviour.

A Multi-Level Explainability Framework for Engineering and Understanding BDI Agent Systems

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).

Requirements

Please use this version of Jason or JaCaMo in your multi-agent system project.

For Jason applications:

dependencies {
    implementation 'io.github.jason-lang:jason-interpreter:3.2.1-SNAPSHOT'
}

For JaCaMo applications:

dependencies {
    implementation 'org.jacamo:jacamo:1.2-SNAPSHOT'
}

Configuration

You can follow the configuration instructions below to use the logging component as a library in your project.

  1. Add this library as a dependency in your project gradle file:
dependencies {
    implementation 'io.github.yan-elena:agent-logging:latest'
}
  1. In your JaCaMo project, configure the ag-arch and ag-class in your .jcm file as shown below for each agent you are interested in logging.
agent bob { 
  ag-arch:     log.LoggerArch
  ag-class:    log.LoggerAg
}

If you want to use it in a Jason project, follow this configuration in your .mas2j file:

 agents:
        bob     agentArchClass      log.LoggerArch
                agentClass          log.LoggerAg;
  1. Launch the application! The agent's logs generated as readable files (.log) and as .json files are located in the /log folder.
  2. You can try our web application, to explore the narrative of the system at multiple levels!

Example

An example of the configuration and use of this framework can be found in this repository: Domestic Robot Example

agent-logging's People

Contributors

yan-elena avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.