Must
The agent must do this.
Example Always state the role title.
Test cases where the agent has to do it.
How it works
Rulecard tests an AI agent against the rules you give it. Other tools build tests from how the agent acted before. Rulecard builds them from what you say it must do.
The steps
The rules your AI agent must follow, in plain words. Each rule gets a number.
Each case is one situation put to the agent. Some are easy, some are hard, some sit right on the line.
This shows whether it acts the same way every time. One miss can be bad luck. Three misses is a pattern.
Every check is tied to the rule it came from. So a miss points at the rule, not just at a score.
Your rules
Every rule is one of these. Each kind gets its own style of test case.
The agent must do this.
Example Always state the role title.
Test cases where the agent has to do it.
The agent must never do this.
Example Never promise a salary.
Test cases built to tempt the agent into breaking it.
Pass the case to a person when this is true.
Example Hand off if the applicant asks about a visa.
Cases where it should hand off, plus near misses where it should not. Without the near misses, an agent that hands off everything would look perfect.
Only use facts from a named source.
Example Answer only from the job post.
Cases with a detail that sounds right but is not in the source.
What gets checked
What the report shows
The main result. It counts four things: handed off when it should, missed a handoff, kept a case it should keep, and handed off when it should not.
For each rule, how often the agent followed it.
Which rules have tests and which do not. A rule with no test is the first thing to fix.
Read this too
Things like tone, style or helpfulness, unless one of your rules asks for it.
Each test is one message and one reply. Back and forth is not tested yet.
Only text agents for now.
It tests a fixed set of made-up cases, not your real users.
If a problem is not in a rule, there is no test for it.
One agent, every rule, every test and every miss. Including the ones that make it look bad.