Masar-Fintech

Worked exampleAI in finance work

AI agents in finance: what to automate and where a human checks

An AI agent can run a whole bank reconciliation on its own, and here it matches 90% of 1,860 bank lines, but three human checkpoints decide what it may do and what gets posted.

  • Written by Mahmoud Sabry
  • Published
  • Last updated
  • Reading time 5 min read
  • Checks Check lines recalculated by script Editorial policy

The problem: 1,860 lines and two accountants

A logistics company in Cairo has five bank accounts and about 1,860 bank lines a month. Two accountants spend most of the first three working days matching each line to the ledger by hand, and the reconciliation is approved on the fourth.

The finance manager is considering an AI agent for the work. The question is not whether the agent is clever. It is which steps it may take alone, and where a person must decide.

What an AI agent is, and how it differs from an AI tool you chat with

An AI tool you chat with answers one request at a time and waits. An AI agent is given a goal and a set of tools, and it carries out the steps itself: it reads the bank statements, applies the matching rules, proposes matches it is unsure of and writes a report of what it could not match.

That independence is the benefit and the risk. An agent can do in minutes what took days, and it can repeat a mistake 200 times before anyone looks.

What the agent automated in one month

Table 1

The agent matched 1,674 of 1,860 lines, 90%, and sent 186 to a person

Bank lines in one month by outcome, hypothetical company

A table of bank lines by outcome: matched by the agent under the approved rules 1,674; proposed by the agent for review 140, of which 128 were accepted and 12 rejected; not matched 46; total 1,860.
OutcomeLinesWho decides
Matched under the approved rules1,674Agent, within the approved rules
Proposed for review140Accountant: 128 accepted, 12 rejected
Not matched46Accountant investigates
Total1,860

Source: Illustrative calculation from hypothetical data.

The agent handled the clear cases: same amount, same date window, same reference. It proposed 140 matches it was less sure of, and 46 lines matched nothing. A person decided all 186 of those.

The accountant accepted 128 proposals and rejected 12. The 12 rejected lines joined the 46 unmatched, so 58 lines were investigated by hand, mostly deposits in transit and bank charges not yet recorded.

The three human checkpoints

These are the three points where a person decides. Name the person for each before the agent runs for the first time:

  1. Before the run: the chief accountant approves the matching rules, including how close an amount and a date must be. The agent may not change them.
  2. During the run: an accountant reviews every proposed match and every unmatched line, the 186 here, and records the decision.
  3. Before posting: the financial controller approves the reconciliation and any adjusting journal. The agent prepares the journal, and after approval the general ledger accountant, not the controller, posts it.

Exhibit 1

Before and after the agent: the same 3 decisions stay with people

Who does each step of the monthly bank reconciliation

Before

AB
1StepWho
2Match 1,860 linesTwo accountants, by hand
3Set the matching rulesNobody in writing
4Approve and postFinancial controller

After

AB
1StepWho
2Match 1,674 lines, propose 140Agent
3Approve the rules (checkpoint 1)Chief accountant
4Decide 186 lines (checkpoint 2)Accountant
5Approve (checkpoint 3)Financial controller
6Post the approved journalGeneral ledger accountant

Source: Illustrative example from hypothetical data.

View data table
Before 2Match 1,860 lines | Two accountants, by hand
Before 3Set the matching rules | Nobody in writing
Before 4Approve and post | Financial controller
After 2Match 1,674 lines, propose 140 | Agent
After 3Approve the rules (checkpoint 1) | Chief accountant
After 4Decide 186 lines (checkpoint 2) | Accountant
After 5Approve (checkpoint 3) | Financial controller
After 6Post the approved journal | General ledger accountant

What an agent must never do

Some actions stay with people whatever the agent's accuracy: posting a journal, paying or releasing money, changing its own rules, and approving its own work. An agent that can do any of these has no checkpoint at all.

Give the agent read access to the bank statements and the ledger, and write access only to its own report. That single setting does more for safety than any instruction in its prompt.

Common errors

  • Letting the agent post its own adjustments: a wrong match reaches the ledger unseen. Correction: the agent prepares, the controller approves and another person posts.
  • Letting the agent change its matching rules: the approved control disappears. Correction: only the chief accountant changes the rules, in writing.
  • Reviewing only the unmatched lines: the proposed matches are where the agent was unsure. Correction: review both.

How to check your work

  1. Confirm the lines tie: 1674 + 140 + 46 = 1860.
  2. Confirm every proposed and unmatched line has a recorded decision: 140 + 46 = 186.
  3. Confirm each of the three checkpoints has a named person.
  4. Confirm the agent has no right to post, pay or change its rules.

Limits of the method

The 90% depends on clean references from customers and banks; with poor references the share falls and the human workload rises. An agent also needs testing on a closed month, where the right answer is known, before it runs on a live one.

Frequently asked questions

Is an AI agent the same as an automated rule in the accounting system?

No. A system rule does exactly one fixed thing; an agent chooses its next step towards a goal, which is why it needs checkpoints.

Who is responsible if the agent makes a wrong match?

The person who approved it at the checkpoint, exactly as with a junior's work.

Can the checkpoints be removed once the agent is accurate?

Checkpoint 2 can shrink to a sample if accuracy holds for several months. Checkpoints 1 and 3 stay.

Terms in this article

EnglishArabicMeaning
AI agentوكيل الذكاء الاصطناعيA tool given a goal and tools that carries out a sequence of steps on its own
Human checkpointنقطة المراجعة البشريةA step where a named person must decide before the work continues
Bank reconciliationالتسوية البنكيةMatching each bank line to the ledger and explaining every difference

Related lessons

Read next

Sources and notes

Figures and companies in the examples are illustrative and hypothetical, and do not refer to any real organisation.

Line counts are for one month across the company's bank accounts; amounts are in EGP.

Educational content, not financial, tax or investment advice. Check the standards and rules in force before applying anything.

Share this article

An AI agent can run a bank reconciliation end to end. Three human checkpoints keep it safe. A worked example in EGP:

Share on WhatsApp Share on LinkedIn