and applications
play

and Applications Lecture 13: Programming Multiagent Systems [Part - PowerPoint PPT Presentation

Artificial Intelligence: Methods and Applications Lecture 13: Programming Multiagent Systems [Part 2] Juan Carlos Nieves Snchez December 16, 2014 Outline BDI Model. Some Multiagent Platforms Programming Multiagent 3 Systems


  1. Artificial Intelligence: Methods and Applications Lecture 13: Programming Multiagent Systems [Part 2] Juan Carlos Nieves Sánchez December 16, 2014

  2. Outline • BDI Model. • Some Multiagent Platforms Programming Multiagent 3 Systems

  3. Characterization of an intelligent agent In general, intelligent (software) agents are expected to express some kind of behavior which – to some degree – resembles the human mind's capability of problem solving. A popular definition of the properties of an intelligent agent are: – Autonomy: An agent executes actions on its own incentive, not (generally) depending on the interaction with external entities like a human user. – Proactivity: An agent shall be able decide about actions which purposefully bring it closer to achieving its goals. – Reactivity: An agent reacts to changes in its environment, adapting its plans appropriately. – Social capabilities: An agent is capable of exchanging information with other agents and utilizes it for achieving its goals. Programming Multiagent 4 Systems

  4. A Generic Multi-Agent System Architecture Programming Multiagent 5 Systems

  5. Rational Behaviour Practical reasoning according to Believes, Desires and Intentions (BDI) model. Programming Multiagent 6 Systems

  6. BDI as a model for MAS- Platforms In order to design a platform with BDI support , we could at least: • deliver suitable programming elements (classes, components) to represent beliefs, desires, and intentions; • run some algorithms following the practical reasoning notion, or • implement some of the high- level processes like “ build plan ” (means -end reasoning) or “pick intention” (deliberation). Programming Multiagent 7 Systems

  7. Social Ability – High-Level Communication, Organisation • An essential feature: some tasks are only possible if agents interact. • In order to cooperate or to coordinate their actions, agents typically use a high-level form of communication based on the idea of speech-acts. • Agents can be programmed to take part in an agent organisation all within the context of multiagent oriented programming. • For a generic platform, we require an information exchange language. • A successful way for setting up such a generic communication was inspired by speech act theory and led to the definition of the Knowledge Query and Manipulation Language KQML. Programming Multiagent 8 Systems

  8. The Foundation for Intelligent Physical Agents (FIPA) • FIPA is an IEEE Computer Society standards organization that promotes agent-based technology and the interoperability of its standards with other technologies. • FIPA approaches the challenge of achieving compatibility between different agent systems from the application point of view. • In 2002, FIPA completed a process of standardising a sub-set of 25 specifications (http://www.fipa.org/repository/standardspecs.html). – An example of theses standards is the FIPA Agent Communication Language (ACL) which is strongly inspired by KQML. FIPA adds a formal semantic model and elaborates on predefined protocols and additional speech act types. Programming Multiagent 9 Systems

  9. FIPA ACL Compliance to the FIPA specifications means that agent systems must provide appropriate messaging services and process ACL messages, but are still free to decide on concrete realizations. We can conclude that this message is sent from an agent named “ MyAgent ” to an agent “ MonitorAgent ”, requesting it to send a message to “ MyAgent ”, including the value for “ number of agents ” from its knowledge base as soon as it exceeds 50. Programming Multiagent 10 Systems

  10. Programming Languages for BDI agents • JADE • JASON • JADEX • APL Programming Multiagent 11 Systems

  11. JADE • JADE is a pure Java-based platform intended to support the creation and execution of multi-agent applications • A middle-ware for Multi-Agent System (MAS) – target users: agent programmers for MAS – agent services • life-cycle, white-page, yellow-page, message transport – tools to support debugging phase • remote monitoring agent, dummy agent, sniffer agent – designed to support scalability • (from debugging to deployment) • from small scale to large scale • Implements Foundation for Intelligent Physical Agents ( FIPA ). • JADE does not explicitly assist in the creation of deliberative capabilities. • Fully implemented in Java – distributed under GNU Lesser General Public License. Programming Multiagent 12 Systems

  12. JADE Platform JADE Platform Container Container Agent Agent Agent Agent Agent Computer A Computer B 13 Programming Multiagent 13 Systems

  13. JASON • JASON implements the operational semantics of a variant of AgentSpeak (AgentSpeak is an agent- oriented programming language. It is based on logic programming and the BDI architecture) • Has various extensions aimed at a more practical programming language (e.g. definition of the MAS, communication, ...) • Highly customised to simplify extension and experimentation Programming Multiagent 14 Systems

  14. JASON: Main Language Constructs and Runtime Structure • Beliefs: represent the information available to an agent (e.g. about the environment or other agents) • Goals: represent states of affairs the agent wants to bring about • Plans: are recipes for actions, representing the agent’s know-how • Events: happen as consequence to changes in the agent’s beliefs or goals • Intentions: plans instantiated to achieve some goal Programming Multiagent 15 Systems

  15. JASON – Reasoning Cycle Programming Multiagent 16 Systems

  16. JADEX • JADEX is a Java-based, modular, and standards compliant, agent platform that allows the development of goal-oriented agents following the BDI model. • It allows for programming intelligent software agents in XML and Java and can be deployed on different kinds of middleware such as JADE. • http://jadex-agents.informatik.uni-hamburg.de/ Programming Multiagent 17 Systems

  17. The Abstract Achitecture of JADEX Programming Multiagent 18 Systems

  18. 2 APL • 2APL provides programming constructs both (1) to specify a multiagent system in terms of a set of individual agents and a set of environments, as well as (2) to implement cognitive agents based on the BDI architecture. • 2APL is a modular programming language allowing the encapsulation of cognitive components in modules. Its graphical interface, through which a user can load, execute, and debug 2APL multi-agent programs using different execution modes and several debugging/observation tools. • http://apapl.sourceforge.net/. Programming Multiagent 19 Systems

  19. A screenshot of the 2APL platform Programming Multiagent 20 Systems

  20. Sources of this Lecture • R. H. Bordini, J. Dix, Programming Multiagent Systems (Chapter Book), Multiagent Systems, ed. G. Weiss 2013, MIT Press. • M. Zapf: Two Decades of Software Agent Platform Engineering - Part 2. Praxis der Informationsverarbeitung und Kommunikation 37(1): 59-66 (2014) • M. Zapf: Two Decades of Software Agent Platform Engineering - Part 1. Praxis der Informationsverarbeitung und Kommunikation 36(4): 235-242 (2013) Programming Multiagent 21 Systems

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend