Abstract
This paper describes an agent programming language agnostic implementation of the Multi-Agent MicroServices (MAMS) model - an approach to integrating agents within microservices-based architectures. In this model, agents, deployed within microservices, expose aspects of their state as virtual resources that are externally accessible using REpresentational State Transfer (REST). Virtual resources are implemented as CArtAgO artifacts, exposing their state to the agent as a set of observable properties. Coupled with a set of artifact operations, this enables the agent to monitor and manage its own resources. In the paper, we formally model our approach, defining passive and active resource management strategies, and illustrate its use within a worked example.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Ancona, D., Drossopoulou, S., Mascardi, V.: Automatic generation of self-monitoring MASs from multiparty global session types in Jason. In: Baldoni, M., Dennis, L., Mascardi, V., Vasconcelos, W. (eds.) DALT 2012. LNCS (LNAI), vol. 7784, pp. 76–95. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-37890-4_5
Aref, A.M., Tran, T.T.: A decentralized trustworthiness estimation model for open, multiagent systems (DTMAS). J. Trust Manag. 2(1), 3 (2015). https://doi.org/10.1186/s40493-015-0014-4
Balalaie, A., Heydarnoori, A., Jamshidi, P.: Microservices architecture enables devops: migration to a cloud-native architecture. IEEE Softw. 33(3), 42–52 (2016)
El Fallah-Seghrouchni, A., Ricci, A., Son, T.C. (eds.): EMAS 2017. LNCS (LNAI), vol. 10738. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-91899-0
Ciortea, A., Mayer, S., Gandon, F., Boissier, O., Ricci, A., Zimmermann, A.: A decade in hindsight: the missing bridge between multi-agent systems and the world wide web. In: Proceedings of the 18th International Conference on Autonomous Agents and MultiAgent Systems, pp. 1659–1663. International Foundation for Autonomous Agents and Multiagent Systems (2019)
Collier, R.W., Russell, S., Lillis, D.: Reflecting on agent programming with AgentSpeak(L). In: Chen, Q., Torroni, P., Villata, S., Hsu, J., Omicini, A. (eds.) PRIMA 2015. LNCS (LNAI), vol. 9387, pp. 351–366. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25524-8_22
Decker, S., Melnik, S., Van Harmelen, F., Fensel, D., Klein, M., Broekstra, J., Erdmann, M., Horrocks, I.: The semantic web: the roles of XML and RDF. IEEE Internet Comput. 4(5), 63–73 (2000)
Dhaon, A., Collier, R.W.: Multiple inheritance in agent speak (l)-style programming languages. In: Proceedings of the 4th International Workshop on Programming based on Actors Agents and Decentralized Control, pp. 109–120 (2014)
Dragoni, N., Lanese, I., Larsen, S.T., Mazzara, M., Mustafin, R., Safina, L.: Microservices: how to make your application scale. In: Petrenko, A.K., Voronkov, A. (eds.) PSI 2017. LNCS, vol. 10742, pp. 95–104. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-74313-4_8
Fielding, R.T.: REST: Architectural Styles and the Design of Network-based Software Architectures. Doctoral dissertation (2000). http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Framework, Z.: Hypertext application language website (2019). https://weierophinney.github.io/hal/hal/. Accessed 29 Oct 2019
Griffiths, N., Chao, K.-M. (eds.): Agent-Based Service-Oriented Computing. AIKP. Springer, London (2010). https://doi.org/10.1007/978-1-84996-041-0
Hahn, C., Fley, B., Florian, M., Spresny, D., Fischer, K.: Social reputation: A mechanism for flexible self-regulation of multiagent systems. J. Artif. Soc. Soc. Simul. 10(1), 1–8 (2007)
Hartke, K.: The constrained restful application language (coral) (2020). https://datatracker.ietf.org/doc/draft-ietf-core-coral/. Accessed 08 Apr 2020
International Foundation for Autonomous Agents and Multiagent Systems: Engineering Scalable Distributed Environments and Organizations for MAS (2019)
Kelly, M.: Json hypertext applicaion language specification (2016). https://tools.ietf.org/html/draft-kelly-json-hal-08. Accessed 29 Oct 2019
Kravari, K., Bassiliades, N.: Storm: a social agent-based trust model for the internet of things adopting microservice architecture. Simul. Model. Pract. Theory 94, 286–302 (2019)
Krivic, P., Skocir, P., Kusek, M., Jezic, G.: Microservices as agents in IoT systems. In: Jezic, G., Kusek, M., Chen-Burger, Y.-H.J., Howlett, R.J., Jain, L.C. (eds.) KES-AMSTA 2017. SIST, vol. 74, pp. 22–31. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-59394-4_3
Lillis, D.: Internalising Interaction Protocols as First-Class Programming Elements in Multi Agent Systems. Ph.D. thesis, University College Dublin (2012)
Martins, J.A., Mazayev, A., Correia, N.: Hypermedia APIs for the web of things. IEEE Access 5, 20058–20067 (2017)
Mascardi, V., Weyns, D.: Engineering multi-agent systems Anno 2025. In: Weyns, D., Mascardi, V., Ricci, A. (eds.) EMAS 2018. LNCS (LNAI), vol. 11375, pp. 3–16. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-25693-7_1
O’Brien, P.D., Nicol, R.C.: FIPA-towards a standard for software agents. BT Technol. J. 16(3), 51–59 (1998). https://doi.org/10.1023/A:1009621729979
O’Connor, R.V., Elger, P., Clarke, P.M.: Continuous software engineering-a microservices architecture perspective. J. Softw. Evol. Process 29(11), e1866 (2017)
O’Neill, E., Lillis, D., O’Hare, G.M., Collier, R.W.: Explicit modelling of resources for multi-agent microservices using the cartago framework. In: 2020Proceedings of the 18th International Joint Conference on Autonomous Agents and Multi-Agent Systems, Auckland, NZ. International Foundation for Autonomous Agents and MultiAgent Systems (IFAAMAS) (2020)
De la Prieta, F., Rodríguez-González, S., Chamoso, P., Corchado, J.M., Bajo, J.: Survey of agent-based cloud computing applications. Future Gener. Comput. Syst. 100, 223–236 (2019)
Rao, A.S.: AgentSpeak(L): BDI agents speak out in a logical computable language. In: Van de Velde, W., Perram, J.W. (eds.) MAAMAW 1996. LNCS, vol. 1038, pp. 42–55. Springer, Heidelberg (1996). https://doi.org/10.1007/BFb0031845
Ricci, A., Bordini, R.H., Hubner, J.F., Collier, R.: Agentspeak (er): An extension of agentspeak (l) improving encapsulation and reasoning about goals. In: The 17th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2018). International Foundation for Autonomous Agents and MultiAgent Systems (IFAAMAS) (2018)
Ricci, A., Viroli, M., Omicini, A.: CArtAgO: framework for prototyping artifact-based environments in MAS. In: Weyns, D., Parunak, H.V.D., Michel, F. (eds.) E4MAS 2006. LNCS (LNAI), vol. 4389, pp. 67–86. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-71103-2_4
Roy, C.: Restful API design: Microserices. https://medium.com/@cknextmove/restful-api-design-microservices-f983e3ea3563. Accessed 25 Oct 2019
Savaglio, C., Ganzha, M., Paprzycki, M., Bădică, C., Ivanović, M., Fortino, G.: Agent-based internet of things: State-of-the-art and research challenges. Future Gener. Comput. Syst 102, 1038–1053 (2020)
Sporny, M., Longley, D., Kellogg, G., Lanthaler, M., Lindström, N.: Json-ld 1.0. W3C Recomm. 16, 41 (2014)
Thönes, J.: Microservices. IEEE Softw. 32(1), 116–116 (2015)
Villamizar, M., et al.: Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud. In: 2015 10th Computing Colombian Conference (10CCC), pp. 583–590. IEEE (2015)
Collier, R.W., O’Neill, E., Lillis, D., O’Hare, G.: Mams: Multi-agent microservices. In: Companion Proceedings of The 2019 World Wide Web Conference, pp. 655–662. ACM (2019)
Xu, C., Zhu, H., Bayley, I., Lightfoot, D., Green, M., Marshall, P.: Caople: a programming language for microservices SaaS. In: 2016 IEEE Symposium on Service-Oriented System Engineering (SOSE), pp. 34–43. IEEE (2016)
Acknowledgements
This research is funded under the SFI Strategic Partnerships Programme (16/ SPP/3296) and is co-funded by Origin Enterprises Plc.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
O’Neill, E., Lillis, D., O’Hare, G.M.P., Collier, R.W. (2020). Delivering Multi-agent MicroServices Using CArtAgO. In: Baroglio, C., Hubner, J.F., Winikoff, M. (eds) Engineering Multi-Agent Systems. EMAS 2020. Lecture Notes in Computer Science(), vol 12589. Springer, Cham. https://doi.org/10.1007/978-3-030-66534-0_1
Download citation
DOI: https://doi.org/10.1007/978-3-030-66534-0_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-66533-3
Online ISBN: 978-3-030-66534-0
eBook Packages: Computer ScienceComputer Science (R0)