Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Comput. Sci.

Sec. Software

Volume 7 - 2025 | doi: 10.3389/fcomp.2025.1659785

This article is part of the Research TopicSoftware Specification and Verification: Models and ToolsView all articles

Correct Implementation of Agent Interaction Protocols

Provisionally accepted
Federico  BergentiFederico Bergenti1Lavinia  EgidiLavinia Egidi2Leonardo  GallieraLeonardo Galliera2Paola  GianniniPaola Giannini2*Stefania  MonicaStefania Monica3
  • 1Universita degli Studi di Parma, Parma, Italy
  • 2University of Eastern Piedmont, Vercelli, Italy
  • 3Universita degli Studi di Modena e Reggio Emilia, Modena, Italy

The final, formatted version of the article will be published soon.

Coordinating agents that communicate through asynchronous message exchanges to execute interaction protocols presents a complex and pressing challenge. In this paper, we address this issue by introducing Multiparty Session Types (MPST) for the formal specification of agent interaction protocols, from which we derive implementations of the corresponding agent systems. Correctness is ensured on one side by the MPST methodology, which derives the local protocols of participants from a global specification by projection, and on the other from translating local types into agents providing a proof that these agents behave as prescribed by the local protocols of participants. Our agent language is Jadescript, an agent programming language that targets the widely used JADE agent platform. In addition to the theoretical framework, we describe a prototype implementation of the related tools.

Keywords: Multiparty sessions, Global types, Agent interaction protocols, Agent programming languages, Soundness of Translation

Received: 04 Jul 2025; Accepted: 23 Sep 2025.

Copyright: © 2025 Bergenti, Egidi, Galliera, Giannini and Monica. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Paola Giannini, paola.giannini@uniupo.it

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.