Environments, demonstrated
An environment is an eval you can take the gradient of.
You write down what good means, in code. A model attempts the work. The grader scores it and cannot be argued with. Then you train against that score and watch the number move — or watch it not move, which you found out in an afternoon instead of a quarter.
Why a word game
We didn’t pick a game. We picked theirs.
Wordle is Prime Intellect’s own hello-world. It is one of five basic end-to-end examples in their trainer, a shipped environment in their library, and the environment their official tutorial optimises prompts against. A demo of their idea should start where they start.
- prime-rl / examples / basic / wordleOne of the five basic end-to-end examples in prime-rl, their RL trainer.(opens in a new tab)
- verifiers / environments / wordleA shipped environment in verifiers, the library the whole ecosystem builds on.(opens in a new tab)
- lab-cookbook / guides / prompt optimizationThe environment used in the official lab-cookbook prompt-optimisation tutorial.(opens in a new tab)
Four parts. That is the whole of it.
- 01
A task
One unit of work with a beginning and an end. Guess a five-letter word in six tries.
- 02
Legal moves
What the player is allowed to do. Any word on the list, once, five letters.
- 03
A grader
Code that marks the attempt. It runs the same way every time and there is nobody to appeal to.
- 04
A score that moves
One number per attempt. Train against it and it goes up, or it does not and you found that out cheaply.
Published by Prime Intellect
0%~60%
Qwen3-1.7B win rate on this task, before and after training.
Out of the box, a 1.7-billion-parameter model never once guesses the word. After an SFT warm-up, then multi-turn RL with group-relative advantages (GRPO), it wins about six games in ten. Measured on 20 held-out words the model never trained on, played 3 times each. Both checkpoints are public, so the claim is checkable rather than quotable.
The write-upQwen3-1.7B-Wordle-SFTQwen3-1.7B-Wordle-RL
We quote the win rate only. The reward numbers in that write-up span versions of the environment and were never re-measured together. Why that matters.
The live one
Play it, then change what counts as good.
The demo runs the same environment the repository ships. You can play a board yourself, watch a recorded model play the same board, read the Python that scored it, and then move the reward weights and watch the ranking of two recorded runs change under you.
LiveFor the Anyone signing an AI budgetWord FiveGuess a hidden five-letter word in six tries, from letter-by-letter feedback.Reward: Win fast, minus wasted guessesOpen the demoOr skip the browser
git clone https://github.com/karti-ai/PIG-Demo
cd PIG-Demo && uv sync --all-packages
uv run vf-eval wordle-five -n 8Three commands and you have the environment on your own machine, scoring your own model. Nothing on this page needs our servers to be up.
The lineup
Twelve of these, ranked.
Each one is a task an environment could run, a reward in a number your board already reads, and the counterweight that stops that reward being farmed the crude way. They are our proposals. Nobody’s roadmap, nobody’s customer list.
- 01Customer Support ResolutionPays for a first-contact resolution the customer does not reopen within seven days. One number, the one already on the support scorecard.
- 02Healthcare RCM Denial AppealPays overturned dollars per appeal, scored against the payer’s adjudicated outcome on the same claim.
- 03Insurance Coverage & ReservePays on reserve accuracy: the gap between the number set on day one and the cost the claim actually closed at. The coverage call has to match the closed file.
- 04Financial-Crime Alert TriagePays for closing false positives, in analyst hours per thousand alerts. That is the number the operating budget is built on.
- 05Energy Day-Ahead BidPays settled day-ahead revenue net of real-time, in dollars, at the clearing prices the market operator actually published for that day.
- 06Logistics Load & ReroutePays landed cost per load and on-time-in-full against the receiver’s appointment window. Both, together, because either one alone is trivially gamed.
- 07Code Fix-the-TestThe test suite is the grader. It pays 1 when the target test passes and everything that passed before still passes.
- 08Retail Markdown CadencePays gross margin dollars at season end, computed on the sell-through curve that actually happened.Not in the first set
- 09Telecom Alarm → Root-CausePays on time-to-identify, measured against the root cause the post-incident review recorded.Not in the first set
- 10Data Column SplitPays exact match on held-out rows the model never saw while it was writing the rule.Not in the first set
- 11Legal Playbook RedlinePays for finding every clause the playbook flags and putting it in the right one of the three buckets. That is checkable against the playbook itself.Not in the first set
- 12Semiconductor PPA ClosureThe signoff report is the reward: worst negative slack, total negative slack, area, leakage power. Numbers the tool prints. No rubric, no judge, no human in the scoring loop.Not in the first set