---
title: "Test which agent does best · HopperLabs"
canonical: https://guides.hopperlabs.ai/test-agents/
---

Part 5 of Make a guide

# Test which agent does best

Run your own tasks with each agent, set up each way, and end with a scoreboard that says which one does them right.

[Write real tasks](https://guides.hopperlabs.ai/test-agents/#tasks)

## Write real tasks

A person asked it, in their own words. "Which notes mention the lease?" is a task. "Call search with the query lease" is not. It only shows the agent can copy.

- Start with five or more.
- Should every task need my product? No.
- How do I know a task is good? It has one right answer that you could look up yourself.

## Say what must be true

The tool you expect, the facts it must be given, and facts that must hold in the result. Each one is either so or not. A task with these beside it is a test.

- path: where to look in the result, such as /ready or /items.
- operator: equals, nonempty, object_contains or some_object_contains.
- value: what to compare with, when the operator needs one.
- How strict should a fact be? Strict about the answer, loose about its wording.
- What cannot be checked? "The answer is helpful." Nobody can say yes or no to that, so it is not a fact.

## Choose what to compare

One setup for giving the agent your product. This site compares three: the connector with every guide's tools, the connector of one guide, which holds fewer tools, and only the site's address pasted into the request with no connector at all.

- What does the address way measure? Whether an agent given only a link finds your connector and uses it.
- How many times should each test run? More than once.
- How do I keep the comparison fair? Change one thing.

## Start every run clean

Nothing is left over from an earlier run or from your own setup. No earlier conversation, no extra connectors, no files another run wrote. Anthropic's advice is that each run starts from a clean place, so one run cannot help or hurt the next.

- How do I keep my own connectors out? Tell the agent to leave your settings alone for this run.
- Why start in an empty folder? Because an agent reads the folder it starts in.

## Run without a person

Use the agent's own command for one request. It takes the task, does the work, prints what happened and stops. Claude Code has claude -p, Codex has codex exec and Gemini CLI has -p.

- The Claude Code command is at the end of this step.
- What is the command for Codex? codex exec, with --json so it prints each event as a line a program can read.
- Why the two extra settings for Codex? We ran it without them first, with Codex 0.174.0, and the agent never saw the connector.
- How do I let the agent use my tool? In Claude Code, name it with --allowedTools.

## Record every call

Everything the command printed, saved to its own file. That file is the transcript. From it, list every tool call: the tool chosen, the facts it was given, what came back and any error. Keep the seconds the run took too.

- Anthropic's article on tools says to record more than pass or fail: how long each run took, how many tool calls it made, and the tool errors.
- What does one recorded call look like? One line per call, in the order they happened.
- Why keep the calls when the answer was right? Because two runs can both pass and still differ.

## Grade the result

What the agent produced, held against what you said must be true. Anthropic's advice is to grade what the agent produced, not the path it took. A run that made an extra call and still got the right result passes.

- What does the grader look at? Four things, in this order.
- What if the agent renames my tool? The grader compares the last part of the name.

## Read the transcripts

Because a grade can be wrong. Anthropic's article says you will not know whether your graders work unless you read the transcripts and grades from many runs. Read every failure, and some passes too.

- What do I look for in a failure? The last thing the agent did before it went wrong.
- How do I avoid fixing only the tests? Keep some tests held out.

## Publish the scoreboard

One row for each agent and one column for each way. Each cell says how many runs passed out of how many were run. Failures stay on it. A cell with no runs says "not run".

- This site's results page is built like that, with the usual seconds and tool calls of a run in each cell.
- What must sit beside the numbers? The date of the runs, each agent's name and version, and one sentence that says what each way was.
- When do I run it again? After every change to a tool, a description or a skill.

## Sources

- [Writing effective tools for AI agents](https://www.anthropic.com/research/writing-tools-for-agents)
- [Demystifying evals for AI agents](https://www.anthropic.com/research/demystifying-evals-for-ai-agents)
- [Test plugins with evals](https://code.claude.com/docs/en/plugin-evals.md)
- [Run Claude Code programmatically](https://code.claude.com/docs/en/headless.md)
- [Connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp.md)
- [Evaluate agent workflows](https://developers.openai.com/api/docs/guides/agent-evals.md)
- [Non-interactive mode](https://learn.chatgpt.com/docs/non-interactive-mode.md)
- [Headless mode reference](https://raw.githubusercontent.com/google-gemini/gemini-cli/main/docs/cli/headless.md)
- [Gemini CLI cheatsheet](https://raw.githubusercontent.com/google-gemini/gemini-cli/main/docs/cli/cli-reference.md)

## Use this guide

[Read the whole guide](https://app.test-agents.guides.hopperlabs.ai/) · [Connect your agent to this guide](https://test-agents.guides.hopperlabs.ai/#agent-setup)

## Connected guides

Explore the journey [Make a guide](https://guides.hopperlabs.ai/#atlas/journeys/make-a-guide) .

[View this guide on the map](https://guides.hopperlabs.ai/#atlas/guides/test-agents)

Use your agent

Choose where you want to work. Once you connect, try the question below before sharing documents. [See all agents and setup methods](https://guides.hopperlabs.ai/agent-setup/guide/test-agents/)

Claude.ai

In Plugins, select Add, then Add custom connector. Paste this Server URL, select Continue, choose No sign-in, then select Add and Try in chat.

`https://app.guides.hopperlabs.ai/api/mcp/test-agents`

[Open Claude plugins](https://claude.ai/plugins)

ChatGPT

In Plugins, select Add, then Add custom MCP server. Paste this Server URL, choose No authentication, select Create as a plugin, then Connect and Try in chat. Your workspace must allow custom connectors.

`https://app.guides.hopperlabs.ai/api/mcp/test-agents`

[Open ChatGPT plugins](https://chatgpt.com/plugins)

Codex or Claude Code in my terminal

Run the command for your client and start a new chat. If Codex prints an OAuth registration notice for hopper-guides, ignore it—the public server is still saved and works without sign-in.

**Codex**

`codex mcp add hopper-guide-test-agents --url https://app.guides.hopperlabs.ai/api/mcp/test-agents`

**Claude Code**

`claude mcp add --transport http hopper-guide-test-agents https://app.guides.hopperlabs.ai/api/mcp/test-agents`

Use my agent in the browser

Choose a guide with browser tools, or use a connector above to work from your own chat.

Open the tool-enabled reader

### Try the connection

`Use the Hopper Guides connector to open the Test which agent does best guide (ID test-agents). What should I have ready before the first step?`

Look for a HopperLabs tool call in your chat, followed by the guide or source it returned. [View connector information](https://app.guides.hopperlabs.ai/api/mcp/test-agents)

---

## Agent & connector discovery

- **Guide index (`llms.txt`):** https://guides.hopperlabs.ai/llms.txt
- **All connectors, URLs & CLI commands (`connectors.json`):** https://guides.hopperlabs.ai/connectors.json
- **Step-by-step setup for 15 clients:** https://guides.hopperlabs.ai/agent-setup.md
- **Use directly in a WebMCP browser tab (no install):** https://guides.hopperlabs.ai/test-agents/?webmcp=1 (registers `list_guides`, `list_connectors`, `get_connection_instructions`, `read_guide_page`)
- **Install public remote MCP (no sign-in):**
  - All guides (`hopper-guides`): `https://app.guides.hopperlabs.ai/api/mcp`
  - Make a guide (`hopper-guide-makeaguide`): `https://app.guides.hopperlabs.ai/api/mcp/makeaguide`
  - Turn a subject into a graph (`hopper-guide-graph-a-subject`): `https://app.guides.hopperlabs.ai/api/mcp/graph-a-subject`
  - Design tools an agent uses well (`hopper-guide-design-tools`): `https://app.guides.hopperlabs.ai/api/mcp/design-tools`
  - Give your product a connector (`hopper-guide-add-a-connector`): `https://app.guides.hopperlabs.ai/api/mcp/add-a-connector`
  - Write a skill (`hopper-guide-write-a-skill`): `https://app.guides.hopperlabs.ai/api/mcp/write-a-skill`
  - Test which agent does best (`hopper-guide-test-agents`): `https://app.guides.hopperlabs.ai/api/mcp/test-agents`
  - Claude Code: `claude mcp add --transport http hopper-guides https://app.guides.hopperlabs.ai/api/mcp`
  - Codex: `codex mcp add hopper-guides --url https://app.guides.hopperlabs.ai/api/mcp`
