How do you know whether an AI agent is actually good at a job, such as analyzing lab measurements? You build an agentic evaluation: a set of tasks, a controlled environment, and a grader that checks what the agent changed. This agentic evaluation guide follows the framework Hugging Face lays out in its recent post on building and maintaining such tests.
What is an agentic evaluation?
An evaluation, in Hugging Face’s description, gives a system tasks, checks its answers or actions, and produces a score. Building a useful one takes real work: defining tasks that reflect domain expertise, scoring them reliably, and confirming that the results support the claims made about them.
Hugging Face describes three eras of evaluation design. Question-and-answer benchmarks such as MMLU and GPQA check a response against a key. Agentic benchmarks such as SWE-bench and WebArena check what an agent changed in an environment, such as resolving a software issue or finishing a task on a website. Newer team-and-swarm evaluations score what a group of agents produces together. Hugging Face focuses on the middle category and leaves multi-agent interaction outside its guide.
What are the parts of an agentic evaluation?
Hugging Face breaks one evaluation into pieces that can each be published, inspected, and reused on their own:
- Task: the instruction the agent receives.
- Agent harness: the software wrapped around the model and its tools, which lets it work inside a pinned environment (a fixed, reproducible setup).
- Rollout: one complete attempt at a task. The agent may run several commands, read the output, and retry before it stops.
- Evaluation harness: the runner that executes several rollouts per task.
- Verifier: the grader that checks the environment’s final state once a rollout ends.
- Trace: the record of the agent’s work, which together with the scores becomes part of the published evidence.
The distinction between the two harnesses matters because surrounding software can move the score. In an audit of Terminal-Bench cited by Hugging Face, researchers held the model fixed and changed only the agent harness. Accuracy varied by up to 29.9 percentage points. A score therefore describes a model and its scaffolding together.
What does building one look like in practice?
Hugging Face walks through a worked example: a physics lab wants an agent to analyze a Raman spectrum, a measurement whose peaks reveal properties of a material, here graphene. The agent’s job is ordinary coding. It reads a data file, fits a curve to each peak, and saves the results. The authors keep the claim deliberately narrow: fit the specified peaks and calculate a requested ratio comparing the intensity of two peaks.
Rather than starting from scratch, the example adapts an open task, so most of the effort goes into domain expertise and validation. Hugging Face lists eight steps:
- Define the claim the evaluation will support.
- Find an existing task to start from.
- Run that task unchanged.
- Adapt it to the new domain.
- Check the evaluation itself.
- Read the traces.
- Report the score.
- Compare models.
Hugging Face groups the first four as work on the evaluation and the last four as running models and reading results. Its appendix covers the commands in full.
A person following this workflow might begin with the lab’s own question, such as whether an agent can reproduce a technician’s peak fits. They would reuse an open task for the scaffolding, replace the data and expected answers with ones a domain expert has approved, and run the original task first so that later failures can be traced to their own changes. Reading traces then shows whether a failing agent misunderstood the physics or tripped over the environment.
Why do traces and verifiers get so much attention?
A score alone does not say why an agent passed or failed. Hugging Face treats traces as reviewable, shareable evidence of the agent’s work, and says errors in tasks and graders are common. A verifier that wrongly rejects a correct answer, or accepts a wrong one, quietly distorts every score built on it. The guide gives a full section to how such errors are found and corrected, which turns maintenance into a regular part of the job.
The Hugging Face hub supports this with agentic abstractions. Traces store an agent’s work in a reviewable form. Benchmarks highlight datasets used to evaluate models, with leaderboards. Environments cover datasets used as agentic reinforcement learning or evaluation environments. Hugging Face says the hub hosts around 3,500 evaluation leaderboards, and that evaluation datasets have grown about 16 times in a year to roughly 17,000.
Where does this sit among other approaches?
Question-and-answer benchmarks remain the simplest design: one response, one answer key. Agentic evaluations add an environment and a grader that inspects its final state, and the harness becomes a variable. Team-and-swarm evaluations add coordination between agents, which Hugging Face says brings further complexity and leaves for later work. The three designs can coexist, and Hugging Face notes that agentic results are increasingly prominent in model release announcements because of enterprise interest in deploying agents.
Should evaluation materials be open or private?
Hugging Face points out that 98.2% of model-benchmark scores are reported by only one party, which leaves little room for outside verification. Some benchmarks hold back test items to reduce contamination, meaning questions or solutions that leaked into training data so scores reflect prior exposure. Hugging Face cites Artificial Analysis saying 60% of its Intelligence Index v5, announced in October 2026, rests on evaluations with private test sets or held-out answers. It also mentions Google DeepMind’s pilot of double-blind evaluations, where a secure enclave hides an outside evaluator’s prompts from the model provider and the model’s weights from the evaluator.
Hugging Face’s position is that privacy by itself does not guarantee quality, and withholding supporting material can make expert review harder. The authors argue builders can still share infrastructure, grading methods, and evidence about task design, including through controlled review where public release is unsuitable. A table in the original post sets out, component by component, what to share and what can stay protected.
How do teams keep an evaluation reliable over time?
Maintenance follows from the anatomy above. A pinned environment keeps results comparable between runs. Published traces let others spot grader mistakes. Documenting what went wrong during construction, which Hugging Face encourages, helps later users find errors and improve the work. Reusing existing tasks and tools means a maintainer’s time goes into domain expertise and validation.
In practice, caution applies in a few places. A single score from one harness may not carry over to another harness, given the 29.9-point swing in the Terminal-Bench audit. Details such as exact setup commands, the sharing table, and the glossary sit in the original post and its appendix, and readers should consult them before copying the method.
Hugging Face’s glossary is worth keeping nearby, since it notes that evaluation terminology is inconsistent across the research community and lists the alternative names for each term it defines. Whether independent parties can reproduce one another’s agentic scores, given how many software layers can change a result, remains the open question the guide leaves for the field.