← 开源

A benchmark built to evaluate and improve agent capabilities for supporting legal work.

AI EngineeringTest & guardPython
增长势头
+624 小时新增 Star+0.3%
1.73k
Star
335
Fork
+26
本周
25
贡献者
创建于 2026-03-30 · 更新于 2026-12-06 · 今日第 1988 名
主要开发者
calvinqilavneethoraspencerp
README

Legal Agent Benchmark (LAB): An open-source benchmark for evaluating agents on real legal work.

Harvey LAB is an open-source project aimed at benchmarking LLM agents' abilities to perform legal work in realistic environments.

LAB consists of two parts: a dataset of tasks containing agent instructions, documents, and rubrics as well as an execution harness for running and evaluating agents against those tasks.

LAB is an ongoing project and we expect to consistently add to and refine the task set and execution harness.

Read the announcement post: Introducing Harvey's Legal Agent Benchmark

Getting Started

Start with the full walkthrough in docs/tutorial.md — it takes one realistic M&A data-room assignment end to end: setup, task inspection, agent run, scoring, report review, and comparison dashboards.

Use As A Library

The harness and grader ship as the lab-core Python package (import name lab_core), built as a wheel on every release:

uv add "lab-core @ https://github.com/harveyai/harvey-labs/releases/download/v1.4.0/lab_core-1.4.0-py3-none-any.whl"

Point it at a checkout of the tasks with LAB_ROOT=/path/to/harvey-labs; the python -m lab_core.… commands then work outside the repository. See CONTRIBUTING.md.

Grading .docx output also needs the pandoc CLI, 3.5 or later, on PATH. On Linux, this runs the installer bundled in the wheel, the same one the sandbox image and CI use:

sudo sh "$(uv run python -c 'import lab_core, pathlib; print(pathlib.Path(lab_core.__file__).parent / "sandbox" / "install_pandoc.sh")')"

Additional Documentation

Guide Description
Architecture Task model, harness, tools, adapters, reports, and sweeps
Evaluation Methodology All-pass rubric scoring and LLM judge behavior
Contributing Add tasks, model adapters, evaluation improvements, and docs

Citation

If you use Harvey LAB in your research, please cite it as:

@misc{harveylab2026,
  title  = {{Harvey LAB}: The Legal Agent Benchmark},
  author = {{Harvey AI}},
  year   = {2026},
  url    = {https://github.com/harveyai/harvey-labs},
  note   = {Announcement: \url{https://www.harvey.ai/blog/introducing-harveys-legal-agent-benchmark}}
}

In the paper, also name the release (for example v1.3.0) or commit you evaluated. Scores from different releases are not always comparable, and CHANGELOG.md lists each change that moves scores.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载