Agents · accuracy and gaps

AI for credit risk management: the borrowers it says it cannot answer for

When AI reads every credit file in a commercial book, the most valuable line in its answer is often the shortest: the borrowers whose files do not say. This guide sets out what to look for in AI tools for credit risk management, why an AI portfolio answer is only fit for a board when it separates counted, cleared and not-in-file borrowers, and how Commercial Loan Portfolio Analysis reports each.

Updated · 12 min read

AI for credit risk management is judged by what it does when the evidence runs out, and the accuracy of an AI portfolio answer is not one number. When agents read a whole commercial book against a question, every borrower should end in one of three states. It is counted, with the passage that puts it in. It is cleared, with the passage that keeps it out. Or it is not in file, because the documents do not answer the question. A tool that collapses the third state into either of the others, by guessing or by silently dropping the borrower, produces a total that looks complete and is not. Botminds' Commercial Loan Portfolio Analysis is built the other way: its credit file reader never states anything about a borrower without a passage and marks “not in file” instead of guessing, and the answer names those borrowers so their relationship managers can be asked.

Three outcomes for every borrower, and what the answer does with each

OutcomeWhat the file showsWhat the answer doesSample bank, import question
CountedA passage that meets the definition, with document, page and dateIncludes the borrower; shows the passage on its row63 borrowers, $611.4M committed
ClearedA passage that shows the definition is not metLeaves the borrower out, with the passage that clears it351 relationships in trade-sensitive codes
Not in fileNothing that answers the questionNames the borrower, leaves it out of the count, asks its RM4 borrowers, $20.3M committed
FlaggedAn answer, but from a stale, conflicting or superseded documentUses it, and says so next to the borrowerReviews older than 15 months, memos older than an acquisition
Counts from a fictional sample bank whose 1,184 relationships and 4,912 credit files were read for one board question; not a customer result.

Use of AI in credit risk management: three kinds, three different risks

“AI for credit risk management” covers three different tools, and a buyer should know which one is on the table before asking how accurate it is. The first is the statistical model: probability-of-default scores, rating models, early-warning scores built on payment and account data. The second is the document reader: software that reads statements, memos and agreements and returns what they say. The third is the agent: software that plans a task, calls other tools and drafts an output, such as a board summary. Banks have used the first for decades; the Treasury's 2024 report notes that “AI has long been deployed in the financial services sector in a variety of ways, including credit underwriting” (Treasury, 2024).

Three kinds of AI in credit risk management, and the question to ask each

KindWhat it doesSupervisory frame in 2026Ask the vendor
Statistical model (PD, rating, early warning)Predicts from structured dataModel risk guidance of April 2026, for models meeting its definitionValidation results, drift monitoring, use limits
Document readerExtracts what files say, with a locationWhere it uses generative AI, expressly outside that guidance; third-party and safety-and-soundness rules applyWhat it returns when the file is silent, and the passage behind each answer
Agent that plans and draftsTurns a question into steps, runs them, writes the answerSame as the document reader; human accountability expectedWhat it is never allowed to do, and who approves its output
The middle column follows OCC Bulletin 2026-13, which states that “generative AI and agentic AI models … are not within the scope of this guidance,” and the 2023 third-party guidance. The last column is our buyer’s reading.Source: OCC Bulletin 2026-13, Revised Guidance on Model Risk Management (with Fed SR 26-2 and FDIC FIL-15-2026), April 17, 2026; Interagency Guidance on Third-Party Relationships: Risk Management, 88 FR 37920, June 9, 2023

The supervisory gap matters for the buyer. The April 2026 model risk guidance says “Generative AI and agentic AI models are novel and rapidly evolving. As such, they are not within the scope of this guidance” (OCC Bulletin 2026-13). That leaves no federal checklist for the second and third kinds, but it does not leave the bank without duties: under the third-party guidance, “the use of third parties does not diminish or remove banking organizations' responsibilities” (88 FR 37920). A bank buying a document reader or an agent has to bring its own tests. Commercial Loan Portfolio Analysis is the second and third kind: it reads files and drafts answers about a commercial book; it does not score borrowers or set ratings.

Three answers for every borrower: in, out, or not in file

A portfolio question is a classification of every relationship, and a classification with no “unknown” class forces unknowns into the other two. A spreadsheet sent to relationship managers does this by default. A borrower nobody replied about is indistinguishable from a borrower that does not import. A code screen does it too, because an unflagged borrower looks cleared. Software that reads files can make the same mistake faster, by inferring from a borrower's industry or from a similar company what its file does not say.

The safeguard is structural. Every borrower in an answer carries a passage or a reason it has none. At the fictional sample bank used in this guide, the board's question on imported inputs ended with 63 borrowers counted, 351 relationships in trade-sensitive codes cleared, and 4 borrowers not in file. The four were Sycamore Cabinetry, Elmhurst Medical Supply, Westlake Sign Company and Dunmore Pet Products, with $20.3M committed between them. The answer's own words: “The files do not say where their inputs come from, so they are not counted; their RMs have been asked.”

One board answer, every relationship accounted for

1,184

relationships read for the question, not a sample or a code screen

63

counted, each with its passage

351

cleared with a passage, out of 412 in trade-sensitive codes

4

not in file: named, not counted, sent to their RMs

Fictional sample bank, book as of 30 September 2026. The remaining relationships were read and did not meet the definition.

AI hallucination in finance: why a confident guess is the expensive error

Generative AI's best-known failure is a confident answer that is wrong. The US Treasury's 2024 report describes such systems as susceptible to “AI hallucinations,” “producing confidently stated but incorrect output” (Treasury, 2024). In a portfolio answer that error has a particular shape. The total is plausible, so nobody checks it, and the borrowers that were guessed are invisible. The OCC's spring 2026 outlook names the governance problem: genAI and agentic AI bring challenges such as “lack of explainability,” and banks are using them “with guardrails and human-in-the-loop accountability” (OCC, 2026).

Supervisors judge credit errors asymmetrically, and portfolio answers should too. In checking risk ratings, the OCC tells examiners to “be most concerned when rating inaccuracies understate risk” (Rating Credit Risk). A board told that 59 borrowers depend on imports, when four more do and nobody knows it, has had its risk understated in exactly that way. A board told “63, plus four we cannot yet confirm” has been given the true state of knowledge. The second answer is less tidy and more accurate.

The files do not say where their inputs come from, so they are not counted; their RMs have been asked.

The sample bank’s board answer, on the four borrowers its files could not answer for

What “not in file” looked like on the import question

On the sample bank's question, “not in file” was a short list with a clear next step, not a failure. The answer writer put the four names in a highlighted box on the answer, in the board summary's footnotes (“4 borrowers with no supplier information in file — not counted”), and in the evidence table under their own filter. Their RMs received the question by name. The Federal Reserve's manual expects banks to run “a file documentation tickler system to help bank personnel obtain updated information on borrowers” (CBEM §2010.1). A not-in-file list is that tickler, generated by the question.

“Not in file” on the answer itself, beside the 63 that were counted

The board question answer at a sample bank: 63 borrowers depend on imported inputs, $611.4M committed, 9.5% of the book, $438.7M outstanding; 57 by code and 6 outside the codes; 17 below 1.20x at +15%; 9 maturing within 12 months. The text names the largest borrower and the six outside industry codes, and says 351 relationships in trade-sensitive industries were cleared because their files show domestic sourcing. A highlighted box reads: not in file for 4 borrowers, Sycamore Cabinetry, Elmhurst Medical Supply, Westlake Sign Company and Dunmore Pet Products, $20.3M committed; the files do not say where their inputs come from, so they are not counted; their RMs have been asked. On the right, the agents' run and the numbered sources.
Fictional sample bank. The unknowns sit in the body of the answer, with a number and names, not in a footnote.

It also tells the bank something about its files. Four of 1,184 relationships silent on sourcing is a small gap. If a question about guarantor liquidity came back with forty silent files, the finding would be about the bank's documentation, not about guarantors. Either way, the list is the information the board needs to judge how far to trust the total.

Stale, conflicting and superseded files

Between a clear passage and no passage sits a third case: an answer from a document that may no longer be right. The OCC treats “stale financial statements, tax returns, or borrowing base certificates” as credit administration exceptions (OCC, 2026). An AI answer should treat them the same way: use the document, and say how old it is. At the sample bank, the hotel question found a guarantor whose latest personal financial statement was dated 30 June 2025. The loan stayed in the answer, marked “older than 12 months,” rather than being dropped or silently trusted.

What an answer cannot stand on yet, before anyone asks

The credit files screen at a sample bank: 4,912 credit files across 1,184 relationships, all read; 1,126 relationships with an annual review in the last 15 months and 58 older, flagged on answers; 571 relationships with a supplier or customer list on file; 14 files added this week. A table by type lists credit memos 1,412, annual reviews 1,096, financial statements and notes 1,288, customer and supplier lists 604, borrowing-base certificates and field exams 312 and RM call memos 200. A freshness and gaps panel lists 58 relationships with an annual review older than 15 months, 4 borrowers whose files do not say where inputs come from, 37 audited statements without a concentrations note, and 9 relationships whose memo predates a 2025 acquisition, each with an action such as send the list to the RMs or flag for credit review.
Fictional sample bank. Gaps are listed before a question is asked, so an answer’s caveats are no surprise to the people approving it.

Conflicts need a rule, written down in advance. The sample bank's reader prefers audited figures over memos and newer documents over older ones, and shows both when they disagree. A memo that describes a business the borrower has since changed by acquisition is flagged for credit review: nine such relationships were listed. And when audited statements lack a concentrations note, as 37 did, questions about customers and suppliers fall back to the memo and the field exam, and say so.

How the credit file reader in Commercial Loan Portfolio Analysis reaches each outcome

  1. Agent

    Question planner

    Writes down what counts, from the bank’s settings, so every borrower is tested against the same definition.

    Never: Narrows the book without saying so on the answer.

  2. Agent

    Portfolio screener

    Passes every relationship to the reader, using industry codes only to order the work.

    Never: Clears a borrower on its industry code alone.

  3. Agent

    Credit file reader

    Finds the passage that answers the question, preferring audited over memos and newer over older, and flags stale documents.

    Never: Claims anything without a passage, or guesses where the file is silent.

  4. Agent

    Answer writer

    Leads with the number, names what the codes missed and what the files cannot answer, and footnotes every figure.

    Never: Writes a sentence without a source.

  5. A person decides

    Relationship managers

    Ask the not-in-file borrowers directly; a reply filed as a call memo is read when the question next re-runs.

  6. A person decides

    Chief credit officer

    Approves the summary, unknowns included, before it reaches the board.

The agents’ rules as configured at the fictional sample bank. Person steps are where judgment and approval stay.

How to test an AI tool before using it for credit decisions

Test the unknowns as hard as the totals. A validator, or a portfolio manager on the first run, can check an AI answer with the same techniques loan review uses on ratings. Draw a sample, re-perform it from the file, and look for errors that understate risk. NIST's AI Risk Management Framework lists “valid and reliable” first among the characteristics of trustworthy AI (NIST AI RMF 1.0). For a reading task, valid means the passage says what the answer claims and reliable means the same file gives the same answer twice.

Seven checks on an AI portfolio answer

  1. Re-perform a sample of counted borrowers

    Open each passage; confirm it says what the row claims and that the arithmetic beneath it is right.

  2. Re-perform a sample of cleared borrowers

    The costly error is a borrower wrongly cleared. Check the clearing passages as carefully as the including ones.

  3. Plant gaps

    Remove the relevant page from a few files in a test copy; the answer should move those borrowers to not in file, not keep or guess them.

  4. Check the definition printed on the answer

    It should be the bank’s own test, in words the approver recognises, and it should not change between runs unless someone changed it.

  5. Tie the totals

    Committed and outstanding should match the loan system at the stated as-of date, to the dollar.

  6. Re-run and compare

    The same question on the same files should give the same borrowers; differences point to unstable reading.

  7. Read the not-in-file list for patterns

    Many silent files of one type, one branch or one RM is a documentation finding in its own right.

Our method, drawing on the OCC’s rating-accuracy test and NIST’s “valid and reliable” characteristic.Source: OCC, Comptroller’s Handbook, “Rating Credit Risk”; NIST, AI Risk Management Framework 1.0, January 2023

The model risk side of these checks, including whether a file-reading agent counts as a model under the April 2026 guidance, is set out in the second line's questions about an AI that reads loan files.

AI tools for credit risk management: what a buyer should look for

Look for evidence on every answer, an explicit “unknown” state, the bank's own definitions, totals that tie to the loan system, and hard limits on what the software may do. Everything else, including speed, follows from those. A demonstration on the vendor's data shows the first two quickly; the rest show only on the bank's own files, which is why a short trial on a past question the bank has already answered by hand is worth more than any benchmark.

Buying AI tools for credit risk management: ten things to see working

  1. A source on every claim

    Each borrower-level statement opens at a passage, with document, page and date.

  2. An explicit “not in file” outcome

    Silent files are named, left out of totals and routed, never filled in by inference.

  3. The whole book, not a sample

    Every relationship read for the question, with industry codes used to order the work, not to clear borrowers.

  4. The bank’s definitions, versioned

    Thresholds such as an imported share of cost or a leverage ratio are settings the bank owns, printed on the answer and on the audit trail.

  5. Totals tied to the book

    Committed and outstanding reconcile to the loan system at one as-of date, or the answer stops.

  6. Stated rules for stale and conflicting documents

    Which document wins, and how age is shown, decided before the first question.

  7. Entitlements respected

    A relationship manager sees answers for their own book only.

  8. Hard limits

    The software does not change ratings, contact borrowers or send anything to the board.

  9. A named human approver

    Board and examiner summaries carry the approver’s name and time.

  10. Files read in place

    No migration of the credit file archive or the core, which keeps the bank’s third-party exposure narrow.

Our buyer’s list. The last item and the integration questions behind it are covered in the guide to loan portfolio analysis software; the approval and limits items follow the human-in-the-loop accountability the OCC describes.Source: OCC, Semiannual Risk Perspective, Spring 2026

Two questions separate serious tools from demonstrations. Ask what the tool did with the borrowers it could not answer for on the trial question, and ask to see one cleared borrower's passage. A tool that has no answer to the first, or clears borrowers on their industry code, will produce totals that look complete and are not. How such a tool connects to a core and a document archive is set out in loan portfolio analysis software that leaves your core where it is; what it should cost against the hand route is in loan portfolio monitoring software, priced.

What the board summary says about what it does not know

A board summary should state its unknowns in the same place as its totals, with a number, names on request and the action taken. At the sample bank the summary approved by the chief credit officer led with 63 borrowers and $611.4M committed. It then gave the 17 below covenant under stress, the five also maturing within a year, what the RMs are doing, and the four borrowers the files cannot answer for. Every number carried a footnote to its source. The approver could open any of the 63 at its passage.

That is the practical meaning of accuracy for a board deck. It is not a claim that the software is right 99% of the time. It is an answer where each number can be traced, each exclusion can be defended and each unknown is visible. The full morning is told in the board question, by the clock.

Questions people ask

Can AI read commercial credit files accurately?

It can find and quote the relevant passage in memos, reviews and statements, and the quote can be checked. Accuracy should be measured by re-performing a sample from the files, including borrowers the answer cleared, and by testing what the tool does when the answer is not in the file.

What is the best AI for credit analysis?

It depends on the job. For predicting default from account data, a validated statistical model; for reading what credit files say, a tool that cites the page behind every answer and reports the files it could not answer from. A general chat assistant without access to the bank's files and loan system can do neither for a real book.

Is generative AI covered by bank model risk guidance?

Not by the April 2026 interagency guidance, which says generative and agentic AI “are not within the scope of this guidance” and promises a request for information on AI. Third-party risk management and safety-and-soundness expectations still apply, so the bank has to test such tools itself.

Who is responsible when a vendor's AI gets a credit answer wrong?

The bank. The 2023 interagency guidance says using a third party “does not diminish or remove banking organizations' responsibilities to ensure that activities are performed in a safe and sound manner.” That is why a named person should approve any AI-drafted summary before it reaches the board.

What should happen when the credit file does not answer a portfolio question?

The borrower should be named, left out of the count and routed to the person who can find out, usually the relationship manager. Counting it, or dropping it silently, both misstate the answer.

Does a “not in file” list mean the bank's documentation is weak?

Not necessarily: credit files are built for underwriting, not for every question a board might later ask. A long list concentrated in one document type or one team, though, is worth raising with credit administration.

Commercial Loan Portfolio Analysis.
See it on your own files.

An agentic solution from Botminds. Ask the whole commercial book a new question in plain words; the answer comes back as a table, each row linked to the page that proves it. Book a demo, or explore how it works.