Multiagent Systems JADE€¦ · Beyond Jade Besides JADE, other agent-based development tools...
Transcript of Multiagent Systems JADE€¦ · Beyond Jade Besides JADE, other agent-based development tools...
Multiagent SystemsJADE
Viviana Mascardi
MAS, University of Genoa, DIBRIS Agents and MASs 1 / 32
MAS infrastructures
MAS infrastructures
To support the development and execution of MASs, tools andsoftware infrastructures are needed.During the years, various tools have been proposed to transformstandard MAS specifications (i.e., AUML specifications) into actualagent code, and a variety of middleware infrastructures have beendeployed to provide proper services supporting the execution ofdistributed MASs.In order to be interoperable, such infrastructures should becompliant with the FIPA abstract architecture.
MAS, University of Genoa, DIBRIS Agents and MASs 2 / 32
MAS infrastructures
Infrastructures ad-hoc for MASs
FIPA abstract architecture:http://www.fipa.org/specs/fipa00001/SC00001L.html.
MAS, University of Genoa, DIBRIS Agents and MASs 3 / 32
MAS infrastructures
JADE
JADE is one of the most well-known and widely usedFIPA-compliant architectures.Fabio Luigi Bellifemine, Giovanni Caire, Dominic Greenwood.Developing Multi-Agent Systems with JADE. ISBN:978-0-470-05747-6, February 2007, Wiley.The JADE home page: http://jade.tilab.com/
MAS, University of Genoa, DIBRIS Agents and MASs 4 / 32
MAS infrastructures
JADE
JADE (Java Agent DEvelopment Framework) is a softwareframework fully implemented in Java language.It simplifies the implementation of MASs through a middlewarethat complies with the FIPA specifications and through a set oftools that supports the debugging and deployment phases.The agent platform can be distributed across machines (which donot even need to share the same OS) and the configuration canbe controlled via a remote GUI.The configuration can be changed at run-time by moving agentsfrom one machine to another one, as and when required.JADE is completely implemented in Java language and theminimal system requirement for running the latest version (version4.5.0 released on 08/06/2017) is JAVA 5.
MAS, University of Genoa, DIBRIS Agents and MASs 5 / 32
MAS infrastructures
Some on-line tutorials
http://jade.tilab.com/doc/tutorials/JADEAdmin/startJade.html
http://www.iro.umontreal.ca/%7Evaucher/Agents/Jade/JadePrimer.html
Other resources: http://jade.tilab.com/documentation/tutorials-guides/
MAS, University of Genoa, DIBRIS Agents and MASs 6 / 32
MAS infrastructures
Beyond Jade
Besides JADE, other agent-based development tools exist, but theyare not commercial projects supported by large and solid companies.This is one of the reasons for the limited adoption of this technology byindustries.
But, what about using existing technologies that are not officiallytagged as “agent-oriented”, but that are very suitable for implementingsoftware agents, for the implementation stage, and a “pure” agentapproach for the modeling and design stages?
MAS, University of Genoa, DIBRIS Agents and MASs 7 / 32
MAS infrastructures
Beyond Jade
Besides JADE, other agent-based development tools exist, but theyare not commercial projects supported by large and solid companies.This is one of the reasons for the limited adoption of this technology byindustries.But, what about using existing technologies that are not officiallytagged as “agent-oriented”, but that are very suitable for implementingsoftware agents, for the implementation stage, and a “pure” agentapproach for the modeling and design stages?
MAS, University of Genoa, DIBRIS Agents and MASs 7 / 32
MAS infrastructures
Agents and SOC (2009)
MAS, University of Genoa, DIBRIS Agents and MASs 8 / 32
MAS infrastructures
Agents and cloud (2011)
MAS, University of Genoa, DIBRIS Agents and MASs 9 / 32
MAS infrastructures
Agents and cloud (2011)
MAS, University of Genoa, DIBRIS Agents and MASs 10 / 32
MAS infrastructures
Agents and WSs (2013)
MAS, University of Genoa, DIBRIS Agents and MASs 11 / 32
MAS infrastructures
Agents and IoT (2017)
MAS, University of Genoa, DIBRIS Agents and MASs 12 / 32
MAS infrastructures
Agents and autonomic computing (2017)
MAS, University of Genoa, DIBRIS Agents and MASs 13 / 32
MAS infrastructures
More details on JADE: The HalloWorld Agent
MAS, University of Genoa, DIBRIS Agents and MASs 14 / 32
MAS infrastructures
Local names, GUID and addresses
MAS, University of Genoa, DIBRIS Agents and MASs 15 / 32
MAS infrastructures
Passing arguments to an agent
MAS, University of Genoa, DIBRIS Agents and MASs 16 / 32
MAS infrastructures
Agent termination
MAS, University of Genoa, DIBRIS Agents and MASs 17 / 32
MAS infrastructures
The Behaviour class
MAS, University of Genoa, DIBRIS Agents and MASs 18 / 32
MAS infrastructures
Behaviour scheduling and execution
MAS, University of Genoa, DIBRIS Agents and MASs 19 / 32
MAS infrastructures
The agent execution model
MAS, University of Genoa, DIBRIS Agents and MASs 20 / 32
MAS infrastructures
Behaviour types
MAS, University of Genoa, DIBRIS Agents and MASs 21 / 32
MAS infrastructures
Scheduling operations at given points in time
MAS, University of Genoa, DIBRIS Agents and MASs 22 / 32
MAS infrastructures
More about behaviours
MAS, University of Genoa, DIBRIS Agents and MASs 23 / 32
MAS infrastructures
The communication model
MAS, University of Genoa, DIBRIS Agents and MASs 24 / 32
MAS infrastructures
The ACLMessage class
MAS, University of Genoa, DIBRIS Agents and MASs 25 / 32
MAS infrastructures
Sending and receiving messages
MAS, University of Genoa, DIBRIS Agents and MASs 26 / 32
MAS infrastructures
Blocking a behaviour waiting for a message
MAS, University of Genoa, DIBRIS Agents and MASs 27 / 32
MAS infrastructures
Selective reading from the message queue
MAS, University of Genoa, DIBRIS Agents and MASs 28 / 32
MAS infrastructures
Receiving messages in blocking mode
MAS, University of Genoa, DIBRIS Agents and MASs 29 / 32
MAS infrastructures
The yellow pages service
MAS, University of Genoa, DIBRIS Agents and MASs 30 / 32
MAS infrastructures
Interacting with the DF Agent
MAS, University of Genoa, DIBRIS Agents and MASs 31 / 32
MAS infrastructures
DF Description format
MAS, University of Genoa, DIBRIS Agents and MASs 32 / 32