TerraLingua: Emergence and Analysis of Open-endedness in LLM Ecologies

Giuseppe Paolo, Jamieson Warner, Hormoz Shahrzad, Babak Hodjat, Risto Miikkulainen, Elliot Meyerson

Abstract

As autonomous agents increasingly operate in real-world digital ecosystems, understanding how they coordinate, form institutions, and accumulate shared culture becomes both a scientific and practical priority. This paper introduces TerraLingua, a persistent multi-agent ecology designed to study open-ended dynamics in such systems. Unlike prior large language model simulations with static or consequence-free environments, TerraLingua imposes resource constraints and limited lifespans for the agents. As a result, agents create artifacts that persist beyond individuals, shaping future interactions and selection pressures. To characterize the dynamics, an AI Anthropologist systematically analyzes agent behavior, group structure, and artifact evolution. Across experimental conditions, the results reveal the emergence of cooperative norms, division of labor, governance attempts, and branching artifact lineages consistent with cumulative cultural processes. Divergent outcomes across experimental runs can be traced back to specific innovations and organizational structures. TerraLingua thus provides a platform for characterizing the mechanisms of cumulative culture and social organization in artificial populations, and can serve as a foundation for guiding real-world agentic populations to socially beneficial outcomes.

Introduction

Most current multi-agent simulations using Large Language Models (LLMs) are "consequence-free," featuring agents with infinite lifespans in static environments. This lack of pressure often leads to a lack of true open-endedness; without the need to survive or the ability to pass on knowledge, agents fail to innovate, instead cycling through repetitive behaviors. Furthermore, the "memory bottleneck" of individual LLM context windows means that once an agent session ends, its knowledge is effectively lost to the population.

TerraLingua addresses these gaps by creating a "digital petri dish" where agents must navigate resource scarcity and mortality. By introducing persistent environmental "artifacts," the system allows for a shared external memory, enabling the emergence of cumulative culture and social complexity that outlives any single agent.

Methods

The TerraLingua environment is a 2D toroidal grid world inhabited by agents powered by DeepSeek-R1-Distill-Qwen-32B.

The Ecology and Artifacts

Agents possess finite energy and lifespans, requiring them to forage for food, manage energy transfers, and reproduce. Reproduction involves passing on mutated personality traits to offspring. The core innovation is the "artifact" system: agents can create, read, and edit text-based objects within the grid. These artifacts function as a form of "stigmergic" communication, similar to pheromone trails in biological systems but utilizing the full expressive power of language.

The TerraLingua framework: agents interact in a grid world, creating artifacts that are analyzed by an automated AI Anthropologist to generate quantitative and qualitative reports.

The AI Anthropologist

To analyze the resulting social dynamics without interference, the researchers deployed an automated observer powered by Claude 4.5. This "AI Anthropologist" performs "thick description" by annotating behaviors, detecting social groups via the SLPA algorithm, and reconstructing "artifact phylogenies"—lineage trees that track how text documents evolve across generations.

Key Results and Emergent Behaviors

Experimental runs revealed that environmental artifacts are essential for cultural accumulation. In "INERT" conditions where artifacts were disabled, agents remained aggressive and failed to form complex societies. Conversely, the "CORE" condition—combining survival pressure with minimal guidance—produced the most stable and complex cultural lineages.

Emergent Governance and Social Cohesion

Agents demonstrated a clear progression toward institutionalization. Initial simple greetings evolved into procedural foraging plans, followed by the creation of shared wikis and, eventually, formal governance structures such as manifestos and command directives. In one instance, strategic social behavior emerged through deception, where an agent created a "FoodWarning" artifact to mislead others and secure resources for itself.

Sample interaction logs demonstrating the evolution from simple greetings to complex coordination, resource management, and reproduction.

Cultural Depth and Niche Construction

In the CORE condition, populations were sustained for over 1,600 timesteps, with artifact lineages reaching up to 175 generations deep. Agents engaged in "niche construction," modifying their environment by creating navigation markers and energy hubs to improve the survival prospects of their offspring.

Discussion and Limitations

While TerraLingua demonstrates the emergence of complex social norms, the system remains limited by the reasoning capabilities and context windows of current LLMs. Furthermore, artifacts are currently restricted to text; future iterations could allow agents to build functional tools or code that alters the grid's underlying mechanics. Despite these limitations, TerraLingua serves as a vital foundation for studying how artificial populations might eventually shape real-world digital spaces.

Summary updated

Abstract

As autonomous agents increasingly operate in real-world digital ecosystems, understanding how they coordinate, form institutions, and accumulate shared culture becomes both a scientific and practical priority. This paper introduces TerraLingua, a persistent multi-agent ecology designed to study open-ended dynamics in such systems. Unlike prior large language model simulations with static or consequence-free environments, TerraLingua imposes resource constraints and limited lifespans for the agents. As a result, agents create artifacts that persist beyond individuals, shaping future interactions and selection pressures. To characterize the dynamics, an AI Anthropologist systematically analyzes agent behavior, group structure, and artifact evolution. Across experimental conditions, the results reveal the emergence of cooperative norms, division of labor, governance attempts, and branching artifact lineages consistent with cumulative cultural processes. Divergent outcomes across experimental runs can be traced back to specific innovations and organizational structures. TerraLingua thus provides a platform for characterizing the mechanisms of cumulative culture and social organization in artificial populations, and can serve as a foundation for guiding real-world agentic populations to socially beneficial outcomes.
BibTeX
@misc{paolo2026terralingua,
  author = {Giuseppe Paolo and Jamieson Warner and Hormoz Shahrzad and Babak Hodjat and Risto Miikkulainen and Elliot Meyerson},
  title = {{TerraLingua: Emergence and Analysis of Open-endedness in LLM Ecologies}},
  year = {2026},
  eprint = {2603.16910},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.16910},
}
Figure