Multi-agent systems powered by large language models: applications in swarm intelligence

Мультиагентные системы на основе больших языковых моделей: применение в роевом интеллекте
Cristian Jimenez-Romero, Alper Yegenoglu, Christian Blum
2025-05-21

NetLogo simulationsemergent behaviorlarge language modelsmulti-agent systemsswarm intelligence
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.
1
A NetLogo–Python toolchain connects simulations to GPT-4o through the OpenAI API, enabling prompt-driven, adaptive agent behavior from environmental data.
2
LLM-driven agents can support the study of self-organization and generate emergent behaviors in multi-agent environments.
3
The approach is demonstrated in ant-colony foraging and bird-flocking simulations, using both rule-based and autonomous knowledge-driven prompts.
4
The authors provide simulation code and data, enabling reproduction and further exploration of LLM-based swarm-intelligence modeling.
5
The study replaces hard-coded agent programs with LLM-driven prompts in multi-agent simulations of swarm-intelligence systems.

LLM-driven multi-agent simulations of ant colony foraging and bird flocking

Adaptive prompt-driven agent behavior and emergent self-organizing processes in swarm-intelligence systems

Publication Details
Publication Date
2025-05-21
Journal
Publisher
ISSN
Cited by
28
Access Type
Author Information
Authors
Cristian Jimenez-Romero
Alper Yegenoglu
Christian Blum
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%