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

ORIGINAL RESEARCH article

Front. Artif. Intell.

Sec. Machine Learning and Artificial Intelligence

Volume 8 - 2025 | doi: 10.3389/frai.2025.1638227

This article is part of the Research TopicAdvanced Integration of Large Language Models for Autonomous Systems and Critical Decision SupportView all articles

Auto-Scaling LLM-Based Multi-Agent Systems through Dynamic Integration of Agents

Provisionally accepted
  • University of Colombo, Colombo, Sri Lanka

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

Large Language Model-based Multi-Agent Systems represent a groundbreaking paradigm where diverse LLM-based agents collaborate, leveraging their unique capabilities to achieve shared objectives. Although LLM-based MASs have shown significant improvements over individual agents, their current architectures are constrained by predefined, fixed, and static agent designs with limited adaptability and scalability in dynamic environments. To address these limitations, this study proposes two novel approaches. Initial Automatic Agent Generation (IAAG) and Dynamic Real Time Agent Generation (DRTAG). These frameworks enable the automatic creation and seamless integration of new agents into MASs in response to evolving conversational and task-specific contexts, reducing reliance on human intervention. Key contributions of this research include the development of IAAG and DRTAG for automatic agent integration, adaptation of several evaluation matrices to score and rank LLM generated texts, and advanced prompt engineering techniques, such as persona pattern prompting, chain prompting, and few-shot prompting, to facilitate the creation of new agents via existing LLM agents. Experimental results demonstrate that the DRTAG approach, particularly with the Round-Robin agent selection algorithm, significantly enhances the system adaptability and task performance. These findings highlight the potential of dynamic LLMbased MASs to address complex real-world challenges, paving the way for innovative applications across diverse domains.

Keywords: multi-agent systems, Large language models, Natural Language Processing, LLM agents, LLM-Based MAS

Received: 30 May 2025; Accepted: 18 Aug 2025.

Copyright: © 2025 Perera, Basnayake and Wickramasinghe. 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: Ravindu Ramesh Perera, University of Colombo, Colombo, Sri Lanka

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.