{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,26]],"date-time":"2026-11-26T05:25:43Z","timestamp":1795670743869,"version":"4.11.3"},"reference-count":33,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,5,21]],"date-time":"2025-05-21T00:00:00Z","timestamp":1747785600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100018694","name":"HORIZON EUROPE Marie Sklodowska-Curie Actions","doi-asserted-by":"publisher","award":["945380"],"award-info":[{"award-number":["945380"]}],"id":[{"id":"10.13039\/100018694","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100011033","name":"Agencia Estatal de Investigaci\u00f3n","doi-asserted-by":"publisher","award":["PID2022-136787NB-I00"],"award-info":[{"award-number":["PID2022-136787NB-I00"]}],"id":[{"id":"10.13039\/501100011033","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Artif. Intell."],"abstract":"<jats:p>\n                    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\n                    <jats:ext-link>https:\/\/github.com\/crjimene\/swarm_gpt<\/jats:ext-link>\n                    .\n                  <\/jats:p>","DOI":"10.3389\/frai.2025.1593017","type":"journal-article","created":{"date-parts":[[2025,5,21]],"date-time":"2025-05-21T11:00:03Z","timestamp":1747825203000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":40,"title":["Multi-agent systems powered by large language models: applications in swarm intelligence"],"prefix":"10.3389","volume":"8","author":[{"given":"Cristian","family":"Jimenez-Romero","sequence":"first","affiliation":[{"name":"ETIS Laboratory, ENSEA, CNRS, UMR8051, CY Cergy-Paris University","place":["Cergy, France"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Alper","family":"Yegenoglu","sequence":"additional","affiliation":[{"name":"Independent Researcher","place":["J\u00fclich, Germany"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Christian","family":"Blum","sequence":"additional","affiliation":[{"name":"Artificial Intelligence Research Institute (IIIA-CSIC)","place":["Bellaterra, Spain"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,5,21]]},"reference":[{"key":"B1","doi-asserted-by":"crossref","first-page":"75","DOI":"10.1016\/B978-1-78548-055-3.50003-4","article-title":"\u201cIntroduction to NetLogo,\u201d","volume-title":"Agent-Based Spatial Simulation with Netlogo","author":"Amblard","year":"2015"},{"key":"B2","doi-asserted-by":"publisher","first-page":"284","DOI":"10.1002\/wics.1356","article-title":"Agent-based models in sociology","volume":"7","author":"Bianchi","year":"2015","journal-title":"Wiley Interdiscip. Rev. Comput. Stat"},{"key":"B3","doi-asserted-by":"publisher","first-page":"1289","DOI":"10.1145\/3641289","article-title":"A survey on evaluation of large language models","volume":"15","author":"Chang","year":"2024","journal-title":"ACM Trans. Intellig. Syst. Technol"},{"key":"B4","doi-asserted-by":"publisher","first-page":"166","DOI":"10.1016\/j.foar.2012.03.003","article-title":"Agent-based modeling in urban and architectural research: a brief literature review","volume":"1","author":"Chen","year":"2012","journal-title":"Front. Architect. Res"},{"key":"B5","article-title":"Collaborating with language models for embodied reasoning","author":"Dasgupta","year":"2023","journal-title":"arXiv [preprint] arXiv"},{"key":"B6","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/ICRC.2017.8123632","article-title":"\u201cAchieving swarm intelligence with spiking neural oscillators,\u201d","volume-title":"2017 IEEE International Conference on Rebooting Computing (ICRC)","author":"Fang","year":"2017"},{"key":"B7","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2410.11163","article-title":"Model swarms: Collaborative search to adapt llm experts via swarm intelligence","author":"Feng","year":"2024","journal-title":"arXiv"},{"key":"B8","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1057\/s41599-024-03611-3","article-title":"Large language models empowered agent-based modeling and simulation: a survey and perspectives","volume":"11","author":"Gao","year":"2024","journal-title":"Humanit. Soc. Sci. Commun"},{"key":"B9","doi-asserted-by":"publisher","author":"Gao","year":"2023","DOI":"10.2139\/ssrn.4607026"},{"key":"B10","doi-asserted-by":"publisher","first-page":"39","DOI":"10.1111\/j.1749-6632.2009.05286.x","article-title":"Agent-based modeling in ecological economics","volume":"1185","author":"Heckbert","year":"2010","journal-title":"Ann. N. Y. Acad. Sci"},{"key":"B11","doi-asserted-by":"publisher","first-page":"43","DOI":"10.1007\/s11721-015-0104-z","article-title":"Beyond pheromones: evolving error-tolerant, flexible, and scalable ant-inspired robot swarms","volume":"9","author":"Hecker","year":"2015","journal-title":"Swarm Intellig"},{"key":"B12","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2312.01059","article-title":"Swarm-GPT: combining large language models with safe motion planning for robot choreography design","author":"Jiao","year":"2023","journal-title":"arXiv"},{"key":"B13","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/s11721-023-00231-6","article-title":"Emergent communication enhances foraging behavior in evolved swarms controlled by spiking neural networks","volume":"18","author":"Jimenez Romero","year":"2024","journal-title":"Swarm Intellig"},{"key":"B14","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2308.07411","article-title":"Exploring the intersection of large language models and agent-based modeling via prompt engineering","author":"Junprung","year":"2023","journal-title":"arXiv"},{"key":"B15","doi-asserted-by":"crossref","DOI":"10.1109\/IROS58592.2024.10802322","article-title":"\u201cSmart-LLM: Smart multi-agent robot task planning using large language models,\u201d","volume-title":"2024 IEEE\/RSJ International Conference on Intelligent Robots and Systems (IROS)","author":"Kannan","year":"2024"},{"key":"B16","doi-asserted-by":"publisher","first-page":"9","DOI":"10.1007\/s44336-024-00009-2","article-title":"A survey on llm-based multi-agent systems: workflow, infrastructure, and challenges","volume":"1","author":"Li","year":"2024","journal-title":"Vicinagearth"},{"key":"B17","doi-asserted-by":"publisher","first-page":"2319","DOI":"10.1007\/s11227-023-05551-2","article-title":"Evolutionary reinforcement learning algorithm for large-scale multi-agent cooperation and confrontation applications","volume":"80","author":"Liu","year":"","journal-title":"J. Supercomput"},{"key":"B18","first-page":"8998","article-title":"\u201cLanguage-guided pattern formation for swarm robotics with multi-agent reinforcement learning,\u201d","volume-title":"2024 IEEE\/RSJ International Conference on Intelligent Robots and Systems (IROS)","author":"Liu","year":""},{"key":"B19","doi-asserted-by":"publisher","DOI":"10.36227\/techrxiv.172954477.70259514\/v1","article-title":"Multi-agent formation control using large language models","author":"Liu","year":"","journal-title":"TechRxiv"},{"key":"B20","doi-asserted-by":"crossref","first-page":"86","DOI":"10.1109\/WSC.2009.5429318","article-title":"\u201cAgent-based modeling and simulation,\u201d","volume-title":"Proceedings of the 2009 Winter Simulation Conference (WSC)","author":"Macal","year":"2009"},{"key":"B21","doi-asserted-by":"publisher","first-page":"73","DOI":"10.1016\/j.jai.2024.02.003","article-title":"A survey on multi-agent reinforcement learning and its application","volume":"3","author":"Ning","year":"2024","journal-title":"J. Automat. Intellig"},{"key":"B22","doi-asserted-by":"crossref","DOI":"10.1145\/3586183.3606763","article-title":"\u201cGenerative agents: Interactive simulacra of human behavior,\u201d","volume-title":"Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology","author":"Park","year":"2023"},{"key":"B23","doi-asserted-by":"publisher","DOI":"10.3389\/frobt.2024.1401677","article-title":"SNN4Agents: a framework for developing energy-efficient embodied spiking neural networks for autonomous agents","author":"Putra","year":"2024","journal-title":"arXiv"},{"key":"B24","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2406.09831","article-title":"Federated learning driven large language models for swarm intelligence: a survey","author":"Qu","year":"2024","journal-title":"arXiv"},{"key":"B25","doi-asserted-by":"crossref","first-page":"25","DOI":"10.1145\/37401.37406","author":"Reynolds","year":"1987","journal-title":"Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques"},{"key":"B26","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2410.11387","article-title":"LLM2Swarm: robot swarms that responsively reason, plan, and collaborate through LLMS","author":"Strobel","year":"2024","journal-title":"arXiv"},{"key":"B27","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2306.03314","article-title":"Multi-agent collaboration: harnessing the power of intelligent LLM agents","author":"Talebirad","year":"2023","journal-title":"arXiv"},{"key":"B28","first-page":"16","article-title":"\u201cNetlogo: a simple environment for modeling complexity,\u201d","volume-title":"International Conference on Complex Systems","author":"Tisue","year":"2004"},{"key":"B29","unstructured":"Wilensky\n              U.\n            \n          \n          Evanston, IL\n          Center for Connected Learning and Computer-Based Modeling, Northwestern University\n          NetLogo Ants Model\n          \n          1997"},{"key":"B30","unstructured":"Wilensky\n              U.\n            \n          \n          Evanston, IL\n          Center for Connected Learning and Computer-Based Modeling, Northwestern University\n          NetLogo Flocking Model\n          \n          1998"},{"key":"B31","unstructured":"Wilensky\n              U.\n            \n          \n          Evanston, IL\n          Center for Connected Learning and Computer-Based Modeling, Northwestern University\n          NetLogo\n          \n          1999"},{"key":"B32","volume-title":"An Introduction to Multiagent Systems","author":"Wooldridge","year":"2009"},{"key":"B33","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2305.17144","article-title":"Ghost in the minecraft: Generally capable agents for open-world environments via large language models with text-based knowledge and memory","author":"Zhu","year":"2023","journal-title":"arXiv"}],"updated-by":[{"DOI":"10.3389\/frai.2025.1771737","type":"correction","label":"Correction","source":"publisher","updated":{"date-parts":[[2026,1,22]],"date-time":"2026-01-22T00:00:00Z","timestamp":1769040000000}}],"container-title":["Frontiers in Artificial Intelligence"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1593017\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,22]],"date-time":"2026-01-22T12:12:38Z","timestamp":1769083958000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1593017\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,21]]},"references-count":33,"alternative-id":["10.3389\/frai.2025.1593017"],"URL":"https:\/\/doi.org\/10.3389\/frai.2025.1593017","relation":{},"ISSN":["2624-8212"],"issn-type":[{"value":"2624-8212","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5,21]]},"article-number":"1593017"}}