TeraAgent: A Distributed Agent-Based Simulation Engine for Simulating Half a Trillion Agents
Breitwieser, Lukas, Hesam, Ahmad, Yağlıkçı, Abdullah Giray, Sadrosadati, Mohammad, Rademakers, Fons, Mutlu, Onur
–arXiv.org Artificial Intelligence
Agent-based simulation is an indispensable paradigm for studying complex systems. These systems can comprise billions of agents, requiring the computing resources of multiple servers to simulate. Unfortunately, the state-of-the-art platform, BioDynaMo, does not scale out across servers due to its shared-memory-based implementation. To overcome this key limitation, we introduce TeraAgent, a distributed agent-based simulation engine. A critical challenge in distributed execution is the exchange of agent information across servers, which we identify as a major performance bottleneck. We propose two solutions: 1) a tailored serialization mechanism that allows agents to be accessed and mutated directly from the receive buffer, and 2) leveraging the iterative nature of agent-based simulations to reduce data transfer with delta encoding. Built on our solutions, TeraAgent enables extreme-scale simulations with half a trillion agents (an 84x improvement), reduces time-to-result with additional compute nodes, improves interoperability with third-party tools, and provides users with more hardware flexibility.
arXiv.org Artificial Intelligence
Sep-30-2025
- Country:
- Africa
- Eritrea > Southern Red Sea
- Assab (0.04)
- Malawi (0.04)
- South Africa (0.04)
- Eritrea > Southern Red Sea
- Europe
- Germany > Hesse
- Darmstadt Region > Darmstadt (0.04)
- Italy > Lombardy (0.04)
- Netherlands > South Holland
- Delft (0.04)
- Switzerland > Zürich
- Zürich (0.14)
- Germany > Hesse
- North America
- Canada > Quebec
- Montreal (0.04)
- United States
- New York > New York County
- New York City (0.05)
- North Carolina (0.04)
- Tennessee > Anderson County
- Oak Ridge (0.04)
- Texas > Travis County
- Austin (0.04)
- Virginia (0.04)
- New York > New York County
- Canada > Quebec
- Africa
- Genre:
- Research Report (0.64)
- Industry:
- Energy (1.00)
- Health & Medicine
- Epidemiology (1.00)
- Pharmaceuticals & Biotechnology (1.00)
- Therapeutic Area
- Cardiology/Vascular Diseases (0.67)
- Immunology (1.00)
- Infections and Infectious Diseases (1.00)
- Neurology (0.92)
- Oncology (1.00)
- Technology: