WhoBuilt

How to Test AI Agents When No Benchmark Exists

Oct 22, 2026· 20 min· 1 views·Watch on YouTube

Speaker

Nathanael Weill, an AI engineer at Air Canada, explains how his team builds evaluations for business-specific AI agents without public benchmarks, drawing on his earlier RAG work and current contract analysis project.

Why agent evaluation is hard

At Air Canada, Weill’s team builds AI solutions for different business units, but each task is specific and lacks a public benchmark. The engineers also have limited access to busy domain experts, making it difficult to grade agent outputs.

How a test set sped up RAG work

In a telecommunications Q&A project, experts could only review about one solution trial a week, and their preferences sometimes differed. The team reversed the task: generate questions from known documents, then check whether the agent retrieved the source material. This raised evaluation from one trial a week to dozens a day and helped the team focus on embeddings, chunking, and BM25 settings.

Five ways to create contract tests

For Air Canada’s supplier contract analysis agent, Weill describes testing with past contract decisions, rule-based generated clauses, removed clauses, harmless document changes, and contract templates. Missing original contract versions made the first method unusable. The team generated 275 rule-based tests, and clause removal exposed clauses the agent often missed.

Prefer checks with known answers

Changing a supplier name or address, reordering clauses, and rerunning the same contract can test whether results stay consistent. Weill says code-based checks were more reliable for this work than LLM-as-a-judge, which produced more noise than the agent and required its own difficult prompt and harness design.

Use expert feedback to improve tests

For other agent tasks, Weill suggests checking known endpoint sequences or generating inputs with answers that can be verified. When the original design could not be evaluated, the team sometimes reshaped the solution around what it could test. Expert feedback helped them create better tests and prompts; the tests were a development aid, not a product go/no-go decision.

Takeaways

  • If you know the expected answer, generate inputs that let you check whether the agent finds it.
  • Automate code-based checks to increase evaluation frequency and reduce dependence on scarce expert time.
  • Test harmless changes, such as supplier details or clause order, for consistent outputs.
  • Use real templates and domain rules to generate contract cases with known outcomes.
  • Treat synthetic tests as a way to guide development, then use expert feedback to improve the tests.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • works at
    “I work at Air Canada.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    Vector RAG: Can generate questions from a source page, then evaluate an agent by comparing its retrieved answer with that page.
    “We start with a page and ask an LLM to write a question about it.”
    YouTube
    Unverified1 source· Talk
  • metric
    Vector RAG: Evaluation increased from one a week to dozens a day.
    “we went from one evaluation a week to dozens a day.”
    YouTube
    Unverified1 source· Talk
  • feature
    Air Canada: A contract analysis agent project was intended to identify clauses, find supporting documents, write amendments, and classify whether to keep them.
    “the agent has four steps. We need to spot the clause in the contract”
    YouTube
    Unverified1 source· Talk
  • metric
    Air Canada: The team generated 275 tests from rules and clauses.
    “we generated 275 tests that we could run and knew the answer to.”
    YouTube
    Unverified1 source· Talk
  • metric
    Air Canada: After four weeks to get feedback, the team could run a script and get evaluation results in five minutes.
    “it took four weeks to get feedback. We can then run a script and get the evaluation back in five minutes.”
    YouTube
    Unverified1 source· Talk
  • feature
    LLM-as-a-judge: Produced more noise than the agent being developed in this project.
    “We got much more noise from the LLM judge than from the agent we're building.”
    YouTube
    Unverified1 source· Talk

Related talks