Benchmark an AI agent's ability to handle realistic legal tasks like M&A document review.
Score agent outputs against rubrics covering 24+ legal practice areas.
Compare performance across different AI agents or model versions using the dashboards.
Contribute new legal tasks or model adapters to expand the benchmark.
| harveyai/harvey-labs | forsy-ai/agent-apprenticeship | alephaitech/workbuddyguide | |
|---|---|---|---|
| Stars | 1,197 | 1,189 | 1,212 |
| Language | Python | Python | Python |
| Last pushed | — | 2026-07-03 | — |
| Maintenance | — | Maintained | — |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 3/5 | 1/5 |
| Audience | researcher | pm founder | general |
Figures from each repo's GitHub metadata at analysis time.
Follow the tutorial to set up the harness and run an agent against a sample legal task.
Harvey LAB is an open-source benchmark for testing how well AI agents can perform real legal work. Instead of measuring general knowledge, it gives an AI agent realistic legal tasks, such as reviewing documents or working through a business deal, and checks how well the agent completes them compared to what a human lawyer would expect. The project has two main parts. The first is a growing collection of tasks, over 1,600 of them, spanning more than two dozen legal practice areas plus contract work. Each task includes instructions for the agent, the relevant documents it needs to read, and a scoring rubric that defines what a correct or complete answer looks like. The second part is an execution harness, the software that actually runs an AI agent against these tasks and scores its output using the rubrics, sometimes with the help of another AI model acting as a judge. The maintainers describe LAB as an ongoing project, meaning new tasks and improvements to the scoring system are expected to be added over time rather than the benchmark staying fixed. The documentation includes a full walkthrough that follows one realistic example, a mergers and acquisitions data review task, from setup through running an agent, scoring its work, and comparing results across different runs. This project is licensed under the MIT license, a permissive license that allows free use, modification, and redistribution, including for commercial purposes. Harvey LAB is intended for AI researchers and engineers who are building or evaluating AI agents meant for legal work, as well as legal technology teams who want a standardized way to measure how capable a given agent actually is at real legal tasks rather than relying on general purpose benchmarks.
An open-source benchmark that tests how well AI agents perform realistic legal work, using over 1,600 scored tasks across 24+ practice areas.
Mainly Python. The stack also includes Python.
Use, modify, and distribute freely, including for commercial purposes, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.