The alpha, twice a week
That was 2 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Sourcery · 2 min · Jun 18, 2026
Harvey built legal benchmark data with agents and lawyer review
Niko Grupen explains how attorneys mapped practice areas and agents drafted synthetic legal documents for review.
In this episode
Full analysis- 23:44Token pricing will recreate the billable-hour problem5 min
- 18:57Agent usage is driving sharply higher inference costs5 min
- 6:29Harvey open-sources general legal AI while protecting client data4 min
- 1:10Harvey turns partner expectations into legal agent tests4 min
- 10:25Harvey's research strategy borrows from DeepMind's top-down plan2 min
- 12:27Harvey planned for both seat-based and token-based sales3 min
- 36:35Harvey built legal benchmark data with agents and lawyer review2 min
“So we had to get creative with how we constructed the data set. And the way that we did it was actually agent-led with lawyer review.”
Niko Grupenat 36:58 · SourceryTakeaways
- Attorneys mapped 24 practice areas and the tasks within them.
- Agents generated first drafts from lawyers’ task knowledge.
- Lawyers reviewed outputs, rubrics and document quality.
About this segment
Niko Grupen explains how attorneys mapped practice areas and agents drafted synthetic legal documents for review. This let Harvey publish a benchmark without using confidential client files.
Head of Applied Research, Harvey
Researched reinforcement learning and multi-agent systems at Google Brain before leading applied research at Harvey.

Molly O'Shea, Host · Founder, Sourcery
Ex-Upfront Ventures investor; has interviewed Alex Karp and Palmer Luckey.
From “Harvey Co-Founder Gabe Pereyra on the Token Pricing Reckoning Coming for AI”, Jun 18, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 36:42
lot was there was no existing data set for this type of information. So how did you guys create that and how did you train off of it? Yeah, so this was actually, I think, one of the most interesting and innovative parts of the project. So obviously, legal data is some of the most sensitive in the world. Firms can't just freely share that for something like an open source benchmark. Crazy. Yeah. So we had to get creative with how we constructed the data set. And the way that we did it was actually agent-led with lawyer review. So coding agents, these agentic systems are actually so good at generating synthetic data now that even for non-public documents like certain contract types, et cetera, they can generate a pretty good first draft. Obviously not good enough to be lawyer passing. So the way that we approached this was we have a team
- 37:36
internally at Harvey that we refer to as applied legal research. They're all former big law attorneys. They come from a variety of different practice areas and subdomains of law. We basically mapped out 24 practice areas that law firms have on their websites that they have lawyers, associates kind of assigned to within the firm. And they went through all of the sort of tasks that the firms do or the associates that the firms do within those practice areas. And they have the priors, right? They're lawyers. They've done this work before to write out, okay, for this type of work, we use these types of documents and they look like this. And this is what a realistic deal kind of looks like. We had agents generate the data from there. And then we sent it to sort of like our larger network of lawyers to review the outputs, the rubrics, document quality,
- 38:26
all those sorts of things. But it ends up being a pretty like human in the loop, but scalable way to generate data. So for someone reading this, how should they be evaluating the benchmarks?