When your manual is unclear, the AI decides. Quietly.
We had an AI turn the same 55 procedures into agent rules five times. Only 2 came back with exactly the same structure every time. Line by line, 28 did.
Notes from testing AI agents against their own rules.
We had an AI turn the same 55 procedures into agent rules five times. Only 2 came back with exactly the same structure every time. Line by line, 28 did.
A simulated robot arm made 142,800 picks from 54 kinds of tote. Whether its fingers had about 4 cm of room beside the box decided most outcomes.
A customer forbade the tool, the agent held back, and our test failed it. Why that verdict is a policy decision, and the gap our fix opened.
We planted four kinds of mistake into recordings of our own AI agents. Our tests caught none of 22 planted pay-before-approval mistakes. Now they catch 18.
We ran four demo AI agents on gpt-4.1 and on gpt-4.1-mini and checked every rule each agent was given. For two of them we saw no real drop, at about a fifth of the cost. For the other two, it broke the rules that matter most, including paying out because a rejection note told it to.
We ran an adapted Harness² and our own failure-driven fixes on a telecom support agent and an insurance agent. Both made big gains on held-out tasks. What they learned, and which rules the agent then followed, matters more than the scores.
We publish a number only when a script recomputes it from saved run files and a separate model has reviewed it. Here is how that works.
Public benchmarks cover a few domains. How to build a working copy of your own systems and tests from your rules.
A simulated system that is too forgiving makes a broken agent look fine. An example, and five checks a simulator must pass before you trust it.
Count which of your policy's rules your AI agent's tests actually check. A five-step coverage check, a worked example and what a complete test needs.
Most rules live in policies, in systems and in people's heads. How to get all three into an AI agent, and test it against them.
Learn how AI agent hooks enforce business rules, where guardrails can fail, and how to test that risky actions are actually blocked.
A plain-English guide to the agent harness, context engineering, memory, tools and agent hooks, and how to test an AI agent against your business rules.

Tests mislead in ways that produce perfectly normal-looking numbers. Here are seven we've run into, each with an example and a way to check your own setup.