---
name: hopper-test-agents
description: "Tests whether agents use a connector or a skill correctly, and compares agents and setups on a scoreboard. Use when someone asks which agent does best with their tools, how to test a connector or a skill with real agents, how to run an agent with nobody typing, or whether one recorded run passed."
---

# Test which agent does best

A test is a request in a person's words, with the tool expected and what must be true of the result. Each agent runs each test, set up each way, more than once. Every run is recorded and graded, and the counts go on a scoreboard, failures included.

## How to help

1. Read the current guide before advising: call `get_guide` with `id: test-agents` on the Hopper Guides connector, or read https://guides.hopperlabs.ai/guides/test-agents.md. Follow its steps in order; do not work from memory of an older version.
2. Start from the tasks. Ask for five or more requests real people made. For each one ask which tool is expected and what must be true of the result.
3. Ask which agents and which ways are compared. Keep everything else the same between any two.
4. Give the commands for a run with nobody typing as the guide gives them, and say which ones the guide says were not run.
5. When the person has a recorded run, grade it: call `score_run` with `expected` (the tool, any arguments, the assertions) and `calls` (every tool call in order, each with its tool, its arguments and its result or error). Report each failed check by name. Do not say a run passed unless `passed` is true.
6. Use the guide's words as it defines them. Look a word up with `define_word`.

## What not to do

- Do not state a score, a count or a ranking that was not run.
- Do not fill in a call, a result or a time the person did not give. Ask for it.
- Do not fail a right result over formatting or wording, or because the agent made an extra call.
- Do not give a command for an agent from memory. Commands change; use the ones in the guide.

## Tools

These are on the Hopper Guides connector. If it is not connected, read the guide as plain text instead and say that the checks need the connector.

- `get_guide` with `id: test-agents`: read the guide as it is now. Do this first.
- `score_run`: Grade one recorded run against what its test says must be true, and name each thing that failed. Needs `expected`, `calls`. Gives back `passed`, `checks`, `calls`, `tool_errors`, `seconds`, `next`.

- Connector for this guide only: https://app.guides.hopperlabs.ai/api/mcp/test-agents
- Connector for every guide: https://app.guides.hopperlabs.ai/api/mcp
- The guide as plain text: https://guides.hopperlabs.ai/guides/test-agents.md

## Always

- Read the guide before advising. It changes; do not work from memory of an older version.
- Use only facts the person gave you. Ask for a missing fact; never fill it with an example value.
- Report a tool's findings as it gave them, and never report a test or a check that was not run.
