Back to directory

Terrarium

An open-source framework for building controlled multi-agent environments to study how communication structure, shared memory and adversarial conditions affect coordination between LLM-based agents, aimed at researchers rather than production use.

Terrarium

Terrarium is a research framework for running repeatable experiments with decentralized, LLM-based multi-agent systems. It provides a small set of swappable components - communication topology, shared or private memory, tools and model providers - so researchers can vary one factor at a time and ask questions such as whether a complete communication graph changes outcomes versus a path graph, or how an adversarial agent changes the final utility and message trajectory.

The authors describe it explicitly as not a production agent orchestrator and not a fixed benchmark suite; it is meant for controlled experiments where the environment and attack surface are stated explicitly rather than implicit in a fixed task. Some environments use the separate CoLLAB library for generating distributed constraint optimization instances.

It installs through pip with optional provider, science and plotting extras, or can be run from a cloned checkout with uv, and ships example configurations such as a meeting-scheduling simulation.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.