AgentClash

Agent testing

AI agent testing that starts from real failures

AI agent testing should feel closer to software testing than prompt tweaking. AgentClash turns traces, golden datasets, and escaped failures into repeatable tests with baseline comparisons.

illustrative example
gate: pass

Candidate

92correct patch, low cost

Baseline

88stable reference run

Control

73missed edge case

replay timeline

1loaded task inputs and tool policy
2ran sandbox actions and captured artifacts
3scored trajectory and validator evidence
4attached scorecard and release verdict

ci verdict

Candidate clears release gate

Correctness improved, latency within budget, and required artifacts were preserved for review.

agentclash run create --follow

Evidence

What production-grade agent testing covers

Testing agents means checking behavior across the whole run, including tool calls, retrieval, cost, latency, and artifacts.

Use deterministic hidden tests for expression behavior and a judge for configured qualitative dimensions.

Turn observed failures into regression cases and rerun them after changes.

How do deterministic checks, judges and regression cases fit together?

Check that -7/2 returns -3 with a deterministic test, use a judge for explanation quality, and retain a failure as a regression case.

Judges vary and tests only cover asserted behavior

Workflow

Test loop

Assert behavior

Use deterministic hidden tests for expression behavior and a judge for configured qualitative dimensions.

Retain failures

Turn observed failures into regression cases and rerun them after changes.

FAQ

AI agent testing FAQ

Is AI agent testing different from LLM testing?

Yes. LLM testing often means scoring one response. AI agent testing evaluates plans, tool calls, artifacts, recovery behavior, and whether the task actually finished.

Can non-ML engineers review agent test failures?

Yes. Replay timelines, artifacts, and scorecards are designed for reviewers who need to understand what changed without reading raw model traces alone.

How do we keep tests from getting stale?

Promote escaped production failures into datasets, challenge packs, and regression suites so the same mistake stays covered after the next model swap.