Registered users can read the full content for free
Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.
Page
1
(This page has no text content)
Page
2
Development of Multi-Agent System Infrastructures
Page
3
Advances in Biomedical Informatics Series Editor Valentina Emilia Balas
Page
4
Development of Multi-Agent System Infrastructures A Practical Approach Andrei Olaru Department of Computer Science and Engineering National University of Science and Technology POLITEHNICA Bucharest Bucharest, Romania
Page
5
Morgan Kaufmann is an imprint of Elsevier 50 Hampshire Street, 5th Floor, Cambridge, MA 02139, United States Copyright © 2026 Elsevier Inc. All rights are reserved, including those for text and data mining, AI training, and similar technologies. For accessibility purposes, images in electronic versions of this book are accompanied by alt text descriptions provided by Elsevier. For more information, see https://www.elsevier.com/about/accessibility. Books and Journals published by Elsevier comply with applicable product safety requirements. For any product safety concerns or queries, please contact our authorised representative, Elsevier B.V., at productsafety@elsevier.com. Publisher’s note: Elsevier takes a neutral position with respect to territorial disputes or jurisdictional claims in its published content, including in maps and institutional affiliations. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods, professional practices, or medical treatment may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information, methods, compounds, or experiments described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the material herein. ISBN: 978-0-443-40495-5 For information on all Morgan Kaufmann publications visit our website at https://www.elsevier.com/books-and-journals Publisher: Mara Conner Acquisitions Editor: Chris Katsaropoulos Editorial Project Manager: Bhavya Rattan Production Project Manager: M. Balakrishnan Cover Designer: Arumugam Kothandan Typeset by VTeX
Page
6
To my wife and children, for the patience to allow the completion of this book
Page
7
This page intentionally left blank
Page
8
Contents About the Author. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv PART 1: Introduction Chapter 1: Purpose of this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Motivation and target audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Objective. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 What is not covered in this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Acknowledgment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Chapter 2: Fundamental concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 Basic concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 Concepts related specific to the vision of this book . . . . . . . . . . . . . . . . . . . . . . . . . . 9 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Chapter 3: Applications, challenges, and requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.1 Application areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.1.1 Energy systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.1.2 Application area: urban traffic management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.1.3 Robotics and swarm systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.4 Manufacturing and industrial systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.1.5 Social simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.6 Implicit agent applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Challenges and requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.1 Scalability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.2 Security and privacy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2.3 From simulation to deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.4 Usability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.2.5 Coordination and protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 vii
Page
9
Contents Chapter 4: A comparative study of current MAS frameworks . . . . . . . . . . . . . . . . . . . . . 29 4.1 Comparison design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4.1.1 Comparison criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4.1.2 Framework selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.1.3 Other frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.2 Frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.2.1 JADE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.2.2 JaCaMo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4.2.3 SPADE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.2.4 AnyLogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.2.5 SARL/Janus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.2.6 ASTRA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.2.7 MAVA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 4.2.8 NetLogo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.2.9 Repast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 4.2.10 GAMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4.2.11 FLASH-MAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 4.2.12 ROS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 4.3 Overall perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Chapter 5: The FLASH-MAS framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 5.1 Origin of FLASH-MAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 5.2 Motivation and objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.3 Architectural insights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.3.1 General design elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.3.2 Main components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 5.3.3 Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.3.4 Extensibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 PART 2: Modeling agents and infrastructures References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Chapter 6: Entities in a multi-agent system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.1 Properties of an entity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 6.2 Challenges in entity-centered design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 6.3 Example deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 viii
Page
10
Contents Chapter 7: Integration of agent-oriented programming languages . . . . . . . . . . . . . . . . . 81 7.1 BDI-based AOP languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 7.2 AOP languages for ABMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 7.3 S-CLAIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 7.4 Challenges and solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 7.4.1 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 7.4.2 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 7.4.3 Integration architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 7.5 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Chapter 8: The entity-operation model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 8.1 The entity-operation model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 8.2 Formalization sketch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 8.3 Interaction between entities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 8.4 Predefined entities and relations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 8.5 Implementation challenges and results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 8.6 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 8.7 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 PART 3: Interaction between entities Chapter 9: Mobility of entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 9.1 Challenges in agent mobility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 9.2 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Chapter 10: Decentralized interaction protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 10.1 The case for decentralization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 10.2 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 10.2.1 Fixed entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 10.2.2 Mobile entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 10.2.3 Scalability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 10.3 Testing methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 10.4 Experimental results with relevant interaction models . . . . . . . . . . . . . . . . . . . . . . . 135 10.5 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 ix
Page
11
Contents Chapter 11: Leveraging the advantages of web standards . . . . . . . . . . . . . . . . . . . . . . . . . 143 11.1 Relevant web standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 11.2 Agents and the web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 11.2.1 Web agent communities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 11.2.2 Web standard integration in other MAS frameworks . . . . . . . . . . . . . . . . . . . . 145 11.3 Integrating web standards in a MAS framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 11.3.1 Structuring entity identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 11.3.2 Web-native information formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 11.3.3 Web-native interaction protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 11.3.4 Web-based mechanisms for interoperation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 11.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Chapter 12: Region-based decentralized communication . . . . . . . . . . . . . . . . . . . . . . . . . . 155 12.1 Challenges and requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 12.2 Multi-modal decentralized interaction between entities. . . . . . . . . . . . . . . . . . . . . . 158 12.2.1 The WS-Regions protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 12.2.2 Multi-modal interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 12.2.3 Arbitrary entity naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 12.2.4 Increased communication efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 12.3 Discussion and experimental results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 12.3.1 Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 12.3.2 Analysis of results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 12.3.3 Discussion on robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 12.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Chapter 13: Entity systems deployed over heterogeneous environments . . . . . . . . . . . 179 13.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 13.1.1 Working scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 13.2 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 13.3 Approach to managing heterogeneity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 13.3.1 Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 13.3.2 Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 13.3.3 Waves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 13.3.4 Device capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 13.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 x
Page
12
Contents PART 4: Deploying modern MAS-based applications Chapter 14: Complex deployment scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 14.1 In other frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 14.2 Specifying the deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 14.2.1 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 14.2.2 Using a structured model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 14.2.3 Bringing ease of use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 14.2.4 Initializing large numbers of agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 14.3 Loading entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 14.3.1 Entity loading order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 14.3.2 Loading entities at runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 14.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 Chapter 15: Agent-based simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 15.1 Components and challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 15.1.1 Agents and agent behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 15.1.2 The environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 15.1.3 Execution and simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 15.1.4 Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 15.2 Integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 15.3 Integrating ABM support in a MAS framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 15.4 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Chapter 16: Monitoring and controlling a distributed system. . . . . . . . . . . . . . . . . . . . . . 225 16.1 Minimally invasive monitoring and control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 16.2 State of the art in mainstream platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 16.3 Building entity interfaces automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 16.3.1 Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 16.3.2 Aggregation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 16.3.3 Instantiation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 16.4 Dealing with an open system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 16.5 Centralizing monitoring and control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 16.5.1 Interaction protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 16.5.2 Specific issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 16.5.3 Robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 16.6 Visualizing the state of a large MAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 16.7 Monitoring the state of an entire deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 16.8 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 xi
Page
13
Contents Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 Chapter 17: Integrating machine learning into software agents. . . . . . . . . . . . . . . . . . . . 245 17.1 Integrating prediction models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 17.2 Semantic description of prediction models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 17.3 Example setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 17.4 Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 17.5 Lessons learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Chapter 18: Distributed machine learning in agent communities . . . . . . . . . . . . . . . . . . 257 18.1 Federated learning in MAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 18.2 Sharing experience with prediction models in an agent system . . . . . . . . . . . . . 261 18.2.1 General methodology principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 18.2.2 AI Folk deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 18.2.3 AI Folk interaction protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 18.2.4 Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 18.3 Leveraging community power in LLM-powered agents . . . . . . . . . . . . . . . . . . . . . 270 18.4 Lesson learned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 xii
Page
14
About the Author Andrei Olaru is Associate Professor at the National University of Science and Technology POLITEHNICA Bucharest – previously University Politehnica of Bucharest, where he serves in the Computer Science Department within the Faculty of Automatic Control and Computers. His academic activity focuses on artificial intelligence, with particular interests in intelligent agents, multi-agent systems, context- aware computing, and machine learning. Andrei Olaru, born 1984, started his academic activity during his Bachelor of Science degree in Computer Science at University Politehnica of Bucharest, completed in 2008. He continued his studies abroad, completing a Master of Science at Polytech Nantes (University of Nantes) in the same year, in data mining and intelligent systems. He obtained his Ph.D. in 2011 through a double-diploma doctoral program between Politehnica Bucharest and Université Pierre et Marie Curie (Paris 6, now Sorbonne University). His doctoral research addressed the integration of context-awareness in multi-agent systems for ambient intelligence applications. As a faculty member, Andrei Olaru has been involved in both teaching and research activities. He teaches undergraduate and graduate courses such as Artificial Intelligence, Programming Paradigms, Multi-Agent Systems, and Formal Languages and Automata. In addition, he is the co-founder and coordinator of the Master’s program in Financial Computing at Politehnica Bucharest, developed since 2017 in collaboration with industry partners. His research work includes participation in national and European projects related to artificial intelligence, distributed systems, and trustworthy AI. He is a member of the Artificial Intelligence and Multi-Agent Systems (AI-MAS) Laboratory and has contributed to collaborative research initiatives addressing both theoretical and applied aspects of intelligent systems. He has been the leader or partner leader for national and European projects, such as AI Folk, FIT Europe, or NETIO. He is also involved in academic service activities, including conference program committees and research project coordination. He is a founding member of the Romanian Association for Artificial Intelligence (ARIA). xiii
Page
15
This page intentionally left blank
Page
16
Acknowledgments Parts of the research presented in this work have been supported by CNCSIS – UEFISCSU, project number PNII – IDEI 1315/2008 and Grant POSDRU 5159. Parts of the research presented in this work have been supported by project ERRIC: Empowering Romanian Research on Intelligent Information Technologies (FP7-REGPOT- 2010-1/264207). Parts of the research presented in this work have been supported by grant PN-III-P1-1.2- PCCDI-2017-0734. Parts of the research presented in this work have been supported by the Sectoral Operational Programme Human Resources Development 2007–2013 of the Ministry of European Funds through the Financial Agreement POSDRU/159/1.5/S/134398. Parts of the research presented in this work have been supported UEFISCDI project Cornet (1/2018, PN-III-P3-3.6-H2020-2016-0120) Parts of the research presented in this work have been supported by a grant of the Ministry of Research, Innovation and Digitization, CNCS – UEFISCDI, project number PN-III-P1-1.1- TE-2021-1422, within PNCDI III. Since many parts of this work are based on my experience as coordinator of the FLASH-MAS project, I would like to thank all the people who were involved in the project: Dragoş Anghel, Marius-Tudor Benea, Daniel Berbece, Maria-Claudia Buiac, Tudor-Călin Ciot, Laura Cucu, Cedric Herpson, Andrada Hristu, Daniel Liurcă, Valentin Mignot, Cosmin Mihai, Florin Mihalache, Andrei Mihu, Florina Năstasoiu, Nga Thi Thuy Nguyen, Gabirel Nicolae, Ştefania Popescu, Marius-Cristian Preda, Monica Pricope, Ştefan-Octavian Sterea, Mihai Stoica, Andrei-Teodor Şerban, Vlad Tălmaciu, Claudiu-Mihai Toma, and Gabriel Voicu. I would like to thank Cristian Gratie and Dragoş Petrescu for their contribution to projects in which we have worked together. I would like to thank the people involved in the AI Folk project, which I was the leader of: Alexandru Sorici, Mihai Nan, David-Traian Iancu, and Teodor-Cristian Adam. xv
Page
17
Acknowledgments I would like to thank the people who have guided me in my research activity, among which Professor Adina Magda Florea, Professor Amal El-Fallah Seghrouchni, and Professor Olivier Boissier. I would like to thank the team at Elsevier who assisted in the editing and publishing of this book, especially Bhavya Rattan, the Editorial Project Manager. xvi
Page
18
PART 1 Introduction 1
Page
19
This page intentionally left blank
Page
20
CHAPTER 1 Purpose of this book This book is about multi-agent systems,1 or MAS. And implementing and deploying multi- agent systems in practice need a lot of tools, a lot of infrastructure, beside the definition of the agents themselves, and of other components which are application-specific. In this book I will discuss solutions for the implementation of these tools, which are usually integrated in MAS frameworks. There are several MAS frameworks out there, and they offer different tools and different building blocks. I will discuss these and also solutions to other challenges related to deploying MAS and creating frameworks for the deployment of MAS. The book is meant to focus on the practical aspect, namely on what challenges and issues arise when actually creating MAS applications, and on solutions to these challenges and issues. 1.1 Motivation and target audience This book is based on the experience I had in the creation of MAS frameworks and MAS applications, which dates from about 2006, during the time of my Bachelor studies. This experience has been gathered during work on different projects, from discussions with my PhD advisers, from interaction with colleagues and other researchers. I wrote this book in the hope of helping others share this experience, and with the intention of structuring this experience into something that has unity in the diversity of the topics that I wished to cover. With the recent advent of Agentic AI, we are now moving into a new era of multi-agent systems, one in which MAS become intertwined with machine learning and large language models – or LLMs. It is now a time when the MAS engineering community and the Agentic AI community strive to begin an interaction with the goal of bringing the experience gathered in decades of MAS research into the world of LLM agents. This book, while discussing infrastructures related to “traditional” MAS frameworks, can give some insights into solving issues related to framework design, insights which can be useful in Agentic AI as well. The goal of this book is to offer solutions to practical challenges, challenges that are encountered in multi-agent systems whenever a MAS needs to be deployed. 1 Several concepts that are used in this book, such as this one, are further defined in Chapter 2. Development of Multi-Agent System Infrastructures https://doi.org/10.1016/B978-0-44-340495-5.00010-X Copyright © 2026 Elsevier Inc. All rights are reserved, including those for text and data mining, AI training, and similar technologies. 3
The above is a preview of the first 20 pages. Register to read the complete e-book.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
AI guide
【One-Line Pitch】
A practitioner's field guide to building the infrastructure underneath multi-agent systems—how to model agents, wire their interactions, and deploy them across networks and the web—drawn from a decade of framework-building experience. Best for MAS developers, framework designers, and graduate students who already know what an agent is and now need to make a real system run.
【Book Arc】
- **Opening (~0%–10%)**: Front matter, acknowledgments, and a framing chapter that states the book's three-part agenda—modeling components/agents, interaction between entities, and deployment/interoperation—and sets a deliberately non-exhaustive, experience-driven tone.
- **Early (~10%–32%)**: Context and requirements. Surveys MAS application domains (manufacturing, supply chains, social simulation, epidemiology) and catalogs what a framework must provide—communication primitives, interaction protocols, mobility, organizations, environment modeling, discovery—then compares existing frameworks (JADE, JaCaMo, SARL/Janus, ASTRA, ROS, Repast, and others) against those criteria.
- **Middle (~32%–55%)**: The comparative core. Framework-by-framework tables score each platform on messaging, broadcast, discovery, negotiation, organizations, scalability, robustness, environment, security, and docs—useful as a selection matrix rather than a narrative.
- **Late (~55%–85%)**: Design principles and infrastructure solutions, including a proxy design pattern for entity safety (so untrusted behaviors can't terminate or relocate an agent) and the FLASH-MAS vision for structuring entities and their interactions.
- **Ending (~85%–100%)**: Two capstone infrastructure chapters—leveraging web standards (identifiers, web-native formats, interaction protocols, interoperation mechanisms) and region-based decentralized communication (the WS-Regions protocol, multi-modal interaction, arbitrary naming, efficiency experiments, robustness discussion).
【Key Takeaways】
- **The book is organized around three infrastructure problems, not around theory** (Early): modeling agents, enabling interaction, and deploying/interoperating—each chapter follows motivation → state of the art → proposed solution → lessons learned, so you can read chapters independently.
- **Framework choice is a scored trade-off, not a ranking** (Middle): the comparison tables make explicit that no platform wins on every axis—JaCaMo excels at organizations/norms but pays overhead; ROS scales and tolerates faults but offers no negotiation or organizational abstractions; SARL/Janus is flexible but thin on security and docs.
- **Safety of extensible agents is a real design constraint** (Early): if agents can load untrusted behaviors, those behaviors must not be able to stop the agent or move it elsewhere; FLASH-MAS addresses this with a proxy design pattern—a concrete, reusable lesson.
- **Web standards are an integration strategy, not just a transport** (Ending): structured entity identifiers, web-native information formats, and web-native interaction protocols let a MAS interoperate with the wider web and with other frameworks.
- **Decentralized communication needs its own protocol layer** (Ending): the WS-Regions protocol targets multi-modal, region-based interaction with arbitrary entity naming, and the book backs claims with experimental setup, results analysis, and a robustness discussion rather than assertion alone.
- **Principles here are validated in practice** (Early): the author explicitly frames the book as distilled experience from real frameworks and applications (FLASH-MAS, AI Folk), so treat recommendations as field-tested heuristics, not formal proofs.
- **Simulation vs. deployment is a fork in the road** (Early): whether validation must simulate decentralized interaction itself determines how much communication overhead your simulation must model—decide this before choosing an ABMS or general-purpose MAS platform.
【Reading Tips】
- **Skim Part 1's domain survey if you already know your application area**; deep-read the requirements checklist (~chunk 11) and use it as your own framework scorecard.
- **Treat the framework comparison tables as the book's most reusable artifact**—photocopy or tabulate them, then re-score only the criteria that matter for your deployment (security, scalability, organizations).
- **Read the two ending chapters (web standards, WS-Regions) together**; they form the book's most original contribution and assume you've absorbed the interaction vocabulary from earlier chapters.
- **Watch for the "lessons learned" sections** at each chapter's end—they compress the practical payoff and are the fastest path to the author's actual recommendations.
- **Keep your own system in mind as a running case**: the book is written to be consulted mid-project ("let's see what this book says"), so jump to the chapter matching your current blocker.
【Coverage Limits】
These excerpts are dominated by front matter, the table of contents, and the framework-comparison chapters; the detailed design chapters of Parts 2–4 and most of the ending chapters' technical content are only visible through their section headings, so this guide cannot summarize their specific arguments or results.
Passage locations
Page 11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Chapter 12: Region-based decentralized communication . . . . . . . . . . . . . . . . . . . . . ....
View in text
Excerpt 2
tarts with motivation and context, continues with state of the art, and then proceeds to discuss challenges and potential solutions. At the end of each chapt...
View in text
Excerpt 3
etLogo, commands such as ⟨ask turtles with [condition]⟩ or ⟨ask links⟩ allow agents to perform synchronized actions over a subset of the population. The rang...
View in text
Excerpt 4
e have summarized these features in Table 4.8. 4.2.9 Repast Repast12 (Recursive Porous Agent Simulation Toolkit) is a mature Java-based toolkit for ABMS – se...
View in text
Recommended for You
{{#thumbnailUrl}}
{{/thumbnailUrl}}
{{^thumbnailUrl}}
{{/thumbnailUrl}}
Loading recommended books...
Failed to load, please try again later
Tip the Site
Scan the WeChat Pay or Alipay code to tip. No login required.
WeChat Pay
Alipay