This repository contains four lab assignments developed using the JADE platform for creating multi-agent systems. Each assignment addresses a specific task in different subject areas.
- Ping Pong
- Book Trading
- Equipment Order Placement
- Warehouse Management
In this lab assignment, a simple multi-agent system is implemented where two agents exchange messages, simulating a ping-pong game. Each agent sends a "Ping" or "Pong" message and waits for a response from the other agent.
PingAgent.java
PongAgent.java
MainLauncher.java
- Run
MainLauncher
to create and start the Ping and Pong agents. - Observe the message exchange in the console.
This lab assignment models the process of book trading between buyers and sellers. Buyer agents send requests to purchase books, and seller agents respond to these requests with offers. Buyers select the best offers and make purchases.
BookBuyerAgent.java
BookSellerAgent.java
MainLauncher.java
- Run
MainLauncher
to create and start the buyer and seller agents. - Observe the book trading process in the console.
In this lab assignment, the process of selecting equipment for companies based on their requirements is modeled. Company agents send requests to manufacturers, receive offers, and select the best offers.
AgentCompany.java
AgentManufacturer.java
MainLauncher.java
- Run
MainLauncher
to create and start the company and manufacturer agents. - Observe the equipment selection process in the console.
This lab assignment models the process of warehouse management. Agents receive orders, assemble goods, and manage warehouse inventory. The warehouse manager agent receives orders, the assembler agents assemble and deliver goods, and the warehouse agent manages the inventory.
AgentWarehouseManager.kt
AgentAssembler.kt
AgentWarehouse.kt
AgentExtensions.kt
Utils.kt
MainLauncher.kt
- Run
MainLauncher
to create and start the warehouse manager, assembler, and warehouse agents. - Observe the warehouse management process in the console.
To complete these lab assignments, you need to have the JADE platform and JDK installed.
There are two ways to install JADE: from the official website or using a fork.
Option 1: Installing from the official JADE website
Option 2: Using a Fork of JADE from GitLab
These lab assignments were developed by Anton Biluta
under the guidance of Associate Professor T.A. Prikhodko, Ph.D.