Skip to content
Preprint

Social Behavior Among Autonomous AI: How Large Language Models Interact in Dynamic Networks

Aug 2026 · 1 citation · 15 references
Computer Science

TL;DR

Examination of the interactions of AI using Large Language Models using Mistral, Llama3, Gemma3, and Phi3 in a public goods game within dynamic network structures offers a preliminary framework for LLM-based simulations in adaptive social networks.

Abstract

Cooperation is a cornerstone of human societies, enabling collective progress in dynamic and uncertain environments. With the advent of AI systems acting autonomously, it becomes crucial to understand not only human-AI cooperation but also AI-AI interactions in adaptive networks. In this work, we examine the interactions of AI using Large Language Models -- Mistral, Llama3, Gemma3, and Phi3 -- in a public goods game within dynamic network structures. Our experiments were conducted under single-model and mixed-model conditions across Watts-Strogatz (WS), Barabasi-Albert (BA), and Erdos-Renyi (ER) networks. We analyzed the impact of model architecture, network topology, and prompt design on cooperative behavior. Results show that Mistral and Llama3 offer high cooperation rates, while Phi3 shows defective tendencies. Additionally, the random structure of Erdos-Renyi networks dramatically improves cooperation. Prompt design also plays a key role; a society-benefits prompt leads to a higher cooperation level. These findings offer a preliminary framework for LLM-based simulations in adaptive social networks.

View source

Similar papers

#large language models Open access Oct 2026

Emergence of polarization in networks of large language model agents

Rapid advances in large language models (LLMs) have empowered autonomous agents to generate social networks, communicate, and form shared and diverging opinions on political issues. However, our understanding of their collective behaviours and underlying mechanisms remains incomplete. In this paper, we simulate netwo...

Jing-Hua Piao, Zhi-Hong Lu, Chen Gao et al. · 0 citations
Open access Sep 2026

Structural Divergence Between the Moltbook AI‐Agent Network and Human Social Networks

ABSTRACT Large populations of artificial intelligence (AI) agents are increasingly embedded in online environments, yet little is known about how their collective interaction patterns compare to human social systems. Here, we analyze the full interaction network of Moltbook, an agent‐native platform in which AI agents...

Wenpin Hou, Zhicheng Ji · 0 citations
Preprint Sep 2026

Consensus and Factual Dynamics in Large Populations of Interacting Language Models

Large Language Model (LLM) agents are increasingly deployed as populations of interacting entities, in which consensus --agreement on a shared answer-- emerges as a collective, unengineered behaviour. Prior work on LLM consensus shows that agents can cross-verify their answers and converge towards more factual response...

Emanuele Ricco, Elia Onofri, Vincenzo Sammartino et al. · 0 citations
Preprint Aug 2026

Topological collapse of higher-order interactions bottlenecks collective intelligence in AI agent societies

Current paradigms in artificial intelligence concentrate on scaling the capabilities of individual models, yet the collective behaviour of interacting agents is shaped by the topology of their interactions rather than by individual cognition alone. Here we show that the binding constraint on collective behaviour in age...

Shuo Lu, Wei-Cheng Meng, Ai-Jing Yu et al. · 1 citation
Preprint Aug 2026

Physics of Agents: Statistical Mechanics Predicts Collective Behavior of AI Agents

Over 10,000 communities of language-model agents that repeatedly exchange messages and revise their opinions across objective mathematics questions and subjective political statements demonstrate that collective behavior of AI agents, like that of other complex systems, follows compact and predictive dynamical laws.

Batu El, J. Paeng, Fatih Dinç et al. · 10 citations · ⚡1

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.