Very Large-Scale Multi-Agent Simulation in AgentScope

Xuchen Pan, Dawei Gao, Yuexiang Xie, Yushuo Chen, Zhewei Wei +4 more
7/25/2024
cs.MAcs.AI

No official code found. Best implementation: agentscope-ai/agentscope (32,310 stars, Apache-2.0, last commit 2026-04-28).

Abstract

Recent advances in large language models (LLMs) have opened new avenues for applying multi-agent systems in very large-scale simulations. However, there remain several challenges when conducting multi-agent simulations with existing platforms, such as limited scalability and low efficiency, unsatisfied agent diversity, and effort-intensive management processes. To address these challenges, we develop several new features and components for AgentScope, a user-friendly multi-agent platform, enhancing its convenience and flexibility for supporting very large-scale multi-agent simulations. Specifically, we propose an actor-based distributed mechanism as the underlying technological infrastructure towards great scalability and high efficiency, and provide flexible environment support for simulating various real-world scenarios, which enables parallel execution of multiple agents, automatic workflow conversion for distributed deployment, and both inter-agent and agent-environment interactions. Moreover, we integrate an easy-to-use configurable tool and an automatic background generation pipeline in AgentScope, simplifying the process of creating agents with diverse yet detailed background settings. Last but not least, we provide a web-based interface for conveniently monitoring and managing a large number of agents that might deploy across multiple devices. We conduct a comprehensive simulation to demonstrate the effectiveness of these proposed enhancements in AgentScope, and provide detailed observations and insightful discussions to highlight the great potential of applying multi-agent systems in large-scale simulations. The source code is released on GitHub at https://github.com/modelscope/agentscope/tree/main/examples/paper_large_scale_simulation to inspire further research and development in large-scale multi-agent simulations.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Build and run agents you can see, understand and trust.

32,3103,556PythonJan 12, 20245 months agoApache-2.0
agentchatbotlarge-language-modelsllmllm-agent+4 more

Similar Papers

Cite this paper

@article{pan2024very,
  title  = {Very Large-Scale Multi-Agent Simulation in AgentScope},
  author = {Xuchen Pan and Dawei Gao and Yuexiang Xie and Yushuo Chen and Zhewei Wei and Yaliang Li and Bolin Ding and Ji-Rong Wen and Jingren Zhou},
  year   = {2024},
  eprint = {2407.17789},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.17789v2}
}

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/2407.17789.svg)](https://codeofpaper.com/paper/2407.17789)

Discussion