Development Environment Setup
1
Fork Repository
Fork the browseruse-bench repository on GitHub
2
Clone Code
3
Install Dependencies
4
Create Branch
Contribution Types
Adding New Agents
- Create a new Agent directory in
agents/ - Implement the Agent interface
- Add
config.yaml.exampleand keepconfig.yamllocal - 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
config.yaml.example in the repo and keep config.yaml local for secrets.
Implement Interface
New Agents need to implement the following interface:Register Agent
Register inbrowseruse_bench/agents/__init__.py:
Code Standards
Formatting
Type Checking
Testing
Submitting PR
1
Ensure Tests Pass
2
Commit Changes
3
Push Branch
4
Create PR
Create a Pull Request on GitHub and describe your changes
Commit Convention
Use Conventional Commits format:feat:New featurefix:Bug fixdocs:Documentation updaterefactor:Code refactoringtest:Add testchore:Other changes