CFO Academy guide
How to Build an AI Agent in Finance: A CFO’s Guide to Controls
By Mohamed Chaudry FCCA · Group and Operating CFO · 25 years · $300M+ raised and advised on · 5 exits
You build a finance AI agent by designing the controls before the model. Pick one repetitive, rules-based, documented process with a low blast radius. Fix the data first. Define the inputs, outputs, boundaries and reviewer.
Then apply the control that matters most: code computes every number and the model writes none. Reconcile the data before anything is generated, check each output with a separate auditor step, pass everything through a release gate, and keep a human signing off until errors hold at zero across many runs.
What is an AI agent in finance, and what is it not?
An AI agent in finance is software that uses a large language model to carry out a defined piece of work in steps, such as reading data, deciding which check to run next, drafting an output and handing it on, within boundaries you set. It is more than a chatbot and different from an automation script.
- A chatbot answers the question you type. It has no process, no memory of your controls and no accountability for the result.
- An automation script follows fixed rules exactly. It is reliable and auditable, but it breaks the moment the input changes shape or needs interpretation.
- An agent combines the two: fixed code for everything that must be exact, and a model for the parts that need reading, interpretation or writing.
This guide is the method a finance leader uses to design, control and defend an agent. It is not a coding tutorial. For how individual accountants can use AI day to day, see AI for Accountants. For my own build, with what worked and what did not, see How I Built 55 AI Finance Agents.
Which finance process should your first AI agent handle?
Choose the process before the technology. The right first process passes five tests.
Good first candidates include monthly variance commentary, first-pass review of supplier statements, management pack narrative and covenant compliance checks prepared for internal review. Poor first candidates are anything filed externally, anything involving payments, and anything nobody has written down.
Why does data quality come first?
An agent amplifies whatever data it receives. If the trial balance does not reconcile, the chart of accounts is inconsistent across entities or cost centres are coded differently each month, the agent will produce fluent, confident and wrong output faster than any person could.
Before you design anything, run a short data check on the process you chose:
- Does the source reconcile? Ledger to subledger, subledger to bank, entity totals to the consolidation.
- Is the structure stable? Same accounts, same cost centres and same mappings from one period to the next.
- Is there one source of truth? If two reports give two answers, decide which one the agent uses and why.
- Who owns the data? Name the person who fixes it when it breaks.
Often the data check delivers most of the value on its own. Clean, consistent data makes the manual process faster before any AI is involved.
How do you design a finance AI agent?
Write a one-page design sheet before anyone builds. It should answer four questions in plain language a reviewer or auditor can follow.
- Inputs. Exactly which files, reports or system extracts the agent receives, in what format, and what happens if one is missing.
- Outputs. What the agent produces, for whom, in what format, and what a good output looks like. Keep one approved example.
- Boundaries. What the agent must never do: change source data, post journals, send anything externally, or state a figure that did not come from the calculation layer.
- Review. Who reviews each output, what they check, how long it should take, and who can stop the process.
If you cannot fill in the sheet, the process is not ready for an agent. Go back to the documentation step.
Free CFO Skills Assessment · instant result
Could you defend an AI agent to your auditor today?
A short free assessment covering influence, commercial thinking, cash and AI. Your result shows which gap to close first.
Get my skills score →Free · instant result · built by Mohamed Chaudry FCCA, founder of The CFO Academy
Which AI controls in finance matter most?
The control that matters most is simple to state: code computes every number and the model writes none. All figures are calculated by deterministic code from reconciled source data. The model receives those figures and writes the explanation around them. It never adds, rounds, converts or estimates.
That rule is the main answer to AI hallucination in finance. A model can still misdescribe a number, but it cannot invent one if every figure in the output is checked against the calculation layer. Around it, five further controls do the rest of the work:
- Reconciliation before generation. The inputs must tie out before the model sees them. If they do not, the run stops and a person is told why.
- A writer, an auditor and a corrector per section. One step drafts, a separate step checks the draft against the source figures and the rules, and a third fixes only what the auditor flagged.
- A release gate. Fixed checks the output must pass before anyone sees it: every figure matches, required sections exist, banned statements are absent.
- Human sign-off. A named person approves every output until errors hold at zero across many consecutive runs, and samples them after that.
- A full audit trail. Inputs, versions, outputs and approvals stored for every run.
Mohamed Chaudry describes his own build as a pipeline of specialised AI agents with deterministic verification between them. The verification is the point. Any one model step can be wrong, so no step is trusted without a check that does not depend on a model.
How do you test each control?
A control you have not tested is a hope. Use a table like this as the test plan, and run it before go-live and after every change.
| Control | What it prevents | How to test it |
|---|---|---|
| Code computes, model writes | Invented or miscalculated figures | Compare every number in the output to the calculation layer automatically |
| Reconciliation before generation | Fluent output built on data that does not tie | Feed a deliberately unbalanced input and confirm the run stops |
| Writer, auditor, corrector | Misdescribed movements and wrong direction words | Plant known errors in a draft and confirm the auditor flags each one |
| Release gate | Incomplete or non-compliant outputs reaching a reviewer | Remove a required section and confirm the gate fails the run |
| Human sign-off | Errors the automated checks miss | Track reviewer corrections per run and the trend over time |
| Audit trail and versioning | Being unable to explain or reproduce an output | Pick an old run and reproduce it from the stored inputs and version |
How do you govern an AI agent in finance?
Treat the agent like any other key control. It needs one named finance owner who is accountable for its output, not the person who built it. Every change to prompts, rules, code or model is versioned, tested against the table above and approved before release. Clear triggers send a run to a person, and a quarterly review checks corrections, exceptions and whether the process has changed.
That covers a single agent. Governing AI across the whole finance function, with a policy, risk ratings, what the board should see and how the NIST AI Risk Management Framework fits, is set out in AI Governance in Finance: A CFO’s Framework.
How do you prove the ROI of AI in finance?
You prove ROI the same way you would for any investment: a baseline, a measured result and an honest cost. Measure three things before you build and again after go-live.
- Time saved. Hours per cycle, including the review time the agent creates.
- Error rate. Corrections per output at review, before and after.
- Cycle time. Elapsed days from data available to output approved.
A simple annual value formula keeps the case honest: (hours saved per cycle × cycles per year × loaded hourly cost) + cost of errors avoided − (build cost + running cost + review time). If the review time eats the saving, the controls are not yet good enough or the process was the wrong choice.
How do you roll out a finance AI agent?
Roll out in stages, and let the evidence move you from one stage to the next.
- Shadow. The agent runs alongside the manual process. Compare the outputs and fix the differences.
- Assisted. The agent produces the first draft and a person reviews everything before it is used.
- Supervised. Once errors hold at zero across many runs, the reviewer samples instead of reading every line.
- Extend. Only then apply the same pattern to the next process.
The wider question of which finance processes to automate, and in what order, belongs to the finance operating model. That is covered in What Is Finance Transformation? What it means for the CFO’s own role is in How Is AI Changing the CFO Role?
Know where you stand before you build
The CFO Academy’s Lead and Influence and Strategy, Capital and Value strands have waiting lists open now, and Raise Capital is open today. The free CFO Skills Assessment gives an instant result and tells you where to start.
Take the CFO Skills Assessment Explore The CFO AcademyFrequently asked questions
Do you need to code to build an AI agent for finance?
The finance leader does not need to write the code, but must own the design: the process, the data checks, the boundaries, the controls and the review. Someone technical builds it. The most common failure is not technical. It is an agent built without a clear process, clean data or an accountable owner.
What is the difference between an AI agent and finance automation?
Traditional finance automation follows fixed rules exactly, for example matching bank lines or posting recurring journals. An AI agent adds a language model for steps that need reading or writing, such as interpreting a statement or drafting commentary. The best designs use fixed code for every number and the model only for words.
How do you stop an AI agent from making up numbers?
Do not let it produce numbers at all. Calculate every figure with deterministic code from reconciled data, give those figures to the model, and automatically compare every number in the output with the calculation layer before release. Any mismatch fails the run and goes to a person.
How long should a person review an AI agent’s output?
A person should review every output until corrections hold at zero across many consecutive runs. After that, move to sampling, with the sample size set by how material the output is. Any change to the prompts, rules, data or model restarts full review until the record is re-established.
What is the best first AI agent for a finance team?
A good first agent drafts internal variance commentary from a reconciled management pack. It is repetitive, rules-based, measurable and internal, so mistakes are caught before they leave finance. Avoid starting with anything that posts journals, makes payments or is filed with an external party.
Sources
I wrote about how AI fails in finance, and what CFOs should do about it, for CFO.com: The future CFO needs to think like a CTO (22 October 2026).
About Mohamed Chaudry FCCA
Mohamed Chaudry FCCA is an international Group and Operating CFO, founder, author and board adviser with 25 years of finance leadership experience across eight countries. His experience includes over $300 million in capital raised or advised on and five exits, including two as a founder.
He is the author of the Amazon #1 category bestseller The Art of Scaling and the founder of InvestorReady.AI, DealReady.AI and BoardReady.AI. More about Mohamed · LinkedIn