TeraAgent: A Distributed Agent-Based Simulation Engine for Simulating Half a Trillion Agents

Lukas Breitwieser, Ahmad Hesam, Abdullah Giray Yağlıkçı, Mohammad Sadrosadati, Fons Rademakers +1 more
9/28/2025
cs.DCcs.CEcs.MA

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

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.

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. 3 weaker matches are hidden by default — 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{breitwieser2025teraagent,
  title  = {TeraAgent: A Distributed Agent-Based Simulation Engine for Simulating Half a Trillion Agents},
  author = {Lukas Breitwieser and Ahmad Hesam and Abdullah Giray Yağlıkçı and Mohammad Sadrosadati and Fons Rademakers and Onur Mutlu},
  year   = {2025},
  eprint = {2509.24063},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.24063v1}
}

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

Discussion