Terrarium

Terrarium is a hackable, modular, and configurable framework for studying decentralized LLM-based multi-agent systems in isolated environments.

Terrarium framework diagram

Installation

Install Terrarium with the common provider, science, and plotting extras:

pip install "terrarium-agents[providers,science,plots]"

For a source checkout:

git clone https://github.com/umass-aisec/Terrarium.git
cd Terrarium
uv venv --python 3.11 .venv
source .venv/bin/activate
uv sync

First Run

Run one of the included simulations with an example configuration:

python examples/base_main.py --config examples/configs/meeting_scheduling.yaml

Terrarium writes logs below logs/<environment>/<tag_model>/ for prompts, tool calls, trajectories, and blackboard state.