Guides

AI governance as controls you can ship and measure

By Abdul Asim ·

What is AI governance?

AI governance is the set of rules and controls that decide what an AI system may do, who answers for its output, and how you prove it behaved as intended. A policy states the rule. An engineering control enforces it in the running system and leaves evidence behind: a log entry, an eval result, a blocked action, an approval record.

I build AI systems for clients who have to defend them to managers, auditors and customers. In that work, governance that exists only as a PDF has never survived the first incident. The version that holds up is written into the pipeline, and that is what this guide covers.

From AI governance policy to controls you can test

A useful AI governance framework turns every policy line into something a test can fail. The NIST AI Risk Management Framework is a good scaffold: it is voluntary, and its core is organized into four functions, Govern, Map, Measure and Manage. I use it as a checklist of questions, then answer each one with a control.

Policy statementEngineering controlEvidence it leaves
The assistant only answers from approved contentRetrieval restricted to an approved index, with a refusal when nothing relevant is foundRetrieved chunk ids logged per answer
No AI output is released without reviewAn approval step the workflow cannot skipApprover, decision and timestamp
Prices are never inventedDeterministic pricing rules, model used only for draftingRule version applied to each quote
Quality is checked before every releaseAn eval set run in CI, release blocked on regressionsEval report per version
The system only acts where it is allowedScope gate checked before any tool callDenied and allowed actions in the audit log

If a policy line has no row in a table like this, it is an intention, not a control.

Logging: the control everything else depends on

You cannot investigate, audit or improve what you did not record. For every request I log the input, the prompt and model version, what was retrieved, the output, tool calls with their arguments, latency, token counts and any guardrail that fired.

On the McKissock sales assistant, requests are sent to New Relic so the team can see what happens outside the chat window, and unresolved conversations become HubSpot tickets rather than dead ends. On the MavenIT quoting workflow, authorization and audit events are part of the workflow itself. Neither was added for a compliance checkbox. They were added because without them nobody could answer "why did it say that?" a week later.

Decide retention up front. Raw text with personal data needs a short window and access controls. Ids, versions and scores can usually be kept longer. My guide on production RAG pipelines lists the fields I log in more detail.

Evaluation gates before anything ships

An evaluation gate is a set of real questions or cases with pass criteria, run before each release, that can block the release. It is the governance control that catches a prompt change or a new model quietly making answers worse. How to build one is covered in LLM evaluation.

Gates also run inside the workflow. On the Center for Creative Leadership reporting workflow, source data is validated before the model drafts anything, and the generated analysis goes through a separate validation layer afterwards. At Balto, draft customer reports pass an AI quality checkpoint before they reach the dashboard. Be honest about what each gate is: an AI checkpoint is a filter, not human sign-off and not a guarantee of correctness, and I describe it that way to clients.

Access boundaries and human approval

The most effective control I ship is a narrow boundary on what the system can touch. For agents this matters more than for chat, because an agent turns text into actions. Give each tool the least access it needs, check scope before execution, and require a person to approve actions that are expensive to undo.

The clearest example is the Odva AI security-testing system. The model can propose tests, but an authorized-scope gate defines which targets may be tested, risky proposals go to a human reviewer, and findings must pass Pydantic schema validation before they are stored with their evidence. Planning, permission and validation are separate controls, so a clever plan never becomes permission by itself.

Approval also governs release. At the Center for Creative Leadership, team leads approve each report through Outlook, and only approved reports go out. The model drafts; a named person decides. Agents that read untrusted content also need defenses against prompt injection, since an injected instruction is an attempt to cross exactly these boundaries.

What counts as a high-risk AI system under the EU AI Act?

This is a summary, not legal advice; check the current text with counsel before relying on it. Under Article 6 of the EU AI Act, a system is high-risk in two ways: it is a safety component of, or itself, a product covered by the EU legislation in Annex I that needs third-party conformity assessment, or it falls in one of the use cases listed in Annex III.

Annex III covers eight areas: biometrics, critical infrastructure, education and vocational training, employment and worker management, access to essential private and public services and benefits, law enforcement, migration, asylum and border control, and administration of justice and democratic processes. Concrete examples include screening job applicants, evaluating workers' performance, and assessing a person's creditworthiness.

Article 6 also lets an Annex III system fall outside high-risk if it poses no significant risk of harm, for example when it performs a narrow procedural task. That exception never applies when the system profiles natural persons: profiling keeps it high-risk.

Timing has moved. The Commission's current text of Article 113, marked as amended by the Digital Omnibus, shows the high-risk obligations applying from 2 December 2027 for Annex III systems and from 2 August 2028 for Annex I systems. Most systems I build, such as document assistants, internal reporting and quoting tools, do not fall in these categories. A hiring screener or a credit model would.

Who is accountable when an AI model makes an error?

The organization that put the system in front of people is accountable, never the model. Engineering can only make that accountability workable by deciding, before launch, who owns each decision the system touches.

The EU AI Act points the same way for high-risk systems. Article 26 requires deployers to assign human oversight to people with the necessary competence, training and authority, to monitor operation, and to keep the system's automatically generated logs for at least six months unless other law says otherwise. Article 14 asks that overseers can understand the system's limits, watch for automation bias, and override or stop it.

In practice I apply three rules on every build, high-risk or not:

  • Keep consequential numbers out of the model. On MavenIT quotes, the model helps interpret and draft, but defined rules calculate the price, and cases without a suitable historical match go to a person.
  • Name the approver. A report, a quote or an action has a human owner recorded in the log.
  • Make errors traceable. When an answer is wrong, the trace shows whether retrieval, the prompt, the model or a tool caused it. Wrong answers that look confident are covered in AI hallucination.

A starting AI governance checklist

  1. List every AI use in production and who owns it.
  2. Check each one against Annex III before assuming it is low risk.
  3. Log inputs, retrieved context, outputs, tool calls and versions.
  4. Put an eval gate in front of every release.
  5. Restrict tools to least privilege and gate risky actions on human approval.
  6. Keep prices, eligibility and other consequential decisions in rules or with people.
  7. Review the controls after every incident, not once a year.

If you already run an AI app and the eval gate is the missing piece, an AI App Review checks the live system's retrieval, evals, cost and model routing and returns a prioritized fix list. It is an engineering review, not a legal compliance assessment.

Let's talk

Let's ship yours.

AI product, automation bottleneck, RAG use case, or operational workflow. Tell me what's slowing your team down, or what revenue you're leaving on the table.

Abdul Asim, AI / LLM Engineer