Multi-Agent Systems Powered by Large Language Models: Applications in Swarm Intelligence

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Jimenez-Romero, Cristian, Yegenoglu, Alper, Blum, Christian
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909525685043200
author Jimenez-Romero, Cristian
Yegenoglu, Alper
Blum, Christian
author_facet Jimenez-Romero, Cristian
Yegenoglu, Alper
Blum, Christian
contents This work examines the integration of large language models (LLMs) into multi-agent simulations by replacing the hard-coded programs of agents with LLM-driven prompts. The proposed approach is showcased in the context of two examples of complex systems from the field of swarm intelligence: ant colony foraging and bird flocking. Central to this study is a toolchain that integrates LLMs with the NetLogo simulation platform, leveraging its Python extension to enable communication with GPT-4o via the OpenAI API. This toolchain facilitates prompt-driven behavior generation, allowing agents to respond adaptively to environmental data. For both example applications mentioned above, we employ both structured, rule-based prompts and autonomous, knowledge-driven prompts. Our work demonstrates how this toolchain enables LLMs to study self-organizing processes and induce emergent behaviors within multi-agent environments, paving the way for new approaches to exploring intelligent systems and modeling swarm intelligence inspired by natural phenomena. We provide the code, including simulation files and data at https://github.com/crjimene/swarm_gpt.
format Preprint
id arxiv_https___arxiv_org_abs_2503_03800
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Multi-Agent Systems Powered by Large Language Models: Applications in Swarm Intelligence
Jimenez-Romero, Cristian
Yegenoglu, Alper
Blum, Christian
Multiagent Systems
Artificial Intelligence
Computation and Language
Machine Learning
I.6.0; I.2.7
This work examines the integration of large language models (LLMs) into multi-agent simulations by replacing the hard-coded programs of agents with LLM-driven prompts. The proposed approach is showcased in the context of two examples of complex systems from the field of swarm intelligence: ant colony foraging and bird flocking. Central to this study is a toolchain that integrates LLMs with the NetLogo simulation platform, leveraging its Python extension to enable communication with GPT-4o via the OpenAI API. This toolchain facilitates prompt-driven behavior generation, allowing agents to respond adaptively to environmental data. For both example applications mentioned above, we employ both structured, rule-based prompts and autonomous, knowledge-driven prompts. Our work demonstrates how this toolchain enables LLMs to study self-organizing processes and induce emergent behaviors within multi-agent environments, paving the way for new approaches to exploring intelligent systems and modeling swarm intelligence inspired by natural phenomena. We provide the code, including simulation files and data at https://github.com/crjimene/swarm_gpt.
title Multi-Agent Systems Powered by Large Language Models: Applications in Swarm Intelligence
topic Multiagent Systems
Artificial Intelligence
Computation and Language
Machine Learning
I.6.0; I.2.7
url https://arxiv.org/abs/2503.03800