skillfed

verifiers

Verifiers: Environments for LLM Reinforcement Learning

verifiers v0.3.0 554.1K downloads/30d#6,037 on PyPI4,513
Permissive license MIT Active released

What it is and what it does

Verifiers is a library for creating and managing training and evaluation environments for large language models, built around reinforcement learning workflows. It is designed to work within the Prime ecosystem—specifically the Environments Hub, the prime-rl training framework, and the Hosted Training platform—but can also be used as a standalone harness for multi-turn agent interactions, tool-use training, and LLM verification tasks.

The package brings together environment management, evaluation harnesses, and agent integration under a single interface. It depends on a substantial set of libraries for async I/O (aiohttp, httpx), LLM provider clients (anthropic, openai), data handling (datasets, numpy, pydantic), and distributed compute (pyzmq, uvloop). The library is actively maintained, recently released, and targets Python 3.11–3.13.

Use it for:

  • Train agents using reinforcement learning (GRPO, agentic RL) with multi-turn environments and tool-use capabilities.
  • Evaluate LLM outputs against verification criteria in a structured harness integrated with the Prime platform.
  • Build custom evaluation environments for agent reasoning and decision-making tasks.
  • Integrate LLM training pipelines with the Prime CLI and Environments Hub for collaborative model development.
  • Benchmark multi-turn agent behavior in controlled, reproducible environments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Verifiers provides environments and evaluation harnesses for training and assessing large language models using reinforcement learning, with integration into the Prime ecosystem.

Yes, if you are training or evaluating LLMs with reinforcement learning and plan to use the Prime ecosystem. The package is actively maintained, has no known vulnerabilities, and integrates tightly with prime-rl and Hosted Training. If you need a standalone environment harness without Prime integration, verify that the 26 dependencies and ecosystem lock-in align with your workflow first.

Install

verifiers on PyPI

pip

pip install verifiers

uv

uv add verifiers

poetry

poetry add verifiers

Installing verifiers

Before you install

Low friction installation with a pure-Python wheel. Active maintenance—released 7 days ago with 4513 repository stars. Requires Python 3.11–3.13 and pulls 26 runtime dependencies including aiohttp, anthropic, openai, and pydantic, which are standard in the LLM ecosystem.

License in practice

MIT license (permissive). No restrictions on commercial or private use; you may modify and redistribute under the same license.

Quickstart

pip install verifiers

from verifiers import Environment
env = Environment()

Requires Python 3.11 or later. The package is tightly integrated with Prime CLI and the Environments Hub; standalone use may require additional setup.

Verify before relying

  • Specific API surface and core classes beyond Environment—documentation depth unclear from excerpt.
  • Whether 26 runtime dependencies are all required or some are optional/conditional.
  • Integration requirements with prime-rl and Hosted Training platform for full functionality.

Package facts

License MIT (permissive)
Python support supports the current Python release (<3.14,>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 26 — aiohttp, aiolimiter, anthropic, datasets, gepa, httpx, loguru, math-verify, mcp, msgpack, numpy, openai-agents, openai, prime-pydantic-config, prime-sandboxes, prime-tunnel, pydantic, pyzmq, renderers, requests, rich, setproctitle, tenacity, tomli-w, typing-extensions, uvloop
Maintenance actively maintained — 7 days since the last release
Last repo commit
First released
Downloads 554,110/month — #6,037 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: verifiers-0.3.0-py3-none-any.whl

Keywords: agentic-rl, agents, environments, eval, grpo, harness, llm, multi-turn, reinforcement-learning, rl, rlvr, tool-use, train, verifiers

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules

Tags

llm training environmentsreinforcement learning evaluationagentic rl frameworkmulti-turn agent harnessllm verifier environmentstool-use traininggrpo training framework
llm-trainingreinforcement-learningagent-evaluation

More Python Modules packages

Further reading