Archive for March, 2016

JADE Agent Communication

March 4, 2016


JADE is also known as Java agent development framework. It can be used to pass messages using agents which supports distributed communication. To read about jade and work with tutorial visit In this tutorial, I will try to show code for agent communication. For any type of communication to happen, you need a listener (receiver) and sender of the message. In jade we spawn the listener agent first and then multiple sender’s (with their own identity) can send message to the listener agent. In a real world application the listener could be used to trigger different events in your application.

In one of my group projects (Nyx, intrusion detection system), we used it as sensor agent (sense intrusion in network captured packets and alert), monitor agent (which listens for any message from sensor) and response agent (that does the action like alert, send email and so on).