IT Brief New Zealand - Technology news for CIOs & IT decision-makers
New Zealand
Let the model propose, let the rules decide

Let the model propose, let the rules decide

Tue, 24th Nov 2026 (Today)
Ragnar Láki
RAGNAR LÁKI Co-founder and CTO Ahead

Every company that puts an AI agent to work hands it a set of rules to respect. Most of those rules were never written for a machine. They sit in contracts, policy documents, control frameworks, regulations and the judgement of people who have done the job for years. Agents are fast and capable. The question every board, auditor and regulator will ask is simple: how do we know they stayed inside the lines?

In many deployments today, the honest answer is that we find out afterwards. Agents act, the logs record what they did, and someone reviews the logs when something looks wrong. That is how we have governed software and people for a long time, and it worked because people are slow. An agent that acts thousands of times a day turns after-the-fact review into archaeology.

What process mining taught us

Process mining deserves credit here. It showed companies, with evidence from their own systems, how work actually flows. It made the gap between the designed process and the real one visible, and it gave operations teams a shared picture to work from.

It was built to look backwards. It reconstructs what happened from event logs and reports where reality departed from the model. For a human-paced operation, that is enough: find the deviation, fix the process, check again next quarter. When software agents take consequential actions in real time, the deviation has already cost you by the time the report arrives.

Rules and records in the same place

The deeper problem is where the rules live. For twenty years, two disciplines have grown up side by side. Process mining describes what happens. Ontologies and knowledge graphs describe what things are, how they relate and which obligations apply to them. Companies that want both run two stacks and reconcile them by hand.

The questions that matter most need both at once. Is this payment compliant? That depends on the contract and on the transaction. Does this control work? That depends on the control's definition and on the evidence. Can this agent raise a customer's credit limit? That depends on policy, on the customer's current state and on who approved what last week.

If the rules live in documents and the records live in operational systems, every one of those answers requires a person, or a model, to join them on the fly. That join is where errors hide.

The model proposes

Language models are remarkably good at reading a situation and suggesting what to do. I want them doing that. I do not want them deciding whether an action is allowed.

Whether an action is allowed should be a deterministic question. Given the company's rules and the current state of everything the action touches, the same action should get the same answer every time, and the answer should be explainable by pointing to a specific rule and a specific record. A model that has read the policy and feels confident is weaker, however good the model is.

Retrieval helps, and it is worth doing. Giving an agent the right policy text improves its judgement. The final call still rests on probabilistic reasoning, and the auditor is left with a transcript of that reasoning, which is hard to verify.

So the architecture I believe in separates three roles. The model proposes. A rules layer evaluates the proposal against explicit rules and explicit state before anything executes. The operational system or agent executes only what passed. Every action, human or agentic, is recorded together with the rules and the state it was checked against.

Test the future before it happens

The most useful thing a rules layer can do is evaluate actions that have not happened yet. Take the proposed action, apply it to a copy of the current state, and ask which next states the rules allow. If the outcome breaks a contract term, a segregation-of-duties control or a regulatory deadline, you know before the money moves or the shipment leaves.

That one step changes the role of compliance. Compliance becomes a gate in front of the action, and audit becomes a lookup. Regulators get what frameworks such as NIS2 and DORA increasingly ask for: evidence that operations stay under control, produced as a by-product of running them.

What leaders can do now

Four steps get a company most of the way, with the tools most already have.

First, write the rules that matter in a form a machine can check. Start with the handful of controls and contract terms where a wrong automated action would hurt most.

Second, know the current state of your key objects directly. Orders, assets, suppliers, controls and people each have a state and a set of allowed next steps. Reconstructing that state from logs after the fact is too slow for agents.

Third, put the rules and the records in the same model, so that checking one against the other becomes a query.

Fourth, require every automated action to leave a record of what it was checked against. If you cannot answer "why was this allowed?" in seconds, you are not ready to scale.

Agents will do more and more of the work inside companies. The ones that scale them safely will be those whose rules are explicit, whose state is current and whose checks run before the action. Let the model propose. Let the rules decide.