AI that computes before it speaks: making finance AI safe for the CFO
Finance teams have one reason they do not trust AI: it invents numbers. Here is how to keep AI useful without letting it near the math.
Most finance teams have one reason they do not trust AI. It invents numbers. A dashboard looks confident, but the figure it quotes does not match the general ledger. The explanation sounds right, but the math is wrong. In finance, that is not a bug. It is a dealbreaker.
The problem is not the model. The problem is the order of operations. Most finance AI tools ask the language model to both calculate and explain. That is the wrong split. A large language model is good at narrative, context, and format. It is not a calculator. When it acts as both, it can produce a beautiful sentence built on a wrong number.
Compute first, narrate second
The safe pattern is deterministic first. Every figure comes from SQL and Python against your own ERPNext data. The cash balance, the gross margin, the DSO, the anomaly flag: each one is computed before any model sees it. The language model then receives the computed result and writes the explanation, the risk context, and the recommendation around it.
This means the AI cannot change the number. It can only describe it. If the LLM fails, times out, or is disabled, the system still returns a correct, formatted answer using deterministic templates. The AI is an enhancement, not a dependency.
A governance gate on every action
Computing the number is only half the safety story. The other half is deciding what the agent is allowed to do with it. We classify every action as green, amber, or red.
- Green: read-only answers and safe outputs the agent can return automatically.
- Amber: actions that write to the ledger or change state, which need explicit human confirmation.
- Red: high-risk or sensitive operations that the agent can flag but never execute.
The gate is not hard-coded. It is data-driven. A CFO can make a rule stricter for a subsidiary, relax it for a low-value cost center, or require two roles for a journal-entry suggestion. The agent does not override the rule. The rule overrides the agent.
Log everything, delete almost nothing
Every invocation, input, output, and governance decision is written to an immutable audit log. An auditor can see which user asked what, which agent ran, which numbers were returned, and whether the action was green, amber, or red. The log is deletable only by a System Manager, and even then the trace exists for compliance purposes.
This is the part that changes procurement conversations. A CFO can now say the AI is not a black box. It has a paper trail. That is what makes it admissible in an audit, a board meeting, or a regulator review.
What this looks like in practice
At 06:00, a scheduled agent runs a morning brief. It computes a 13-week cash flow forecast from actual receivables, payables, and historical patterns. It flags three invoices that look anomalous against the last six months. It scores period-close risk based on open tasks and past due dates. Then it asks the language model to turn those facts into a one-page CFO digest.
If the forecast says the company will be short in week seven, that number came from the ledger, not the model. If the agent recommends a supplier payment delay, that recommendation is amber: the CFO confirms it. If the model hallucinates a trend that does not exist, the underlying computation is still correct and the explanation can be rejected without touching the data.
The trust equation
Finance AI will only get adopted when it stops asking finance teams to believe. Belief is not a control. Deterministic computation, governance gates, and immutable logs are. That is the standard we build to: AI you can put in front of an auditor.
Want to see a governed CFO brief running on your own ERPNext data? Book a Coale Finance demo and we will show you the first one in under an hour.