physics.soc-phSep 26, 2025

Generalized Multi-agent Social Simulation Framework

Authors: Gang Li, Jie Lin, Yining Tang, Ziteng Wang, Yirui Huang, Junyu Zhang, Shuang Luo, Yike Guo, 

Organizations: Zhejiang University, China

Abstract

Multi-agent social interaction has clearly benefited from Large Language Models. However, current simulation systems still face challenges such as difficulties in scaling to diverse scenarios and poor reusability due to a lack of modular design. To address these issues, we designed and developed a modular, object-oriented framework that organically integrates various base classes through a hierarchical structure, harvesting scalability and reusability. We inherited the framework to realize common derived classes. Additionally, a memory summarization mechanism is proposed to filter and distill relevant information from raw memory data, prioritizing contextually salient events and interactions. By selecting and combining some necessary derived classes, we customized a specific simulated environment. Utilizing this simulated environment, we successfully simulated human interactions on social media, replicating real-world online social behaviors. The source code for the project will be released and evolve.

Figures & tables

Explore similar work

CardsList
  1. GASim: A Graph-Accelerated Hybrid Framework for Social Simulation

    May 8, 2026Xuan Zhou, Yanhui Sun, Hantao Yao +3Multi-Agent LLM SystemsHuman Behavior Simulation

  2. Modeling Earth-Scale Human-Like Societies with One Billion Agents

    Jun 7, 2025Haoxiang Guan, Jiyan He, Liyang Fan +10Human Behavior SimulationComputational Social Science

  3. EASE Configuration Facilitates A Reproducible Science of LLM Social Simulations

    May 28, 2026Sneheel Sarangi, Maximilian Puelma Touzel, Aurélien Bück-Kaeffer +3Multi-Agent LLM SystemsHuman Behavior Simulation