Why agentic RL environments need domain experts, with examples
For agent builders4 min read

A builder can write an agent environment, but often cannot say whether the task is realistic or the answer is right. Domain experts can: a lawyer, an accountant or a nurse knows what a real case looks like and which mistakes matter. This post covers what experts add to agentic RL environments and how to work with them.
What builders cannot check
Anthropic's guide to agent evals says tasks should be written so that domain experts would reach the same pass or fail verdict independently. It also says evals work best owned like unit tests, with contributions from product and domain teams. Both points assume experts are in the loop.
Source: Demystifying evals for AI agents(opens in a new tab)
SWE-bench Verified is a worked example. Its docs describe 500 problems that engineers confirmed are solvable. Someone who knows software had to look at each problem and say whether it was fair.
Source: SWE-bench documentation(opens in a new tab)
What experts add to agentic RL environments
| Contribution | Why a builder usually cannot supply it |
|---|---|
| A realistic task | Real cases have messy inputs, missing details and competing rules |
| The right tools | Experts know which systems and documents the work actually uses |
| A correct checker | Only someone fluent in the field can say what counts as right |
| A reference solution | Proves the task can be solved, and how |
| Hard edge cases | Experts know which mistakes are common, and which are costly |
| Review of agent runs | They spot a wrong answer that looks confident |
Examples from three fields
These are illustrations of the idea, written for this post, not records of real projects.
- Law: an agent is asked to check whether a clause in a draft contract conflicts with a statute. A builder might test only whether the agent cites a law. A lawyer would test whether it cites the right one for the right jurisdiction, notices an exception, and says when the answer depends on facts it does not have.
- Finance: an agent reconciles two sets of transactions. A builder checks that totals match. An accountant checks that timing differences, rounding and reversals are handled the way a real close would handle them.
- Health: an agent drafts a summary of a patient note. A builder checks that it is fluent. A clinician checks that it keeps the dose, the allergy and the follow-up, and does not add a diagnosis that is not in the note.
In each case the check an expert writes is stricter than the one a builder would write, and it looks at different things.
How to work with experts
- Give them a task template: instruction, files and tools, expected end state, and a checker description in plain language.
- Ask them to write the reference solution first. If they cannot, the task is not ready.
- Have an engineer turn the checker description into code, then show the expert what it accepts and rejects.
- Test the checker with wrong answers an expert would find tempting.
- Ask a second expert to solve the task blind. If the two disagree, the task is ambiguous.
- Have experts read a sample of agent runs, passing ones included.
Expect the early rounds to be slow. The first tasks reveal vague wording, hidden assumptions and tools that are missing. Those fixes make every later task faster to write.
Experts also help after the first version ships. When an agent run fails in production, an expert can say whether the agent was wrong, the task was unrealistic or the checker was too harsh. Each answer leads to a different fix, and a builder alone often cannot tell them apart. Fold those cases back into the environment as new tasks.
Pay attention to the handoff
The weak point in this process is the translation between expert and engineer. Keep the expert's description of correct in their own words next to the code that implements it. When a run fails and people disagree about the grade, you can look at the original intent and not argue from memory.
Be clear about scope when you brief an expert. Say which tools the agent will have, what it can and cannot change, and what a failure costs. An expert who knows the agent cannot browse the web will write a different, fairer task than one who assumes it can.
Curatrain vets engineers, scientists, doctors, lawyers, linguists, finance and maths specialists with skill tests and matches them to paid, remote AI training work, including realistic tasks, tools and checkers for AI agents. Companies get a shortlist of experts who already passed the tests their project needs, and approve each match themselves.