Skip to main content

A library for multi-agent systems evaluation and benchmarking.

Project description

MASEval logo

LLM-based Multi-Agent Evaluation & Benchmark Framework

ParameterLab Python 3.10+ PyPI version Documentation Tests License

MASEval is an evaluation library that provides a unified interface for benchmarking (multi-)agent systems. It offers standardized abstractions for running any agent implementation—whether built with AutoGen, LangChain, custom frameworks, or direct API calls—against established benchmarks like GAIA and AgentBench, 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.

Core Principles:

  • Evaluation, Not Implementation: MASEval provides the evaluation infrastructure—you bring your agent implementation. Whether you've built agents with AutoGen, LangChain, 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, while leveraging built-in evaluation infrastructure.

  • 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]"

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maseval-0.2.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maseval-0.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file maseval-0.2.0.tar.gz.

File metadata

  • Download URL: maseval-0.2.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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}

File hashes

Hashes for maseval-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ed1fc84771818410ba951f3a951d0ea06a733e64bef27826bf8a0141fcb5e60a
MD5 a595b2768e37e84c7409c6be8b7359f2
BLAKE2b-256 b76239364ef07e425688df7fd2e0daf7924d406ed951f230c1bf6068c9103bf5

See more details on using hashes here.

File details

Details for the file maseval-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: maseval-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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}

File hashes

Hashes for maseval-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e5975508276760cb8ffbe4e26dddd7d84aa0f197962635ce2e219e77d62187b
MD5 b0a9e26c73ab324fab834cafdd3234b6
BLAKE2b-256 41042422939ef07b722bd94e8fb3d6898fc3129cf0b198e2cc8c03b66faefe82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page