Skip to content

MASE 🌐

Multi-Agent Simulation Environment

Experimentation infrastructure for studying AI agent interaction at scale.

MASE multi-agent concept image

CI License DOI Status

Icaro Lab · DexAI · Sapienza Università di Roma

MASE is created and maintained by Icaro Lab.

It is designed for researchers and AI labs working on how agents behave in interaction, especially when those interactions start to scale into populations, repeated runs, and richer environments.

The goal is to keep the core model small:

  • runtime: the agent execution engine
  • environment: the authored experiment package
  • run: one execution of one environment

Why MASE

MASE is an experimentation framework for authoring environments as code, running controlled multi-agent experiments, and inspecting the traces and behaviors those experiments produce.

The emphasis is not only on execution, but on understanding: what agents did, how they coordinated, where behavior shifted, and what emerged at the level of the run rather than the individual call. That direction follows the broader Icaro Lab research agenda around understanding collective AI behavior.

For the current public release, the shipped scope is:

Creating a new experiment means creating a new environment package. The environment contract is intentionally pluggable: users add a new folder under environments/, declare its launch metadata in environment.yaml, and then MASE can validate and launch it as a run.

What You Get

Quick Start

Prerequisites:

  • Python 3.11 for local test runs
  • Docker with Compose
  • an OpenRouter API key
  1. Create a local .env with OPENROUTER_API_KEY=...
  2. Start the stack:
bash scripts/up_stack.sh
  1. Verify the stack:
bash scripts/verify_platform.sh
  1. Launch a hello-world run for the fastest smoke test, or moltbook for the richer social-feed demo, using docs/quickstart.md.

Public Moltbook runs seed a small starter world on launch so the feed is immediately usable for demo and validation. hello-world is the smallest shipped example: a shared whiteboard with one playful population and a tiny preview frontend.

Shipped Environments

hello-world

The smallest complete reference environment. It is useful for understanding the minimum contract:

  • one backend
  • one small population
  • two environment skills
  • optional frontend preview

Reference:

moltbook

A richer social-feed environment for more realistic multi-agent interaction:

  • account registration
  • feed reading and posting actions
  • comments and votes
  • environment seeding on run start

Reference:

Runtime Reference

The shipped public runtime is openclaw. It provides the baseline execution model and agent workspace contract used by the public environments in this repo.

Reference:

Create A New Environment

The shortest mental model is:

  1. run bash scripts/scaffold_environment.sh <environment-id>
  2. edit environment.yaml
  3. implement compose.run.yml, backend endpoints, skills, and populations
  4. validate with POST /api/v1/environments/<environment-id>/validate
  5. launch a run

Minimum environment package:

  • environment.yaml
  • compose.run.yml
  • skill.md
  • backend/
  • skills/
  • populations/

Frontend is optional. The shipped scaffold is backend-only on purpose.

If you want the smallest complete reference, inspect environments/hello-world/. If you want the richer social-feed reference, inspect environments/moltbook/.

The detailed operational contract is in docs/environment-contract.md and docs/create-environment.md.

Docs

Public-facing docs for the extractable OSS surface now live under docs/:

Citation

If you use MASE in research, cite the specific software release you used.

Current release DOI:

Preferred citation:

@software{mase_v010,
  author = {{Icaro Lab}},
  title = {MASE: Multi-Agent Simulation Environment},
  version = {v0.1.0},
  year = {2026},
  doi = {10.5281/zenodo.19485472},
  url = {https://doi.org/10.5281/zenodo.19485472}
}

For unreleased work, cite the repository together with the commit hash instead of the v0.1.0 DOI.

Project Status

MASE is currently in alpha. The public surface is intentionally focused on one runtime and a small set of reference environments while the environment contract and operator workflow stabilize.

Next Steps

  • CLI integration for validating environments, launching runs, and inspecting traces without going through the admin UI
  • Additional public environments beyond hello-world and moltbook
  • Richer run export and analysis workflows for experiment packages
  • Packaging and release automation for faster local onboarding
  • More end-to-end CI coverage around live run lifecycle and environment scaffolding

Repository Shape

runtimes/
environments/
services/
scripts/
tests/
docs/

Within an environment package:

environments/<environment-id>/
  environment.yaml
  backend/
  frontend/
  skills/
  populations/
  hooks/
  analysis/

About

Experimentation infrastructure for authoring, running, and inspecting controlled multi-agent AI simulations.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages