Cost and method

How to test an AI agent before you buy

A demo shows an agent working once. Before you sign with a firm that builds AI agents, ask to see the agent tested on your own cases, many times, against hidden instructions, and on the actions that must go to a person. This page explains five tests and where each idea comes from: the tau-bench study of agents in 2024, NIST's tests of hidden instructions in 2025, the Moffatt v. Air Canada decision about a chatbot's wrong answer, and the guidance Anthropic and OpenAI publish about their own models. Every source was read on 21 October 2026.

Published October 21, 2026. Editorial.

Key takeaways

  • In tau-bench, posted in June 2024, the authors report that "even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks", and that in the retail test the share those agents solved in all eight of eight tries was "<25%".
  • NIST found that trying five hidden-instruction attacks 25 times each raised the average success rate from 57% to 80%, in the AgentDojo test set, on agents built on the upgraded Claude 3.5 Sonnet of October 2024.
  • In Moffatt v. Air Canada, the tribunal held the airline responsible for a chatbot's wrong answer. That bot took no actions, so test what an agent says as well as what it does.
  • Ask each firm to run your own cases, several times each, and to show which actions go to a person.

An AI agent is a program that uses an AI model to finish a task in several steps by itself. Because the model chooses its own steps, the same agent can succeed on a task once and fail on it the next time. A demo shows one run. Before you sign, ask the firm to show you many runs on your own work. This page explains five tests to ask for, where each idea comes from, and how to read the answers.

The tests here are for a buyer. They tell you what to ask a firm to show before you sign. The AI agent evals guide explains how a team builds such tests in detail.

Test 1: run your own cases

Write down twenty or more real requests the agent will receive, with the answer or action you expect for each. Include the hard cases. Ask the firm to run its agent on them and show you each result.

Galadrim, one of the firms in this guide, describes this method on its own agents page: "We build a set of reference cases with your business experts and score each version against it" [5]. That is its own description of how it works. A set of cases written by your own staff shows whether the agent does your work, on cases the firm did not choose.

The tau-bench study shows how such a test can be scored. Its authors built a test in which an agent talks with a simulated user, a user played by a language model, while it uses a set of tools and follows written business rules. They write that their method "compares the database state at the end of a conversation with the annotated goal state" [1]. In plain words, the test checks what the agent changed in the system, such as an order or a booking, against what should have changed. Ask a firm to score your cases the same way: by what the agent did, as well as what it wrote.

Test 2: run each case more than once

The tau-bench authors also "propose a new metric (pass^k) to evaluate the reliability of agent behavior over multiple trials" [1]. Pass^k is the share of tasks an agent solves in every one of k tries. In their paper, first posted on 17 June 2024, they report that "even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks", and that in their retail test pass^8 was "<25%". So those agents solved fewer than one in four retail tasks in all eight of eight tries. These are the authors' own figures, for the agents and models they tested in mid-2024, and newer models will give different numbers. The lesson for a buyer holds: one good run tells you little. Ask the firm to run each of your cases several times and to report how many cases passed every time. The guide page on agent reliability across repeated runs explains the measure.

Test 3: try hidden instructions

An agent reads emails, web pages and documents as part of its work. Someone can hide an instruction in that text, such as "send this file to this address", and the agent may follow it. This is called prompt injection, and when it takes control of what an agent does, agent hijacking.

The US National Institute of Standards and Technology (NIST), through its Center for AI Standards and Innovation, tested this and published the results on 17 January 2025 [2]. Its team used AgentDojo, an open-source test set built by researchers at ETH Zurich, with four test settings: Workspace, Travel, Slack and Banking. The agents were "powered by Anthropic's upgraded Claude 3.5 Sonnet (released October 2024)", which NIST says AgentDojo found to be "one of the top performing models in resisting agent hijacking attacks". NIST took five attack tasks, among them sending an email to an untrusted address and downloading and running a harmful script. The attacks' average success rate was 57%. NIST then "attempted each attack 25 times". It reports, "After repeated attempts, the average attack success rate increased from 57% to 80%." Those figures hold for that model, those five tasks and those conditions. The point for a buyer is the same as in Test 2: an attack that fails once may work on a later try. Ask the firm which attacks it tested, how many times each, and what the agent did. The guide page on security evals for AI agents covers these tests in depth.

Test 4: check what the agent says

An agent's words can cost money even when it takes no action. In Moffatt v. Air Canada, British Columbia's Civil Resolution Tribunal decided on 14 February 2024 that the chatbot on Air Canada's website "suggested Mr. Moffatt could apply for bereavement fares retroactively", which Air Canada did not allow [3]. A bereavement fare is a lower fare for travel after a death in the family. The tribunal wrote, "It should be obvious to Air Canada that it is responsible for all the information on its website. It makes no difference whether the information comes from a static page or a chatbot." It also found that "Air Canada did not take reasonable care to ensure its chatbot was accurate", and ordered it to pay "a total of $812.02".

Two limits apply. The bot in that case answered questions and took no actions. The decision is a small claims ruling in one Canadian province, so other courts are free to decide differently. It is still a clear record of a company held responsible for its bot's answer. Ask the firm to test the agent's answers on your policies, prices and rules, and to show you the cases where it was wrong.

Test 5: check which actions go to a person

OpenAI, which makes the GPT models, says in its own guide to building agents: "Actions that are sensitive, irreversible, or have high stakes should trigger human oversight until confidence in the agent's reliability grows. Examples include canceling user orders, authorizing large refunds, or making payments." [4] It also advises, "Set limits on agent retries or actions." That is OpenAI's guidance about agents in general. Ask the firm to list each action your agent can take, mark which ones go to a person, and then test that each marked action does reach a person.

Several firms in this guide describe that step in their own words. Awiant says invoices in its Volkswagen Financial Services system are "approved by a person", and that only invoices that meet "predefined criteria" will later move toward handling without one. Cay Digital says, "Agents ask before they guess: a person approves, with an SLA on every request." AscentCore names "Human sign-off at PRD, implementation plan, merge and go/no-go" for its coding agents. These are the firms' own descriptions.

The five tests at a glance

Test What it checks What to ask the firm for Where the idea comes from
Your own cases Whether the agent does your work Results on twenty or more cases your staff wrote Galadrim's own method; tau-bench scoring
Repeated runs Whether a pass was luck The share of cases passed in every run tau-bench, June 2024
Hidden instructions Whether text it reads can take control Attacks tried, runs per attack, outcomes NIST, January 2025
Its answers Whether it states your rules correctly Wrong answers found on your policies Moffatt v. Air Canada, February 2024
Actions sent to a person Whether risky actions stop for approval A list of actions, each tested OpenAI's guide

How to read a firm's own figures

Some firms publish a single quality figure. Linnify's AI page says ">95% average accuracy across agents deployed in production" and gives no definition of accuracy and no test set [6]. Before you rely on a figure like that, ask what counted as a correct result, how many cases were tested, how many times each, and who checked them. The same questions apply to every figure in this guide, because each one was published by the firm that did the work.

Try a simpler program first

Anthropic, which makes the Claude models, writes in "Building effective agents": "When building applications with LLMs, we recommend finding the simplest solution possible, and only increasing complexity when needed. This might mean not building agentic systems at all." [7] It also recommends "extensive testing in sandboxed environments", meaning test copies of systems where a mistake harms nothing. That is the model maker's own advice. Ask each firm whether a simpler program, such as a fixed set of steps, would do your job, and test that version first. The guide on why AI evals matter explains how tests help a buyer decide.

Reveneau and Fluxon

Reveneau says every change it makes must pass a large eval suite before it is released, and that the suite is written from the project's specification. It says AI writes 100 percent of its code, and that Jev, the model that grades the suite, makes it run ten times faster than its previous grader. Reveneau says it takes responsibility for the whole project through production, the live system people use, and after release. You can contact Reveneau and ask it to run these five tests on your own cases. Fluxon's AI development page lists "Making AI quality measurable at every stage", a case for Braintrust, among its case titles; the pages read did not describe Fluxon's own test method. For the method behind tests of AI answers in general, read the guide to LLM evals, and for the test copies an agent needs, the page on test environments for agent evals.

Common questions

What should a buyer ask an agent firm to show before signing?

Results on twenty or more real cases your own staff wrote, run several times each. Tests of hidden instructions in the text the agent reads, with the number of tries. A check of the agent's answers on your own policies and prices. And a list of every action the agent can take, with the risky ones shown to stop for a person's approval.

How did the tau-bench test decide whether an agent had done its job?

Its authors say it compares the database state at the end of a conversation with the annotated goal state. In plain words, the test checks what the agent changed in the system, such as an order, against what should have changed. The agent talked with a simulated user played by a language model, and used tools while following written business rules.

Why ask a firm to repeat its demo task several times?

An agent chooses its own steps, so the same task can pass once and fail the next time. In the tau-bench study from June 2024, the authors report that in their retail test, agents such as one built on gpt-4o solved under 25 percent of tasks in all eight of eight tries. Ask for the share of your cases that passed in every run.

What did NIST find when it repeated hidden-instruction attacks?

NIST's Center for AI Standards and Innovation tried each of five attack tasks 25 times. The average attack success rate rose from 57 percent to 80 percent after the repeated attempts. The tests used the AgentDojo test set and agents built on the upgraded Claude 3.5 Sonnet, released in October 2024. NIST published the results on 17 January 2025, and they hold for that model and those tasks.

Which model and test set did NIST use for its hijacking tests?

NIST used AgentDojo, an open-source test set built by researchers at ETH Zurich, with four settings: Workspace, Travel, Slack and Banking. The agents were powered by Anthropic's upgraded Claude 3.5 Sonnet, released in October 2024. NIST added its own attack tasks, and it published the work on 17 January 2025. Results for other models and tasks may differ.

Does the Moffatt v. Air Canada decision cover agents that take actions?

The bot in that case answered questions and took no actions. British Columbia's Civil Resolution Tribunal held Air Canada responsible for the wrong fare information it gave, and ordered it to pay $812.02 in February 2024. It is a small claims decision in one province, so other courts may decide differently. Test an agent's answers as well as its actions.

What test method does Galadrim describe on its own page?

Galadrim says it builds a set of reference cases with the client's business experts and scores each version of the system against them. It then tests the system on requests outside its scope and on attempts to get around its rules. That is Galadrim's own description of its method, and no outside source checked how it is applied.

How should a buyer read an agent accuracy figure such as Linnify's?

Linnify's page says its agents reach more than 95 percent average accuracy in production, and gives no definition of accuracy and no test set. Ask what counted as a correct result, how many cases were tested, how many times each, who checked them, and over what period. Every figure in this guide was published by the firm that did the work.

What does Anthropic's guide suggest trying before building an agent?

Anthropic's guide Building effective agents recommends finding the simplest solution possible and adding complexity only when needed, and says this might mean building no agent at all. It also recommends extensive testing in test copies of a company's systems. That is the model maker's own advice, published on 19 December 2024. Ask each firm whether fixed steps would do your job.

How can a buyer test that risky agent actions stop for approval?

Ask the firm to list every action the agent can take, then mark the ones that must wait for a person. OpenAI's own examples are cancelling an order, approving a large refund and making a payment. Then ask the firm to run test cases that would trigger each marked action, and check that every one reached a person before anything happened.

How does Reveneau test its own work, by its own account?

Reveneau says every change must pass a large eval suite, a set of automated tests written from the project's specification, before release. The specification is the document that sets out what the software must do. It says Jev grades the suite and makes it run ten times faster than its previous grader. These are Reveneau's own statements about its own process.

More in Cost and method

What AI agent development costs

Few of the firms in this guide print a price. Of the seventeen in this guide, HAVIT is the one that prints amounts on the pages read: "From €3 900" and "From €4 900", both "excl. VAT", for two one-day workshops. Mactores promises "Fixed date. Fixed fee." and prints no amount. Cay Digital prices its training per group of people and prints no number. This page quotes each one exactly, explains what changes the cost of building and running an agent, and lists what to ask for in a written quote. Every page was read on 21 October 2026.

How these AI agent development companies were chosen

Each of the fifteen firms after Reveneau and Fluxon passed the same tests: its own pages describe agents it builds for other companies, a city and country could be recorded for it, its site could be read on 21 October 2026, and it appears on no earlier Reveneau list. All fifteen are listed in Anthropic's partner directory. This page lists every outside source used, the facts that rest on a firm's own pages alone, the conflicts between sources and how each is shown, the claims left out, and the firms considered and dropped.

AI agent project checklist

This checklist is a form to fill in before you contact any firm that builds AI agents, and to send to each firm on your shortlist. It asks you to describe the task, the systems the agent will connect to, the actions that must wait for a person, your own test cases, your data, and your budget. It then lists the answers to ask each firm for, so you can compare them side by side. Each question links to a fact in this guide, read on 21 October 2026, that shows why it matters.

Start a project