Registry / llm-agents / browsergym-experiments

browsergym-experiments

JSON →
library0.14.3pypypiunverified

Experimentation tools for BrowserGym, providing wrappers and utilities to run experiments with LLM-based agents in web environments. Current version: 0.14.3, requires Python >3.7. Release cadence: irregular.

pip install browsergym-experiments
INSTALL
IMPORT
SIG · BROWSERGYM-EXPERIM
B
browsergym-experiments
llm-agentspythonv0.14.3
Install
13.8s avg
Import
Disk
299MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.14.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 16.6s
py 3.11
✕ build_error
✓ 14.8s
py 3.12
✕ build_error
✓ 12.2s
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 11.5s
299MB installed
● package 299MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ExpArgs
from bgym.experiments import ExpArgs
from browsergym.experiments import ExpArgs

Basic usage of ExpArgs and experiment directory utilities.

import os from browsergym.experiments import ExpArgs, get_experiment_dir exp_dir = get_experiment_dir() print(f"Experiment directory: {exp_dir}") # Example: define experiment arguments exp_args = ExpArgs( task_name="miniwob.click-test", agent_args={"model": "gpt-4"}, exp_dir=exp_dir ) print(f"ExpArgs: {exp_args}")
Debug
Known issues
gotchaThe package name uses hyphens (browsergym-experiments) but the Python import uses underscores (browsergym.experiments). Ensure you use the correct import path.
fix
Use 'from browsergym.experiments import ...' instead of 'from browsergym_experiments import ...'
affects: all
deprecatedSome functions from earlier versions (e.g., 'make_experiment') have been deprecated in favor of ExpArgs. Check the changelog for migration.
fix
Replace make_experiment with ExpArgs and exp_args.run() pattern.
affects: >=0.12.0
gotchaExperiment directory creation may fail if the base path contains spaces or special characters. Always use get_experiment_dir() to handle path sanitization.
fix
Use 'from browsergym.experiments import get_experiment_dir' to get a safe directory.
affects: all
Upgrade
Version history
0.14.3latest on PyPI · released Jan 20, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
1
Resources