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

Batu El, Jinhee Paeng, Fatih Dinc, Shiye Su, Mete Erdogan +5 more
8/17/2026
cs.AIcs.MAcs.SI

No confident code implementation found for this paper.

Abstract

AI agents increasingly operate as part of interacting systems rather than in isolation. As agents exchange information and jointly make decisions, their interactions can improve collective reasoning but may also produce herding, polarization, or amplify shared biases.

Show full abstract

Understanding and predicting these collective dynamics is therefore important for designing effective and aligned multi-agent systems. Here, we study over 10,000 communities of language-model agents that repeatedly exchange messages and revise their opinions across objective mathematics questions and subjective political statements. Despite substantial diversity in possible behavior, the individual and group dynamics can be represented by three characteristic regimes: indifference, polarization, and consensus. AI agents start indifferent and build conviction as they interact. On objective questions, communication improves collective accuracy, while on subjective questions it often drifts group opinions toward the right in the political spectrum. We explain these observations with a statistical-mechanics formalism in which agents stochastically favor lower social pressure. Given only initial opinions, our model predicts individual trajectories, outperforms all standard baselines, generalizes to unseen community graphs, and reproduces the observed group archetype distributions. Our fitted model parameters reveal the mechanics underlying our key observations: i) communities operate below the critical social temperature, which explains conviction buildup; ii) attractive ties outweigh repulsive ones, which favors consensus; and iii) agents holding the correct answer exert the strongest pull, which drives truth-seeking. Overall, our results demonstrate that collective behavior of AI agents, like that of other complex systems, follows compact and predictive dynamical laws.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{el2026physics,
  title  = {Physics of Agents: Statistical Mechanics Predicts Collective Behavior of AI Agents},
  author = {Batu El and Jinhee Paeng and Fatih Dinc and Shiye Su and Mete Erdogan and Aneesh Pappu and Haotian Ye and Wanjia Zhao and Surya Ganguli and James Zou},
  year   = {2026},
  eprint = {2608.16578},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.16578v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.16578.svg)](https://codeofpaper.com/paper/2608.16578)

Discussion