Skip to main content

WebArena benchmark for BrowserGym

This package provides browsergym.webarena, which is an unofficial port of the WebArena benchmark for BrowserGym.

Note: the original WebArena codebase has been slightly adapted to ensure compatibility.

Server installation

You have two options to setup your webarena instance:

We recommend option 2 as it allows you to easily customize the ports of each webarena domain, and offers a reset functionality that allows browsergym to trigger a full instance reset remotely.

Setup

  1. Install the package
pip install browsergym-webarena
  1. Download tokenizer resources
python -c "import nltk; nltk.download('punkt_tab')"
  1. Setup the URLs as environment variables. The ports for each domain here should correspond to those you used when setting up your webarena instance. Note also the WA_ prefix which is specific to browsergym.
BASE_URL=<YOUR_SERVER_URL_HERE>  # example: "http://myazuremachine.eastus.cloudapp.azure.com"

# webarena environment variables (change ports as needed)
export WA_SHOPPING="$BASE_URL:8082/"
export WA_SHOPPING_ADMIN="$BASE_URL:8083/admin"
export WA_REDDIT="$BASE_URL:8080"
export WA_GITLAB="$BASE_URL:9001"
export WA_WIKIPEDIA="$BASE_URL:8081/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing"
export WA_MAP="$BASE_URL:443"
export WA_HOMEPAGE="$BASE_URL:80"

# if your webarena instance offers the FULL_RESET feature (optional)
export WA_FULL_RESET="$BASE_URL:7565"

# otherwise, be sure to NOT set WA_FULL_RESET, or set it to an empty string
export WA_FULL_RESET=""
  1. Setup an OpenAI API key
export OPENAI_API_KEY=...

NOTE: be mindful of costs, as WebArena will call GPT4 for certain evaluations (llm_fuzzy_match).

Metadata

Release files for browsergym-webarena 0.14.3

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

Source distribution (sdist)

Source distribution for browsergym-webarena 0.14.3
File Size Uploaded Provenance
browsergym_webarena-0.14.3.tar.gz 8.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for browsergym-webarena 0.14.3
File Interpreter ABI Platform
browsergym_webarena-0.14.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / browsergym_webarena-0.14.3.tar.gz

Download URL browsergym_webarena-0.14.3.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
44f5a4a0f0112a4d8f28e3d13b96e16b9580bfc58585172706ec4256b820157b
BLAKE2b-256 checksum
How to use checksums
edb80ea28fb15f0f7c3e840edcad57fad2bf6953adc558a2c9d6ac8ce3b45c54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 20, 2026.

Transparency log

Release files / browsergym_webarena-0.14.3-py3-none-any.whl

Download URL browsergym_webarena-0.14.3-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
746f1233c9a8c4a408b4b5013f7bf9f21973d0d0721b22efc39b17ea2c03f44d
BLAKE2b-256 checksum
How to use checksums
718ebd8f9c6a799b8a8e1c4acdb37a1cea567eb99499b52907a6a87e203b18c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 20, 2026.

Transparency log

Security for browsergym-webarena 0.14.3

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for browsergym_webarena-0.14.3.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 Jan 20, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.14.3 This release

2 release files Full provenance

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