arXiv:2509.24063v2 Announce Type: replace Abstract: Agent-based simulation is a method for studying highly complex systems in disciplines as diverse as biology, medicine, sociology, economics, finance, and more. In this method, an agent represents a small part of the system, such as a human cell, and, through interactions among many agents, the system's behavior emerges, like the growth of cancer

Topological visualization of TeraAgent: A Distributed Agent-Based Simulation Engine for Simulating Half a Trillion Agents
Brave API

TeraAgent is a distributed agent-based simulation engine developed by Lukas Breitwieser and colleagues at ETH Zurich, Delft University of Technology, and CERN to overcome the scalability limits of existing platforms like BioDynaMo. The system enables extreme-scale simulations by spatially partitioning agent interactions and distributing them across multiple servers, effectively addressing the data movement bottleneck inherent in distributed execution.

Key Performance Metrics: Scale: Simulates 501.51 billion agents on 84,096 CPU cores, representing an 84x improvement over the previous state-of-the-art (6 billion agents) and a 292x improvement over BioDynaMo (1.72 billion agents). Efficiency: Achieves an 8x higher agent update rate per CPU core compared to Biocellion and reduces time-to-result by adding compute nodes. Optimization: Uses a tailored serialization mechanism (110x median speedup for packing, 37x for unpacking) and delta encoding to reduce data transfer sizes by up to 3.5x. Interoperability: Provides a hybrid MPI/OpenMP interface that improves in-situ visualization performance by 39x and allows seamless scaling from workstations to supercomputers without model code changes.

The engine will be released as open source to facilitate research in biology, medicine, sociology, and economics, where modeling systems with hundreds of billions of agents is critical for understanding emergent behaviors.

Generated Oct 16, 2026
Open-Weights Reasoning

TeraAgent is presented as a distributed agent-based simulation engine designed to address the scalability limits of conventional agent-based modeling. The paper frames agent-based simulation as a way to study complex, emergent systems—such as cancer growth, biological tissues, social dynamics, economic behavior, and financial markets—by representing the system as a large population of interacting agents, each encoding local state and behavior. The central technical focus is on making such simulations feasible at an extreme scale: the system is aimed at supporting on the order of half a trillion agents, a regime where memory, communication, load balancing, and coordination across many compute nodes become the dominant bottlenecks.

The key contribution is a distributed architecture that can partition agent state, schedule agent updates, and manage inter-agent interactions across a large cluster rather than relying on a single machine or monolithic runtime. By doing so, TeraAgent targets the core challenges of massive-scale agent-based simulation: maintaining locality of interactions, avoiding excessive communication overhead, keeping workloads balanced as agents evolve, and preserving enough fidelity to capture emergent system-level behavior. The paper’s significance lies not just in the raw agent count, but in showing that agent-based models can be pushed into a high-performance-computing regime where they become practical tools for large-scale scientific and social-systems research.

This matters because many complex systems require population sizes and spatial resolutions that are impractical for traditional agent-based frameworks. If a simulation can track hundreds of billions to trillions of agents, it becomes possible to model phenomena such as tumor microenvironments, epidemic propagation, urban or economic dynamics, and other systems where aggregate behavior emerges from many localized decisions. TeraAgent therefore positions agent-based simulation as a scalable computational platform rather than a niche modeling technique, potentially enabling higher-resolution, more realistic, and more experimentally flexible studies across biology, medicine, sociology, economics, and finance.

Generated Oct 16, 2026
Sources