Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MAGMA-BENCH

Evaluate agents on interactive robotic tasks with MAGMA. MAGMA-BENCH loads compiled benchmark episodes, runs them in simulation, communicates with an agent through the MAGMA HTTP protocol, and saves detailed results and metrics.

Version 2.0.0b4 is a beta of v2. APIs, command-line options, and result formats may change before the stable release. End-to-end validation is still in progress.

Official documentation · Report an issue

Installation

Python 3.12 is required. Simulation installation has been checked on Linux x86_64. GPU simulation and rendering require compatible system drivers.

python -m pip install "magma_bench==2.0.0b4"

This installs magma_core[simulation]>=2.0.0b3,<3.0.0 and magma_scenarios>=2.0.1,<3.0.0 with their Python dependencies. The benchmark files and the agent server are separate inputs and are not bundled with this package.

The version is pinned explicitly because this is a prerelease. To request the latest version, including prereleases, use:

python -m pip install --upgrade --pre magma_bench

Usage

Start a compatible MAGMA agent server, then run a compiled benchmark directory:

magma-bench run \
  --benchmark-root /path/to/compiled-benchmark \
  --results-path /path/to/results/experiment-1 \
  --agent-address http://127.0.0.1:8888 \
  --run-name experiment-1

The agent must expose /health, /v1/info, and /v1/responses using protocol version 2.0. Configuration can be supplied with --config-path; command-line options override its benchmark settings.

Useful options include:

magma-bench run --help
magma-bench run --benchmark-root /path/to/benchmark --results-path ./eval/coffee --scenarios coffee_comp
magma-bench run --benchmark-root /path/to/benchmark --results-path ./eval/no-judge --skip-judge
magma-bench run --benchmark-root /path/to/benchmark --results-path ./eval/logged --model-logs --videos all
magma-bench run --benchmark-root /path/to/benchmark --results-path ./eval/failures --videos planner-failure

Video output uses the optional dependencies:

python -m pip install "magma_bench[video]==2.0.0b4"

Version 2 uses result schema 2.0. Resume a compatible run with --results-path; older result schemas and agent adapters are unsupported.

See the official documentation for benchmark preparation, configuration, agent setup, metrics, and result formats.

Install from source

Install the tagged release from GitHub:

python -m pip install "magma_bench @ git+https://github.com/MAGMA-rob/magma-bench.git@v2.0.0b4"

Dependencies are resolved from PyPI. For local development, clone the repository and run python -m pip install -e ".[dev,video]".

License

BSD 2-Clause.

Metadata

Release files for magma-bench 2.0.0b4

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

Source distribution (sdist)

Source distribution for magma-bench 2.0.0b4
File Size Uploaded
magma_bench-2.0.0b4.tar.gz 71.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for magma-bench 2.0.0b4
File Interpreter ABI Platform
magma_bench-2.0.0b4-py3-none-any.whl Python 3 none any Details

Total release size: 138.5 kB

Release files / magma_bench-2.0.0b4.tar.gz

Download URL magma_bench-2.0.0b4.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4cbde2fd51a12f49398f9b8ed163f6bd6fc6ed6a2832eb11560a80464e206497
BLAKE2b-256 checksum
How to use checksums
657c3096cf20959dc24f5cfe172a0ddd936b188f78ab650779d7737585fa46b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / magma_bench-2.0.0b4-py3-none-any.whl

Download URL magma_bench-2.0.0b4-py3-none-any.whl
Size 67.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
270c95e67e84f59db27b7ef8964e5dcbd2bde4b6ea07a82d0e2102ac6e90fb18
BLAKE2b-256 checksum
How to use checksums
cbbe88934111e9d543fc970d2eea1122c3d704309efe8faa9f2f005e1a9ace2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log
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