Skip to main content

A Practical Framework for General Dialogue-Based Bilateral Interactions

  • Conference paper
  • First Online:

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

Abstract

For autonomous agents and services to cooperate and interact in multi-agent environments they require well-defined protocols. A multitude of protocol languages for multi-agent systems have been proposed in the past, but they have mostly remained theoretical or have limited prototypical implementations. This work proposes a practical realisation of a general framework for defining dialogue-based bilateral interaction protocols which supports arbitrary agent-based interactions. Crucially, this work is tightly integrated with a modern framework for the creation of autonomous agents and multi-agent systems, making it possible to go from protocols’ specification to their implementation and usage by agents, and enables evaluation of protocols’ effectiveness and applicability in real-world use cases.

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   64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   84.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.

    The AEA framework’s repository can be found at https://github.com/fetchai/agents-aea.

  2. 2.

    See https://yaml.org.

References

  1. Alur, R., Kannan, S., Yannakakis, M.: Communicating hierarchical state machines. In: Wiedermann, J., van Emde Boas, P., Nielsen, M. (eds.) ICALP 1999. LNCS, vol. 1644, pp. 169–178. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48523-6_14

    Chapter  Google Scholar 

  2. Amgoud, L., Dimopoulos, Y., Moraitis, P.: A unified and general framework for argumentation-based negotiation. In: Proceedings of the 6th International Joint Conference on Autonomous Agents and Multiagent Systems, AAMAS 2007, pp. 158:1–158:8. ACM, New York (2007)

    Google Scholar 

  3. Amgoud, L., Parsons, S., Maudet, N.: Arguments, dialogue, and negotiation. In: ECAI 2000, Proceedings of the 14th European Conference on Artificial Intelligence, Berlin, Germany, 20–25 August 2000, pp. 338–342 (2000)

    Google Scholar 

  4. Amgoud, L., Vesic, S.: A formal analysis of the role of argumentation in negotiation dialogues. J. Log. Comput. 22(5), 957–978 (2012)

    Article  MathSciNet  Google Scholar 

  5. Andrighetto, G., Governatori, G., Noriega, P., van der Torre, L.: Normative multi-agent systems. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik (2013)

    Google Scholar 

  6. Arcos, J.L., Esteva, M., Noriega, P., Rodríguez-Aguilar, J.A., Sierra, C.: Engineering open environments with electronic institutions. Eng. Appl. Artif. Intell. 18(2), 191–204 (2005). Agent-oriented Software Development

    Google Scholar 

  7. Austin, J., Austin, J., Urmson, J., Urmson, J., Sbisà, M.: How to Do Things with Words. Harvard University Press, A Harvard paperback (1975)

    Google Scholar 

  8. Baldoni, M., Baroglio, C., Marengo, E., Patti, V.: Constitutive and regulative specifications of commitment protocols: a decoupled approach. ACM Trans. Intell. Syst. Technol. 4(2), 1–25 (2013)

    Article  Google Scholar 

  9. Bellifemine, F.L., Caire, G., Greenwood, D.: Developing Multi-Agent Systems with JADE (Wiley Series in Agent Technology). Wiley, Hoboken (2007)

    Book  Google Scholar 

  10. Ben-Kiki, O., Evans, C., Ingerson, B.: Yaml ain’t markup language (YAML™) version 1.2. Tech. rep., YAML (2009)

    Google Scholar 

  11. Black, E., Hunter, A.: An inquiry dialogue system. Auton. Agent. Multi-Agent Syst. 19(2), 173–209 (2009). https://doi.org/10.1007/s10458-008-9074-5

    Article  Google Scholar 

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

    Article  Google Scholar 

  13. Castagna, G., Dezani-Ciancaglini, M., Padovani, L.: On global types and multi-party sessions. In: Bruni, R., Dingel, J. (eds.) Formal Techniques for Distributed Systems, pp. 1–28. Springer, Berlin Heidelberg, Berlin, Heidelberg (2011)

    Google Scholar 

  14. Chopra, A.V.S., Singh, M.: An evaluation of communication protocol languages for engineering multiagent systems. J. Artif. Intell. Res. 69, 351–1393 (2020). https://doi.org/10.1613/jair.1.12212

    Article  MathSciNet  MATH  Google Scholar 

  15. Collier, R.W., Russell, S., Lillis, D.: Exploring AOP from an OOP perspective. In: Proceedings of the 5th International Workshop on Programming Based on Actors, Agents, and Decentralized Control, pp. 25–36. AGERE! 2015, Association for Computing Machinery, New York (2015)

    Google Scholar 

  16. Dastani, M., van der Torre, L., Yorke-Smith, N.: Commitments and interaction norms in organisations. Auton. Agent. Multi-Agent Syst. 31(2), 207–249 (2015). https://doi.org/10.1007/s10458-015-9321-5

    Article  Google Scholar 

  17. Eshuis, R.: Reconciling statechart semantics. Sci. Comput. Program. 74(3), 65–99 (2009)

    Article  MathSciNet  Google Scholar 

  18. Ferrando, A., Winikoff, M., Cranefield, S., Dignum, F., Mascardi, V.: On enactability of agent interaction protocols: towards a unified approach. In: Dennis, L.A., Bordini, R.H., Lespérance, Y. (eds.) EMAS 2019. LNCS (LNAI), vol. 12058, pp. 43–64. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-51417-4_3

    Chapter  Google Scholar 

  19. Freire, J., Botelho, L.: Executing explicitly represented protocols. In: In Workshop on Challenges in Open Systems at AAMAS 2002 (2002)

    Google Scholar 

  20. Gregori, M., Palanca, J., Aranda, G.: A jabber-based multi-agent system platform. In: Proceedings of the International Conference on Autonomous Agents, vol. 2006, pp. 1282–1284 (2006)

    Google Scholar 

  21. Hanachi, C., Sibertin-Blanc, C.: Protocol moderators as active middle-agents in multi-agent systems. Auton. Agent. Multi-Agent Syst. 8, 131–164 (2004). https://doi.org/10.1023/B:AGNT.0000011159.53397.ea

    Article  Google Scholar 

  22. Harel, D.: Statecharts: a visual formalism for complex systems. Sci. Comput. Program. 8(3), 231–274 (1987)

    Article  MathSciNet  Google Scholar 

  23. Herlihy, M., Rajsbaum, S., Tuttle, M.R.: Unifying synchronous and asynchronous message-passing models. In: Proceedings of the Seventeenth Annual ACM Symposium on Principles of Distributed Computing, PODC 1998, pp. 133–142. Association for Computing Machinery, New York (1998)

    Google Scholar 

  24. Hosseini, S.A.: Dialogues incorporating enthymemes and modelling of other agents’ beliefs. Ph.D. thesis, King’s College London (2017)

    Google Scholar 

  25. Huget, M.-P., Odell, J.: Representing agent interaction protocols with agent UML. In: Odell, J., Giorgini, P., Müller, J.P. (eds.) AOSE 2004. LNCS, vol. 3382, pp. 16–30. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-30578-1_2

    Chapter  Google Scholar 

  26. Huget, M.P., Odell, J., Bauer, B.: The AUML approach. In: Bergenti, F., Gleizes, M.P., Zambonelli, F. (eds.) Methodologies and Software Engineering for Agent Systems. Multiagent Systems, Artificial Societies, and Simulated Organizations (International Book Series), Springer, Boston (2004). https://doi.org/10.1007/1-4020-8058-1_15

    Chapter  Google Scholar 

  27. Hulstijn, J.: Dialogue models for inquiry and transaction. Ph.D. thesis, Universiteit Twente, Proefschrift Universiteit Twente, The Netherlands (2000)

    Google Scholar 

  28. Kakas, A., Maudet, N., Pavlos, M.: Modular representation of agent interaction rules through argumentation. Auton. Agent. Multi-Agent. Syst. 11, 189–206 (2005). https://doi.org/10.1007/s10458-005-2176-4

    Article  MATH  Google Scholar 

  29. Kaur, G., Fuad, M.M.: An evaluation of protocol buffer. In: Proceedings of the IEEE SoutheastCon 2010 (SoutheastCon), pp. 459–462 (2010)

    Google Scholar 

  30. Leppänen, T., Álvarez Lacasia, J., Tobe, Y., Sezaki, K., Riekki, J.: Mobile crowdsensing with mobile agents. Auton. Agent. Multi-Agent Syst. 31(1), 1–35 (2015). https://doi.org/10.1007/s10458-015-9311-7

    Article  Google Scholar 

  31. McCorry, P., Buckland, C., Bakshi, S., Wüst, K., Miller, A.: You sank my battleship! a case study to evaluate state channels as a scaling solution for cryptocurrencies. In: Bracciali, A., Clark, J., Pintore, F., Rønne, P.B., Sala, M. (eds.) Financial Cryptography and Data Security, pp. 35–49. Springer International Publishing, Cham (2020)

    Chapter  Google Scholar 

  32. Minarsch, D., Hosseini, S.A., Favorito, M., Ward, J.: Autonomous economic agents as a second layer technology for blockchains: framework introduction and use-case demonstration. In: 2020 Crypto Valley Conference on Blockchain Technology (CVCBT), pp. 27–35 (2020)

    Google Scholar 

  33. Minarsch, D., Favorito, M., Hosseini, A., Ward, J.: Trading agent competition with autonomous economic agents. In: Proceedings of the 19th International Conference on Autonomous Agents and MultiAgent Systems, AAMAS 2020, International Foundation for Autonomous Agents and Multiagent Systems, pp. 2107–2110. Richland, SC (2020)

    Google Scholar 

  34. Minarsch, D., Favorito, M., Hosseini, S.A., Turchenkov, Y., Ward, J.: Autonomous economic agent framework. In: Engineering Multi-Agent Systems (to publish) (2021)

    Google Scholar 

  35. Minarsch, D., Hosseini, S.A., Favorito, M., Ward, J.: Trading agent competition with autonomous economic agents. In: Proceedings of the 13th International Conference on Agents and Artificial Intelligence - Volume 1: SDMIS, pp. 574–582. INSTICC, SciTePress (2021). https://doi.org/10.5220/0010431805740582

  36. Moody, D., van Hillegersberg, J.: Evaluating the visual syntax of UML: an analysis of the cognitive effectiveness of the UML family of diagrams. In: Gašević, D., Lämmel, R., Van Wyk, E. (eds.) SLE 2008. LNCS, vol. 5452, pp. 16–34. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-00434-6_3

    Chapter  Google Scholar 

  37. Parsons, S., Wooldridge, M., Amgoud, L.: Properties and complexity of some formal inter-agent dialogues. J. Log. Comput. 13(3), 347–376 (2003)

    Article  MathSciNet  Google Scholar 

  38. Prakken, H.: Coherence and flexibility in dialogue games for argumentation. J. Log. Comput. 15(6), 1009–1040 (2005)

    Article  MathSciNet  Google Scholar 

  39. Prakken, H.: Formal systems for persuasion dialogue. Knowl. Eng. Rev. 21, 163–188 (2006)

    Article  Google Scholar 

  40. Rahmani, L., Minarsch, D., Ward, J.: Peer-to-peer autonomous agent communication network. In: Proceedings of the 20th International Conference on Autonomous Agents and Multi-Agent Systems, AAMAS ’21, International Foundation for Autonomous Agents and Multiagent Systems, p. [to appear] (2021)

    Google Scholar 

  41. Reisig, W.: Petri Nets: An Introduction. Springer-Verlag, Berlin, Heidelberg (1985). https://doi.org/10.1007/978-3-642-69968-9

    Book  MATH  Google Scholar 

  42. Rumbaugh, J., Jacobson, I., Booch, G.: Unified Modeling Language Reference Manual, The (2nd Edition). Pearson Higher Education (2004)

    Google Scholar 

  43. Sadri, F., Toni, F., Torroni, P.: Logic agents, dialogues and negotiation: an abductive approach. In: In Proceedings of AISB 2001 Convention, The Society for the Study of Artificial Intelligence and the Simulation of Behaviour, pp. 71–78 (2001)

    Google Scholar 

  44. Singh, M.P.: Information-driven interaction-oriented programming: BSPL, the blindingly simple protocol language. In: The 10th International Conference on Autonomous Agents and Multiagent Systems - Volume 2, AAMAS 2011, International Foundation for Autonomous Agents and Multiagent Systems, pp. 491–498. Richland, SC (2011)

    Google Scholar 

  45. Taleghani, A., Atlee, J.M.: Semantic variations among UML state machines. In: Nierstrasz, O., Whittle, J., Harel, D., Reggio, G. (eds.) MODELS 2006. LNCS, vol. 4199, pp. 245–259. Springer, Heidelberg (2006). https://doi.org/10.1007/11880240_18

    Chapter  Google Scholar 

  46. Walton, D.N., Krabbe, E.C.: Commitment in Dialogue: Basic Concepts of Interpersonal Reasoning. State University of New York, Albany (1995)

    Google Scholar 

  47. Wattenhofer, R.: Distributed Ledger Technology: The Science of the Blockchain, 2nd edn. CreateSpace Independent Publishing Platform, North Charleston (2017)

    Google Scholar 

  48. Winikoff, M., Liu, W., Harland, J.: Enhancing commitment machines. In: Leite, J., Omicini, A., Torroni, P., Yolum, P. (eds.) DALT 2004. LNCS (LNAI), vol. 3476, pp. 198–220. Springer, Heidelberg (2005). https://doi.org/10.1007/11493402_12

    Chapter  Google Scholar 

  49. Winikoff, M., Yadav, N., Padgham, L.: A new hierarchical agent protocol notation. Auton. Agent. Multi-Agent Syst. 32(1), 59–133 (2017). https://doi.org/10.1007/s10458-017-9373-9

    Article  Google Scholar 

  50. Wooldridge, M.: An Introduction to MultiAgent Systems, 2nd edn. Wiley, Hoboken (2009)

    Google Scholar 

  51. Yolum, P., Singh, M.P.: Commitment machines. In: Meyer, J.-J.C., Tambe, M. (eds.) ATAL 2001. LNCS (LNAI), vol. 2333, pp. 235–247. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45448-9_17

    Chapter  Google Scholar 

  52. Yoshida, N., Hu, R., Neykova, R., Ng, N.: The scribble protocol language. In: Abadi, M., Lluch Lafuente, A. (eds.) Trustworthy Global Computing, pp. 22–41. Springer International Publishing, Cham (2014). https://doi.org/10.1007/978-3-319-05119-2

    Chapter  Google Scholar 

Download references

Acknowledgments

We thank Fetch.ai for supporting this research and the release of its implementation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Seyed Ali Hosseini .

Editor information

Editors and Affiliations

Appendices

A Protocol Specification

figure a

Listing 1 shows the protocol specification corresponding with bilateral negotiation in Sect.  3.2. Protocol specifications are formatted in YAML.Footnote 2 and consist of three YAML documents (enclosed between \(---\) and ...):

  • The first document contains basic information about the protocol as well as its speech-acts. Speech-acts are each listed as key-values, where the key is the performative and the value is a dictionary of its contents specifying their name and type. For example, \( cfp \) has one content, named \(\mathtt {e}\) whose type is \(\mathtt {ct:Resource}\). The specification also comes with a language-independent type system. A summary of the types are in Table 1.

  • The second document contains protocol buffer schema snippet of any custom types defined for speech-act contents.

  • The third document contains the dialogue definitions where the fields are self-explanatory and correspond with definitions in Sect. 3.1.

Table 1. Protocol specification content types

B Protocol Buffer Schema

figure b

An example of the protocol buffer schema that the protocol generator produces from the specification in Listing 1 is given in Listing 2.

C Instructions on Using the Framework

Note that detailed and up-to-date instructions can be found at https://github.com/fetchai/agents-aea.

figure c

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hosseini, S.A., Minarsch, D., Favorito, M. (2022). A Practical Framework for General Dialogue-Based Bilateral Interactions. In: Alechina, N., Baldoni, M., Logan, B. (eds) Engineering Multi-Agent Systems. EMAS 2021. Lecture Notes in Computer Science(), vol 13190. Springer, Cham. https://doi.org/10.1007/978-3-030-97457-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-97457-2_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-97456-5

  • Online ISBN: 978-3-030-97457-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics