Skip to main content

Give Agents Some REST: Hypermedia-driven Agent Environments

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 10738))

Abstract

To keep up with current technological developments, the engineering of multi-agent systems (MAS) has to provide solutions to: (i) support large scale systems, (ii) cope with open systems, and (iii) support humans in the loop. In this paper, we claim that the World Wide Web provides a suitable middleware for engineering MAS that address these challenges in an integrated manner. Even though approaches to engineer Web-based MAS have already been explored in the MAS community, existing proposals do not achieve a complete integration with the Web architecture. We approach this problem from a new angle: we design the agent environment as a hypermedia application. We apply REST, the architectural style of the Web, to introduce a resource-oriented abstraction layer for agent environments that decouples the application environment from its deployment context. Higher-level environment abstractions can then be implemented on top of this lower-level abstraction layer. To demonstrate our approach, we implemented a multi-agent application for the Internet of Things in which software agents can seamlessly navigate, use and cooperate in an environment deployed over multiple Web services (e.g., Facebook, Twitter) and constrained devices.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    http://www.w3.org/WoT/WG/.

  2. 2.

    http://datatracker.ietf.org/wg/core/.

  3. 3.

    http://datatracker.ietf.org/rg/t2trg/.

  4. 4.

    That is to say, the part of the environment designed and programmed for the application at hand [41].

  5. 5.

    In previous publications, STNs have been applied as a means to bring the multi-agent paradigm to IoT application development [4], and to enhance discoverability across otherwise siloed IoT environments [3].

  6. 6.

    http://w3id.org/stn/.

  7. 7.

    Message Queuing Telemetry Transport (MQTT) is an application-level protocol for the IoT.

  8. 8.

    http://www.ti.com/sensortag.

  9. 9.

    See [13] for more details on the interface constraints in REST.

  10. 10.

    Note that interaction is stateless between requests, so a component does not need to go beyond a single message to understand it.

  11. 11.

    We use stn: as a prefix bound to the URI: http://w3id.org/stn/core#.

  12. 12.

    All connected objects used in our application scenario resemble products already available to end-users.

  13. 13.

    http://www.engineeringtoolbox.com/light-level-rooms-d_708.html.

  14. 14.

    For more details: http://www.developers.meethue.com/documentation/how-hue-works.

  15. 15.

    In our implementation, we used HiveMQ: http://www.hivemq.com/.

  16. 16.

    https://tools.ietf.org/html/draft-ietf-core-resource-directory-09.

  17. 17.

    https://github.com/eclipse/californium.tools.

References

  1. Althagafi, A. Designing a Framework for RESTful Multi-Agent Systems. Master’s thesis, Department of Computer Science, University of Saskatchewan, Saskatoon, Canada (2012)

    Google Scholar 

  2. Ciortea, A., Zimmerman, A., Boissier, O., Florea, A.M.: Towards a social and ubiquitous web: a model for socio-technical networks. In: IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT), vol. 1, pp. 461–468. IEEE (2015)

    Google Scholar 

  3. Ciortea, A., Zimmerman, A., Boissier, O., Florea, A.M.: Hypermedia-driven Socio-technical Networks for goal-driven discovery in the web of things. In: Proceedings of the 7th International Workshop on the Web of Things (WoT). ACM (2016)

    Google Scholar 

  4. Ciortea, A., Boissier, O., Zimmerman, A., Florea, A.M.: Responsive decentralized composition of service mashups for the internet of things. In: Proceedings of the 6th International Conference on the Internet of Things (IoT). ACM (2016)

    Google Scholar 

  5. Argente, E., Botti, V., Carrascosa, C., Giret, A., Julian, V., Rebollo, M.: An abstract architecture for virtual organizations: the thomas approach. Knowl. Inf. Syst. 29(2), 379–403 (2011)

    Article  Google Scholar 

  6. Berners-Lee, T., Hendler, J., Lassila, O.: The semantic web. Sci. Am. 284(5), 28–37 (2001)

    Article  Google Scholar 

  7. Boissier, O., Bordini, R.H., Hübner, J.F., Ricci, A.: Multi-agent oriented programming with JaCaMo. Sci. Comput. Program. 78(6), 747–761 (2013)

    Article  Google Scholar 

  8. Bordini, R.H., Hübner, J.F., Wooldridge, M.: Progra mming Multi-agent Systems in AgentSpeak using Jason, vol. 8. Wiley, Chichester (2007)

    MATH  Google Scholar 

  9. Braubach, L., Pokahr, A.: Conceptual Integration of Agents with WSDL and RESTful Web Services. In: Dastani, M., Hübner, J.F., Logan, B. (eds.) ProMAS 2012. LNCS (LNAI), vol. 7837, pp. 17–34. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-38700-5_2

    Chapter  Google Scholar 

  10. Cyganiak, R., Wood, D., Lanthaler, M.: RDF 1.1 Concepts and Abstract Syntax, W3C Recommendation. W3C Recommendation, World Wide Web Consortium (W3C), 25 February 2014

    Google Scholar 

  11. Dikenelli, O.: SEAGENT MAS platform development environment. In: Proceedings of the 7th International Joint Conference On Autonomous Agents And Multiagent Systems: Demo Papers, International Foundation for Autonomous Agents and Multiagent Systems, pp. 1671–1672 (2008)

    Google Scholar 

  12. Exposito, J., Ametller, J., Robles, S.: Configuring the JADE HTTP MTP (2010). http://jade.tilab.com/documentation/tutorials-guides/configuring-the-jade-http-mtp/. Accessed 15 Nov 2016

  13. Fielding, R.T., Taylor, R.N.: Principled design of the modern web architecture. ACM Trans. Internet Technol. (TOIT) 2(2), 115–150 (2002)

    Article  Google Scholar 

  14. Fielding, R.T.: Architectural styles and the design of network-based software architectures. PhD thesis, University of California, Irvine (2000)

    Google Scholar 

  15. Foundation for Intelligent Physical Agents. FIPA Abstract Architecture Specification (2002). Document number: SC00001L. http://www.fipa.org/specs/fipa00001/SC00001L.html

  16. Foundation for Intelligent Physical Agents. FIPA Agent Message Transport Protocol for HTTP Specification (2002). Document number: SC00084F. http://www.fipa.org/specs/fipa00084/SC00084F.html

  17. Foundation for Intelligent Physical Agents. FIPA Contract Net Interaction Protocol Specification. (2002). Document number: SC00029H. http://www.fipa.org/specs/fipa00029/SC00029H.html

  18. Gibbins, N., Harris, S., Shadbolt, N.: Agent-based semantic web services. Web Semant. Sci. Serv. Agents. World Wide Web 1(2), 141–154 (2004)

    Google Scholar 

  19. Gouaïch, A., Bergeret, M.: Rest-A: An agent virtual machine based on rest framework. In: Advances in Practical Applications of Agents and Multiagent, pp. 103–112. Springer, Heidelberg (2010)

    Google Scholar 

  20. Greenwood, D., Calisti, M.: Engineering web service-agent integration. In: IEEE International Conference on Systems, Man and Cybernetics, vol. 2, pp. 1918–1925. IEEE (2004)

    Google Scholar 

  21. Greenwood, D., Lyell, M., Mallya, A., Suguri, H.: The IEEE FIPA approach to integrating software agents and web services. In: Proceedings of the 6th International Joint Conference on Autonomous Agents and Multiagent Systems, pp. 276. ACM (2007)

    Google Scholar 

  22. Gregori, M.E., Cámara, J.P., Bada, G.A.: A jabber-based multi-agent system platform. In: Proceedings of the Fifth International Joint Conference on Autonomous Agents and Multiagent Systems, pp. 1282–1284. ACM (2006)

    Google Scholar 

  23. Guinard, D., Trifa, V., Wilde, E.: A resource oriented architecture for the web of things. In: Internet of Things (IOT), pp. 1–8. IEEE (2010)

    Google Scholar 

  24. Huhns, M.N.: Agents as web services. IEEE Internet Comput. 6(4), 93 (2002)

    Article  Google Scholar 

  25. Huhns, M.N., Singh, M.P.: Service-oriented computing: key concepts and principles. IEEE Internet Comput. 9(1), 75–81 (2005)

    Article  Google Scholar 

  26. Jacobs, I., Walsh, N.: Architecture of the World Wide Web, Volume One, W3C Recommendation. W3C Recommendation, World Wide Web Consortium (W3C), 15 December 2004

    Google Scholar 

  27. Kovatsch, M., Lanter, M., Shelby, Z.: Californium: Scalable cloud services for the internet of things with coap. In Internet of Things (IOT), International Conference on the, pp. 1–6. IEEE (2014)

    Google Scholar 

  28. Mitrović, D., Ivanović, M., Budimac, Z., Vidaković, M.: Radigost: interoperable web-based multi-agent platform. J. Syst. Softw. 90, 167–178 (2014)

    Article  Google Scholar 

  29. Mitrović, D., Ivanović, M., Budimac, Z., Vidaković, M.: Radigost: Interoperable web-based multi-agent platform. Journal of Systems and Software 90, 167–178 (2014)

    Article  Google Scholar 

  30. Nguyen, X.T., Kowalczyk, R.: WS2JADE: Integrating Web Service with Jade Agents. In: Huang, J., Kowalczyk, R., Maamar, Z., Martin, D., Müller, I., Stoutenburg, S., Sycara, K.P. (eds.) SOCASE 2007. LNCS, vol. 4504, pp. 147–159. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-72619-7_11

    Chapter  Google Scholar 

  31. Omicini, A., Ricci, A., Viroli, M.: Artifacts in the a&a meta-model for multi-agent systems. Auton. Agent. Multi-Agent Syst. 17(3), 432–456 (2008)

    Article  Google Scholar 

  32. Overeinder, B.J., Brazier, F.M.T.: Scalable Middleware Environment for Agent-Based Internet Applications. In: Dongarra, J., Madsen, K., Waśniewski, J. (eds.) PARA 2004. LNCS, vol. 3732, pp. 675–679. Springer, Heidelberg (2006). https://doi.org/10.1007/11558958_81

    Chapter  Google Scholar 

  33. Pautasso, C., Zimmermann, O., Leymann, F.: Restful web services vs. "big" web services: making the right architectural decision. In: Proceedings of the 17th International Conference on World Wide Web, pp. 805–814. ACM (2008)

    Google Scholar 

  34. Ricci, A., Denti, E., Piunti, M.: A platform for developing soa/ws applications as open and heterogeneous multi-agent systems. Multiagent Grid Syst. 6(2), 105–132 (2010)

    Article  Google Scholar 

  35. Ricci, A., Viroli, M., Omicini, A.: CArtAgO: A 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

    Chapter  Google Scholar 

  36. Rovatsos, M., Diochnos, D., Craciun, M.: Agent Protocols for Social Computation. In: Koch, F., Guttmann, C., Busquets, D. (eds.) Advances in Social Computing and Multiagent Systems. CCIS, vol. 541, pp. 94–111. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24804-2_7

    Chapter  Google Scholar 

  37. Shafiq, M.O., Ding, Y., Fensel, D.: Bridging multi agent systems and web services: towards interoperability between software agents and semantic web services. In: 2006 10th IEEE International Enterprise Distributed Object Computing Conference (EDOC’06), pp. 85–96. IEEE (2006)

    Google Scholar 

  38. Shelby, Z., Hartke, K., Bormann, C.: The Constrained Application Protocol (CoAP). RFC 7252 (Proposed Standard), June 2014

    Google Scholar 

  39. Singh, M.P., Huhns, M.N.: Service-oriented computing: semantics, processes, agents. Wiley, Chichester (2006)

    Google Scholar 

  40. Weyns, D., Michel, F.: Agent Environments for Multi-agent Systems – A Research Roadmap. In: Weyns, D., Michel, F. (eds.) E4MAS 2014. LNCS (LNAI), vol. 9068, pp. 3–21. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-23850-0_1

    Chapter  Google Scholar 

  41. Weyns, D., Omicini, A., Odell, J.: Environment as a first class abstraction in multiagent systems. Auton. Agent. Multi-Agent Syst. 14(1), 5–30 (2007)

    Article  Google Scholar 

  42. Wilde, E.: Putting things to rest. School of Information, UC Berkeley (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrei Ciortea .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ciortea, A., Boissier, O., Zimmermann, A., Florea, A.M. (2018). Give Agents Some REST: Hypermedia-driven Agent Environments. In: El Fallah-Seghrouchni, A., Ricci, A., Son, T. (eds) Engineering Multi-Agent Systems. EMAS 2017. Lecture Notes in Computer Science(), vol 10738. Springer, Cham. https://doi.org/10.1007/978-3-319-91899-0_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-91899-0_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-91898-3

  • Online ISBN: 978-3-319-91899-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics