An AI governance checklist for engineering teams
Governance sounds like paperwork. For a team shipping LLM features it comes down to a handful of questions you can answer in a day.
Demos always work. Here is how to build an evaluation setup that tells you the truth about a model feature, before and after you ship it.
The first version of any LLM feature looks great. You try ten examples, nine are good, the tenth is funny. You ship. Three weeks later someone notices that it quietly gets one kind of question wrong, and has done since the day you changed the prompt.
Nothing exotic happened. You tested by looking, and looking does not scale. A few habits fix most of it.
The best test set is made of things users actually asked, with the answer you would have wanted. Take a couple of hundred from real traffic (with the privacy rules your company needs: remove or replace personal data first), and add every bug report as it arrives. After a few months you have a set that reflects what really goes wrong, not what you imagined would.
Keep it in version control, next to the prompt. A prompt change and a test set change should be reviewable in the same pull request.
"Is the answer good?" is too vague to test. Break it into checks you can state:
Anything you can check with plain code, check with plain code. It is fast, free and does not drift.
Some qualities (tone, helpfulness, whether a summary is faithful) are hard to test without a reader. A second model can act as the grader. It works well enough to be useful and badly enough to be dangerous if you trust it blindly. Known problems:
So calibrate. Have a person grade fifty examples, compare with the grader, and look at the disagreements. Keep a small set of cases a human reviews every time. And use the grader to catch big regressions, not to rank two versions that differ by half a point.
Your results depend on the model version, the prompt, the retrieval index, the tool definitions and the sampling settings. Write them all down for every run. If your provider offers dated model versions, use one and move on purpose, running your set first. If they change the model behind a name, you will only find out by measuring, so run the set on a schedule, not only when you deploy.
Outputs are one thing. Cost, latency, number of tool calls and how often the model needed a retry tell you about the rest. A new prompt that is slightly more accurate and uses three times the tokens is a decision, not a free win.
Sample real conversations weekly and have a person read twenty of them. Watch for signals that need no grader: users rephrasing the same question, abandoning a flow, pressing the thumbs-down, asking for a human. Turn each failure into a test case. This is the loop that makes the set useful.
For agents that act, also keep a record of what they did, in order, which you can read afterwards. A faithful trace of tool calls is how you find out that the answer was fine and the action was not. We say more about that in an AI governance checklist for engineering teams.
If you do nothing else: a hundred real cases in the repository, checks you can run with one command, a run on every prompt change, and twenty conversations read by a person each week. That is a day of work, and it turns "it seemed fine" into something you can argue about with data.