Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR integrates the Verifiers library into LLMGym, enabling users to run environments from the Verifiers library and PrimeRL environment hub through LLMGym's unified interface.
- Adds a new
verifiers_v0environment that wraps Verifiers library environments - Implements tool configuration parsing to support OpenAI-compatible tool schemas
- Provides comprehensive documentation and interactive Jupyter notebook examples
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Adds verifiers library dependency at version v0.1.6.post0 |
| llmgym/envs/verifiers/env.py | Core environment wrapper implementing Verifiers integration |
| llmgym/envs/verifiers/utils.py | Utility functions for tool configuration parsing and setup |
| llmgym/envs/verifiers/README.md | Comprehensive documentation with setup instructions and examples |
| llmgym/envs/verifiers/verifiers.ipynb | Interactive notebook with working examples |
| llmgym/envs/init.py | Registers the new verifiers environment module |
| .gitignore | Adds patterns for verifiers-related files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
virajmehta
approved these changes
Nov 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
verifiers_v0environment that integrates the Verifiers library with LLMGym, enabling users to run diverse LLM agent benchmarks and environments from the PrimeRL ecosystem.Features
make(),reset(),step())SingleTurnEnv: Q&A tasks (e.g., SimpleQA)MultiTurnEnv: Conversational tasks (e.g., Tau2-Bench)ToolEnv: Tool-enabled environments (e.g., Wiki-Search)TextArenaEnv: Interactive games (e.g., Wordle)verifiers_env_argsImplementation Details
New Files
llmgym/envs/verifiers/env.py: CoreVerifiersEnvwrapper (~600 lines)llmgym/envs/verifiers/utils.py: Tool configuration utilities (~180 lines)llmgym/envs/verifiers/README.md: Comprehensive documentation with examplesllmgym/envs/verifiers/verifiers.ipynb: Interactive notebook with usage examplesKey Components
Dependencies
verifierstopyproject.tomlverifiers_v0inllmgym/envs/__init__.pyUsage Example
Known Limitations
Testing
Documentation
See
llmgym/envs/verifiers/README.mdfor: