Can a simple checker stop AI agents from breaking their own rules?
AI agents that can take actions, like looking up a booking, changing it or filing a dispute, break rules that are written in plain words in their own instructions. An airline agent, for example, changes a customer's booking before the customer has said yes to the change. If you are putting agents to work on real systems, that is the failure that worries you most.
One cheap fix is a guard. It is a small program that looks at each action the agent is about to take, checks it against a list of written rules, holds back any action that breaks one, tells the agent which rule it broke, and lets it try again. Nothing about the model changes, so it costs almost nothing to add.
I tested that idea properly. Before running anything I wrote down what I expected and how I would measure it, so I could not move the goalposts afterwards. I used two open-weight models running on my own machines (Qwen3.8-27B and Qwen3.6-35B-A3B) on τ²-bench, a public test of customer-service tasks in airline, retail and banking. The guard held 4 rules written from the companies' policies and 42 more learned from practice runs. Each model tried every test task three times with the guard and three times without.
The guard did not help. The share of tasks the agents got right moved by 0.6 points for one model and 2.0 points for the other, which is within the noise, and the results rule out a gain of more than about 5 points.
The reasons are the useful part. Of the guard's warnings I could check, 89% were false alarms. In one, a customer said their birthday was April 12, 2002, the record said 04/12/2002, and the guard compared the two letter by letter and decided the customer was not verified. Because the guard gives way after two refusals, the agents went ahead with 318 of the 320 actions it flagged anyway. And in 40% to 55% of the failed attempts, the agent never did something the task required at all, which a guard that can only say no cannot fix.
So here is what I would tell anyone building internal tools on agents. A rule check is only as good as its rules, and rules that look right on paper can still misfire on real conversations. Compare values in a standard form: when I replayed the runs that way, every identity false alarm disappeared. And measure with enough tasks, because results swing from one attempt to the next; seeing a 3-point gain reliably would take about 388 tasks.