Skip to main content

MASEval logo

LLM-based Multi-Agent Evaluation & Benchmark Framework

ParameterLab Python 3.10+ PyPI version Documentation Tests codecov License

MASEval is an evaluation library that provides a unified interface for benchmarking (multi-)agent systems. It is evaluation infrastructure for multi-agent harnesses, treating harness engineering as a first-class concern. It offers standardized abstractions for running any agent implementation (whether built with smolagents, LangGraph, custom frameworks, or direct API calls) against established benchmarks like GAIA and MMLU, or your own custom evaluation tasks.

Analogous to pytest for testing or MLflow for ML experimentation, MASEval focuses exclusively on evaluation infrastructure. It does not implement agents, define multi-agent communication protocols, or turn LLMs into agents. Instead, it wraps existing agent systems via simple adapters, orchestrates the evaluation lifecycle (setup, execution, measurement, teardown), and provides lifecycle hooks for tracing, logging, and metrics collection. This separation allows researchers to compare different agent architectures apples-to-apples across frameworks, while maintaining full control over their agent implementations.

Why MASEval?

Compare multi-agent evaluation frameworks across key capabilities.

Library Multi-Agent System Eval Agent-Agnostic Benchmarks Flexible Interaction BYO Trace-First Mature
MASEval
AnyAgent 🟡 🟡 🟡
MLflow GenAI 🟡 🟡 🟡
HAL Harness 🟡 🟡 🟡 🟡 🟡
Inspect-AI 🟡 🟡 🟡 🟡 🟡
OpenCompass 🟡 🟡 🟡 🟡
AgentGym 🟡 🟡 🟡
Arize Phoenix 🟡 🟡 🟡
TruLens 🟡 🟡 🟡
MARBLE 🟡 🟡
DeepEval 🟡 🟡 🟡 🟡 🟡
MCPEval 🟡 🟡 🟡

Full/Native · 🟡 Partial/Limited · Not supported

Expand for Column Explanation
Column Feature One-Liner
Multi-Agent Multi-Agent Native Native orchestration with per-agent tracing, independent message histories, and explicit coordination patterns.
System Eval System-Level Comparison Compare different framework implementations on the same benchmark (not just swapping LLMs).
Agent-Agnostic Agent Framework Agnostic Evaluate agents from any framework via thin adapters without requiring protocol adoption or code recreation.
Benchmarks Pre-Implemented Benchmarks Ships complete, ready-to-run benchmarks with environments, tools, and evaluators (not just templates).
Flexible Interaction Flexible Agent-Environment-User First-class user simulation with personas and tool access for realistic multi-turn conversations.
BYO BYO Philosophy Bring your own logging, agents, environments, and tools. Open-source, works offline, no mandatory cloud services.
Trace-First Trace-First Evaluation Evaluate intermediate steps across environment and agents via first-class traces, not post-hoc fixes.
Mature Professional Tooling Published on PyPI, CI/CD, good test coverage, active maintenance.

Core Principles:

  • Evaluation, Not Implementation: MASEval provides the evaluation infrastructure. You bring your agent implementation. Whether you've built agents with smolagents, LangGraph, custom code, or direct LLM calls, MASEval wraps them via simple adapters and runs them through standardized benchmarks.

  • System-Level Benchmarking: The fundamental unit of evaluation is the complete system (the full configuration of agents, prompts, tools, and their interaction patterns). This allows meaningful comparison between entirely different architectural approaches.

  • Task-Specific Configurations: Each benchmark task is a self-contained evaluation unit with its own instructions, environment state, success criteria, and custom evaluation logic. One task might measure success by environment state changes, another by programmatic output validation.

  • Framework Agnostic by Design: MASEval is intentionally unopinionated about agent frameworks, model providers, and system architectures. Simple, standardized interfaces and adapters enable any agent system to be evaluated without modification to the core library.

  • Lifecycle Hooks via Callbacks: Inject custom logic at any point in the evaluation lifecycle (e.g., on_run_start, on_task_start, on_agent_step_end) through a callback system. This enables extensibility without modifying core evaluation logic.

  • Pluggable Backends: Tracing, logging, metrics, and data storage are implemented as callbacks. Easily add new backends or combine existing ones (log to WandB and Langfuse simultaneously, or implement custom metrics collectors).

  • Extensible Benchmark Suite: Researchers can implement new benchmarks by inheriting from base classes and focusing on task construction and evaluation logic. The built-in evaluation infrastructure handles the rest.

  • Abstract Base Classes: The library provides abstract base classes for core components (Task, Benchmark, Environment, Evaluator) with optional default implementations, giving users flexibility to customize while maintaining interface consistency.

Install

The package is published on PyPI as maseval. To install the stable release for general use, run:

pip install maseval

If you want the optional integrations used by the examples (smolagents, langgraph, llamaindex, etc.), install the examples extras:

pip install "maseval[examples]"

Or install specific framework integrations:

# Smolagents
pip install "maseval[smolagents]"

# LangGraph
pip install "maseval[langgraph]"

# LlamaIndex
pip install "maseval[llamaindex]"

Or install benchmark-specific dependencies:

# MMLU (HuggingFace models)
pip install "maseval[mmlu]"

Example

Examples are available in the Documentation.

Contribute

We welcome any contributions. Please read the CONTRIBUTING.md file to learn more!

Benchmarks

This library includes implementations for several benchmarks to evaluate a variety of multi-agent scenarios. Each benchmark is designed to test specific collaboration and problem-solving skills.

➡️ See here for a full list and description of all available benchmarks including licenses.

Citation

Please consider citing the MASEval library.

@inproceedings{emde2026maseval,
    title = "{MASE}val: Extending Multi-Agent Evaluation from Models to Systems",
    author={Cornelius Emde and Alexander Rubinstein and Anmol Goel and Ahmed Heakl and Sangdoo Yun and Seong Joon Oh and Martin Gubri},
    editor = "Durrett, Greg  and
      Jian, Ping",
    booktitle = "Proceedings of the 64th Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 3: System Demonstrations)",
    month = jul,
    year = "2026",
    address = "San Diego, California, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.acl-demo.34/",
    doi = "10.18653/v1/2026.acl-demo.34",
    pages = "345--356",
    ISBN = "979-8-89176-392-0",
    abstract = "The rapid adoption of LLM-based agentic systems has produced a rich ecosystem of frameworks (smolagents, LangGraph, AutoGen, CAMEL, LlamaIndex, i.a.). Yet many existing benchmarks are model-centric: they fix the agentic setup and do not compare other system components. We argue that implementation decisions substantially impact performance, including choices such as topology, orchestration logic, and error handling. MASEval addresses this evaluation gap with a Python library that treats the entire agentic system as the unit of analysis. Important design decisions such as harness and context engineering are first-class citizens. MASEval helps practitioners identify the best implementation for their use case and researchers systematically study agentic systems, opening new avenues for principled system design. Through the first systematic system-level comparison across 3 benchmarks, 3 models, and 3 frameworks, we find that, across models of comparable cost and capability, framework choice matters as much as model choice. MASEval is available under the MIT licence at https://github.com/maseval/MASEval."
}

Release files for maseval 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maseval 0.5.1
File Size Uploaded
maseval-0.5.1.tar.gz 353.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maseval 0.5.1
File Interpreter ABI Platform
maseval-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size:782.2 kB

Release files / maseval-0.5.1.tar.gz

Download URL maseval-0.5.1.tar.gz
Size 353.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23a1f63dbbe2c48d2d3a13921a922cbbd914f1b3016c48669775ce375ad123e9
BLAKE2b-256 checksum
How to use checksums
948ba73ff7e570a2a3c5f7e0231b8c2ac4dc8aaf4b6c26a8755fa0a9c4659244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / maseval-0.5.1-py3-none-any.whl

Download URL maseval-0.5.1-py3-none-any.whl
Size 429.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c8adc80c7efc628483693598c7827bbc1529a0e1fd87d7cdd5ff6af889c008f
BLAKE2b-256 checksum
How to use checksums
5f8463c695a36e9882811c5883a95ec50bf774d88c4b1488451d317541be346b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page