Beam Verifier
Verify a live Beam endpoint along 2 dimensions:
- Functional correctness
beam-verifier verifyruns functional tests — parameter acceptance, request validation, chat, tool calling, structured output,tool_choice, multi-turn, and streaming. - Performance
beam-verifier evalreproduces benchmark numbers (GPQA-Diamond, AIME, SWE-bench Pro) in their pre-defined settings, using Mirror as the agent for coding benchmarks.
beam-verifier integrates InspectAI for GPQA-Diamond and AIME, and Harbor for SWE-bench Pro.
Mirror is bundled with its own Linux x86-64/ARM64 runtime for installation and execution inside task sandboxes.
The only requirement is an OpenAI-compatible /v1/chat/completions endpoint.
For walkthroughs, endpoint contracts, configuration, and troubleshooting, see the Beam Verifier developer docs.
Table of Contents
Install
Requires Python 3.12 or later and uv.
uv tool install beam-verifier
beam-verifier list-datasets # confirms the install; no endpoint needed
Coding benchmarks use local Docker sandboxes by default. For remote sandboxes,
install the Daytona extra: uv tool install 'beam-verifier[daytona]'.
If your endpoint requires authentication, set REFLECTION_API_KEY in your
environment, or pass --api-key.
Verify
Runs the functional suites against /v1/chat/completions: parameter
acceptance, request validation, chat, tool calling, structured output,
tool_choice, multi-turn, and streaming. Every case is expected to pass on a
sane Beam endpoint: the expected result is 100%.
beam-verifier verify --base-url http://localhost:8000/v1 --model-name my-model
# Narrow to one suite and stop at the first failure.
beam-verifier verify --base-url http://localhost:8000/v1 --model-name my-model \
-k tool_protocol -x
# --model-kwargs forwards request options to the endpoint.
beam-verifier verify --base-url http://localhost:8000/v1 --model-name my-model \
--model-kwargs temperature=0
--parse-url, --format-url, and --completions-url add optional suites
that check raw Harmony parsing, chat-template formatting, and raw completions
directly, without going through chat. See the
developer docs
Eval
Reproduces benchmark numbers — GPQA-Diamond, AIME, SWE-bench Pro — in their pre-defined settings, so a run is comparable to the published score. All presets are overridable.
Here are the target scores on each dataset (model card):
| Model | GPQA-Diamond | AIME 2026 | SWE-bench Pro v1 |
|---|---|---|---|
| Beam | 90.6% | 97.7% | 66.1% |
beam-verifier eval --base-url https://model.example.com/v1 --model-name my-model \
--parallel-tasks 8
Without a dataset name, eval runs all three benchmarks. SWE-bench Pro
score reproduction is still unverified.
SWE-bench Pro (swebench-pro)
runs through Harbor with
Mirror as the agent. It runs
against local Docker by default, which is fine to get started, but
Daytona is recommended for scale: it runs task
sandboxes remotely, so concurrency is not limited by your host machine's
resources.
# Local Docker sandboxes (default).
beam-verifier eval swebench-pro \
--base-url https://model.example.com/v1 --model-name my-model
# use Daytona, recommended for scale.
uv tool install 'beam-verifier[daytona]'
export DAYTONA_API_KEY=...
beam-verifier eval swebench-pro --sandbox daytona \
--base-url https://model.example.com/v1 --model-name my-model \
--parallel-tasks 8
# --host-model-proxy spins a model proxy on the host, to allow connectivity for a protected endpoint from the remote sandboxes.
export REFLECTION_API_KEY=...
beam-verifier eval swebench-pro --sandbox daytona --host-model-proxy \
--base-url https://model.example.com/v1 --model-name my-model \
--parallel-tasks 8
Mirror is operating inside the task container, sending requests to the
endpoint from there. The endpoint must be reachable from there. Direct
connections require an unauthenticated endpoint. Use --host-model-proxy
with --sandbox daytona for authenticated endpoints, or when the endpoint
is reachable only from the host — it relays model requests through a local
proxy, so the sandbox never sees the credential. Local Docker does not
support --host-model-proxy. See the
developer docs for how to
set it up, along with the full detail on tuning generation settings, Mirror,
and sandbox/Daytona options.
A run can be resumed from where it left off; the dataset list and
--base-url / --model-name are fixed to the saved run and the API key must
be supplied again:
beam-verifier eval --resume .runs/<run-directory> \
--base-url https://model.example.com/v1 --model-name my-model
Results
Runs are saved under .runs/ in the current directory. Inspect the latest run
or write a self-contained HTML report:
beam-verifier view .runs/<run>
beam-verifier report .runs/<run> -o report.html
Use beam-verifier --help for the
command list and the developer docs
for full walkthroughs, every flag, and troubleshooting.
Metadata
Release files for beam-verifier 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| beam_verifier-0.1.0.tar.gz | 32.0 MB | With provenance | Details for beam_verifier-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| beam_verifier-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for beam_verifier-0.1.0-py3-none-any.whl |
Total release size: 61.7 MB
Release files / beam_verifier-0.1.0.tar.gz
| Download URL | beam_verifier-0.1.0.tar.gz |
|---|---|
| Size | 32.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5866477bc3f5d8de4b3d3e114ea6a809ff5788d263358b1e46fcb5eff3176114
|
|
BLAKE2b-256 checksum How to use checksums |
cd4920e36b2b1525e674439b2dcef2e0786336919a2ea16d6eab88661f377d99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 2, 2026.
Transparency logRelease files / beam_verifier-0.1.0-py3-none-any.whl
| Download URL | beam_verifier-0.1.0-py3-none-any.whl |
|---|---|
| Size | 29.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2b784c933367723a1f2795443e5f4496aeaf395e50db9da6a3bb620d0fee077
|
|
BLAKE2b-256 checksum How to use checksums |
b38d0c0d3c63fe1f62d679079cfa09ec793a48f8b12686577c88180b6b5dc9a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 2, 2026.
Transparency logSecurity for beam-verifier 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for beam_verifier-0.1.0.tar.gz
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 Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.