Development Environment Setup
Contribution Types
Adding New Agents
- Add a new agent module in
browseruse_bench/agents/(e.g.,your_agent.py) - Implement
BaseAgent.run_taskand register with@register_agent - Add runtime config under
configs/agents/<agent>/config.yaml(optionalconfig.yaml.example) - Import the module in
browseruse_bench/agents/__init__.py - Register the agent in root
config.yaml - Update documentation
Adding New Benchmarks
- Create a new Benchmark directory in
benchmarks/ - Prepare task data and
data_info.json - Implement evaluator (optional)
- Update documentation
Fixing Bugs
- Create an Issue to describe the problem
- Submit a PR with the fix
- Ensure tests pass
Improving Documentation
- Modify documentation in
docs/directory - Submit PR
Adding New Agents
Directory Structure
.env file and avoid storing API keys in YAML.
Implement Interface
New agents implementBaseAgent and the run_task method:
Register Agent
- Import the module in
browseruse_bench/agents/__init__.py:
- Add the agent entry to the root
config.yaml:
Code Standards
Formatting
Type Checking
Testing
Submitting PR
Commit Convention
Use Conventional Commits format:feat:New featurefix:Bug fixdocs:Documentation updaterefactor:Code refactoringtest:Add testchore:Other changes