Engineering Applications of Artificial Intelligence 24 (2011) 895–910
Contents lists available at ScienceDirect
Engineering Applications of Artificial Intelligence
journal homepage: www.elsevier.com/locate/engappai
Agent-based virtual organization architecture
S. Rodriguez a, V. Julia´n b,n, J. Bajo c, C. Carrascosa b, V. Botti b, J.M. Corchado a a Departamento Informa´tica y Automa´tica, Universidad de Salamanca, Plaza de la Merced s/n, 37008 Salamanca, Spain b Departamento Sistemas Informa´ticos y Computacio´n, Universidad Polite´cnica de Valenciam, 46022 Valencia, Spain c Universidad Pontificia de Salamanca, C/Compan˜ı´a 5, 37002 Salamanca, Spain article info abstract
Article history: The purpose of this paper is to present the applicability of THOMAS, an architecture specially designed Received 25 January 2010 to model agent-based virtual organizations, in the development of a multiagent system for managing Received in revised form and planning routes for clients in a mall. In order to build virtual organizations, THOMAS offers 22 October 2010 mechanisms to take into account their structure, behaviour, dynamic, norms and environment. Accepted 7 February 2011 Moreover, one of the primary characteristics of the THOMAS architecture is the use of agents with Available online 26 March 2011 reasoning and planning capabilities. These agents can perform a dynamic reorganization when they Keywords: detect changes in the environment. The proposed architecture is composed of a set of related modules Multiagent systems that are appropriate for developing systems in highly volatile environments similar to the one Virtual organizations presented in this study. This paper presents THOMAS as well as the results obtained after having Dynamic architectures applied the system to a case study. Adaptive environments & Service Oriented Architectures 2011 Elsevier Ltd. All rights reserved.
1. Introduction entities and there is a separation between form and function that requires defining how a behaviour will take place. Multiagent Computation as interaction paradigm can be considered the systems (MAS) technology, which allows forming dynamic agent most promising technological evolution in the areas of Computer organizations, is particularly well suited as a support for the Science and Communication in the last few years (Luck et al., development of these open systems. An open MAS organization 2005). According to this new paradigm, computation is something modelling makes it possible to describe structural composition that occurs by means of and through communication among (i.e. roles, agent groups, interaction patterns, role relationships) computational entities. In this approximation, large systems can and functional behaviour (i.e. agent tasks, plans or services), be seen, in a natural way, in terms of the services offered or and it can incorporate normative regulations for controlling demanded, and consequently, in terms of the entities (probably agent behaviour, dynamic entry/exit of components and dynamic agents) providing or consuming services (Luck and McBurney, formation of agent groups. The development of open MAS is 2008). It is necessary to remark that these entities may not have still a recent field of the multiagent system paradigm, in this been designed in a joint way or even by the same development sense, it is necessary to investigate new methods to model open team. Entities may enter or leave different organizations in agent-based virtual organizations, as well as innovative techni- different moments and due to different reasons. Moreover, they ques to provide advanced organizational abilities to virtual may form coalitions or organizations between themselves to organizations. attain their current goals. Obviously, the development of these The main goal of this study is to propose a new open types of systems is complex and, therefore, it is necessary to multiagent system architecture consisting of a related set of analyse in detail the intrinsic characteristics of these typical modules that are suitable for the development of virtual organi- application environments. Recent tendencies have conducted to zations in open dynamic environments. This study focuses on the the use of virtual organizations (VOs), which can be considered as definition of a high-level design of a related abstract architecture a set of individuals and institutions that need to coordinate to build virtual organizations. In this design, all components resources and services across institutional boundaries (Foster required to cover all characteristics and needs of systems of this et al., 2001; Boella et al., 2005). Therefore, a VO is an open system kind are determined. This new architecture has been named formed by the grouping and collaboration of heterogeneous THOMAS (MeTHods, Techniques and Tools for Open Multiagent Systems) and provides a novel perspective to model virtual organizations. Based on this proposal, an agent execution frame-
n work has been implemented, which allows to produce software Corresponding author: Tel.:þ34 96 387 70 07 þ73583; fax:þ34 96 387 73 59. wholly independent of any internal agent platform, and as such, E-mail address: [email protected] (V. Julia´n). that is fully addressed for open systems.
0952-1976/$ - see front matter & 2011 Elsevier Ltd. All rights reserved. doi:10.1016/j.engappai.2011.02.003 896 S. Rodriguez et al. / Engineering Applications of Artificial Intelligence 24 (2011) 895–910
In order to evaluate the THOMAS architecture we have chosen a interconnecting layer (with special agents capable of communi- case study consisting in the implementation of an open virtual cating with web services) and a management layer, responsible of organization, focused in designing and building a system for guiding creating and managing the dynamic interconnection between and advising users in a shopping mall. The case study makes use of entities. Finally, the Web Services Agent Integration (WSAI1) theTHOMASarchitecturetoobtainan open virtual organization that allowed web service clients to use agent services, being also can be viewed as a temporary alliance between various partners possible to publish an agent as a web service. (clients of the mall and shoppers) and services (offered basically by Regarding virtual organization modelling, recently, researchers the shops) to support certain activity or a set of activities in an open have carried out several studies that offer new procedures and market (the mall). In an environment as dynamic and evolving as methodologies to enable designing open MAS, focused on the this, it becomes increasingly necessary to establish risk manage- organizational aspects of the agent society. Some examples of ment security policies that can control conditions, performance and these approaches are Gaia (Zambonelli et al., 2003), AGR (Ferber conflictive situations, thus contributing to improve the quality of et al., 2004), MOISE (Hubner et al., 2002), OperA (Dignum, 2003) services for the clients and enhancing their bargain. We have (based on ISLANDER (Esteva et al., 2001) framework), Tropos developed a planning service that has been integrated within the (Bresciani et al., 2004), PASSI (Cossentino, 2005), SODA (Molesini developed MAS (Bajo et al., 2009) and modelled through THOMAS. It et al., 2006), MenSA (Ali et al., 2008), O-MASE (DeLoach, 2009), involves a self-adapting mechanism that facilitates the automatic INGENIAS (Pavon et al., 2005) and VOM (Criado et al., 2009). assignment of tasks within the shopping mall. Many of the recent works not only focus on the employment of The rest of the paper is structured as follows: Section 2 focuses on organizational structures during the design process, but also on the analysis of related work; Section 3 shows the THOMAS approach the regulation of open MAS (standing out E-Institutions (Noriega describing its main components and the execution framework; and Sierra, 2002; Aldewereld et al., 2006), Moise (Hubner et al., Section 4 describes a case study which makes use of this approach 2002), MoiseInst (Gateauˆ et al., 2006)). Albeit some of the plat- and, finally, results and conclusions are shown in Sections 5 and 6. forms tackle with organizational concepts as design patterns, they cannot be directly applied to the development of open multiagent systems where organizational structures can emerge and change 2. Related work dynamically at runtime. The abstractions and tools currently available are still not enough for many kinds of open MAS that Social aspects of multiagent system organizations are increas- deal with real world problems. Most of these works are, in a ingly important for specifying agent interactions in open and certain way, incomplete as they do not include all the phases and dynamic worlds. Research into open MAS organizations has ranged requirements for the entire development of systems of this kind from basic organizational concepts, such as groups, communities, (Argente et al., 2008). Moreover, none of them take into account roles, functions (Jennings and Wooldridge, 2002; Zambonelli and the problems associated with the last development phases, in Parunak, 2002; Ferber and Gutknecht, 1998; Odell et al., 2005), which the software engineer must translate the specific proper- organizational modelling (Horling and Lesser, 2005; Ferber and ties of the VOs, specified in the analysis and design models, to Gutknecht, 1998; Dignum et al., 2005), Human Organization Theory executable code for agent platforms. (Argente et al., 2006), structural topologies (Horling and Lesser, Finally, the main problem for obtaining executable code for 2004; Argente et al., 2007), to normative research, including internal VOs is the lack of agent platforms supporting open agent system representation of norms (Lopez et al., 2006), deontic logics (Dignum functionalities. The main function of an agent platform is to offer and Dignum, 2007) and institutional approaches (Esteva et al., 2001; an execution framework for all agents that belong to it. In the last Arcos et al., 2005). But there is no such agent platform, which covers years, many research and commercial approaches have appeared all the needed execution management of an agent organization. trying to offer this execution framework. Examples of proposed Therefore, new approaches are needed in order to support the agent platforms are JADE,2 FIPA-OS,3 Grasshopper (Baumer et al., evolution of those infrastructures and to enable their growing and 2000), Jack (Howden et al., 2001), ZEUS (Nwana et al., 1999), updating through execution time, due to the inherent features of MadKit (Gutknecht and Ferber, 1997), EIDE (Esteva et al., 2001), those open environments. In general, some standards and platforms RICA-J (Serrano et al., 2004), S-Moiseþ (Hubner et al., 2006), Jack for agent interoperability, which take into account those require- Teams (which is an extension to JACK) (Agent-Oriented-Software, ments, need to be defined. 2004), SIMBA (Soler et al., 2002) and SPADE (Escriva et al., 2006). One of the key problems for open MAS organizations devel- This paper does not try to analyse the different proposals, opment is the vision of agents and organizations as service- a detailed comparison of relevant agent platforms can be found provider entities. This vision needs a main effort in the integration in Argente et al. (2004). Taking only organizational aspects into of agents and web services directed at masking services for account, although some of the platforms deal with organizational redirection, aggregation, integration or administration purposes concepts as design patterns, they cannot be directly applied to the (Greenwood and Calisti, 2004). Although the evolution of MAS development of open MAS where organizational structures can and web services has been completely different, both technolo- emerge and change dynamically at runtime. gies have pursued common goals such as providing dynamic and According to the current situation, any application implemen- open architectures. In order to solve their differences and to give ted as an open multiagent virtual organization demands an interoperation and integration possibilities, there are some execution environment with support for: approaches that focus on finding the best way to facilitate this interoperation: WSIG, WD2JADE and WSAI. The Web Service Organization representation: in virtual organizations agents Integration Gateway Service (WSIG) architecture (Greenwood may need an explicit representation of the organization that and Calisti, 2004) allows agents and web services to register has been defined. Thus, an agent is able to reason about it in and publish their service descriptions to potential consumers. It order to initiate cooperation with other agents. Previous contains an intermediary entity that provides translations between FIPA agents and web services in a transparent and bidirectional way. WS2JADE (Nguyen and Kowalczyk, 2005) 1 http://wsai.sourceforge.net/. integrates Web Service and agents, proposing a Web service to 2 http://jade.tilab.com/ FIPA Agent Service gateway. This architecture is based on an 3 http:/fipa-os.sourceforge.net/. S. Rodriguez et al. / Engineering Applications of Artificial Intelligence 24 (2011) 895–910 897
works, which incorporate this idea, are S-Moiseþ and Ameli approach. THOMAS gives also support for the coordination among (Esteva et al., 2004). Nevertheless, analysed organization agents, which belong to different platforms. In addition, all approaches are static, we express the necessity of adaptive services are registered and published by the architecture in order mechanisms for creating organizational structures that allow to allow agents to discover them and to know how to make use of optimizing the coordination in open systems taking into them. THOMAS also offers structural services for allowing the account the heterogeneity of agents and services. organizational structure to be modified at runtime, supporting Control mechanisms: the platform should have control mechan- the organizational structure evolution and facilitating its growth isms that ensure the satisfaction of the organizational con- and update through execution time. straints. It is necessary to define dynamic regulatory mechanisms that guarantee a globally efficient coordination in open systems taking into account the impossibility of 3. The THOMAS approach controlling (the majority of) the agents and services directly. Description of the organizations: the organization should have This section describes the main characteristics of THOMAS an available description in a standard language. This allows architecture, paying special attention to the abstract architecture external and internal agents to get specific information about and the execution framework. the organization at runtime. This feature is not only useful in open systems but also when considering a reorganization 3.1. Abstract architecture process. A good example of organization specification can be found in the S-Moiseþ platform. THOMAS (Giret et al., 2009; Carrascosa et al., 2009)isan AMS and DF4 extension: the AMS and the DF offered by architecture for open MAS that tries to update the FIPA abstract traditional MAS platforms should be improved. The AMS architecture applying ideas from the Service Oriented Architec- should have information on the existing organizations and ture (SOA) field along with allowing dealing with agents grouped their members. The DF should publish the services offered by in virtual organizations (VO). agents individually and the services offered by organizations. Agents’ dealing with services is a concept present in the FIPA It should not only have the name of the service offered, but abstract architecture since its first instalments. But, it is a concept also its description to allow open systems. Finally, it may have not enough developed. The information and mechanisms used by composition meta-services capable of on-the-fly orchestration the traditional FIPA Directory Facilitator (DF) are not good enough to of services with regard to a given query. deal with open systems and system dynamics, having several Communication layer: the kind of communication layer used in limitations as their very basic service descriptions (name, type, communicative acts is a very important feature. Some of them, protocol, ontology, language, ownership and properties) and allowed such as FIPA-ACL (used by AMELI) and KQML (used by functionalities (register, deregister, modify and search) not consid- S-Moiseþ), are more suitable for open systems than TCP/IP, ering any one of their virtual organizations. Another DF limitation is CORBA and RMI (Ferber et al., 2004). regarding service discovery, as its search algorithm does not use any Monitoring: the platform should offer a mechanism for monitor- semantic information and it does not consider service compositions. ing the states of agents and organizations, which helps in the As Service Oriented Architectures have dealt these aspects in depth, validation and verification processes but also could be used by THOMAS architecture proposes to incorporate this SOA vision to the organizations and agents in the system to perceive their envir- way services are dealt in an agent platform. onment without having to actively notify each change to the rest On the other hand, FIPA abstract architecture does not permit of the entities, which could be interested in what they do. to deal with virtual organizations, another key concept to work Modelling concepts support: the platform and the programming with open systems by modelling the organization aspects of the language should cover all of the concepts related to the virtual agent society. Therefore, there is no way to manage the creation/ organization. For example, which types of topologies are defined destruction of virtual organizations, the way an agent may within the platform, which kind of norms is modelled, etc. Not all become part of an existing virtual organization, and how the platforms have complete modelling concept support. For exam- behaviour of agents within a virtual organization is controlled. ple, AMELI is focused on the management of rules and norms but In this way, the THOMAS abstract architecture updates the does not support the definition of complex topologies. Jack FIPA approach by presenting all the architecture functionalities Teams platform allows the creation of composed ‘‘Teams’’ but specified as SOA services, updating the Directory Facilitator (DF), it does not take into account other topologies. that is, FIPA module in charge of managing services, to use Organizational API: the platform should offer an API that makes services specified according to SOA standards. This module, called it possible to create, destroy and modify organizations; consult now Service Facilitator (SF), allows not only registering offering and modify the organization description; add, query and services, but also demanding. Moreover, these services can be delete agents of an organization; send messages to a whole related not only to agents, but also to organizational units. The SF organization, etc. (Argente et al., 2007; Criado et al., 2007). provides three different kinds of services: