Evaluate · AI that reads credit agreements

AI covenant extraction: the agent that reads the credit agreement first

AI covenant extraction turns a credit agreement and its amendments into a register of every covenant, definition, limit and deadline, and every covenant test downstream depends on it being right. This guide looks inside the agreement reader in Covenant Monitoring, from the 153 pages it reads to the register it hands the tester, and sets out what a buyer should demand and how to test it.

Updated · 14 min read

AI covenant extraction is the use of a language-model agent to read a credit agreement and every amendment and return the covenants a bank must test: each financial covenant with its limit, step-downs and test period, the defined terms it rests on, cure rights, reporting deadlines and events of default, each cited to its section and page. It matters because covenant testing is only as good as this step. The ratio is simple arithmetic; deciding which definitions and limits apply this quarter takes the whole agreement, and amendments rewrite it by reference. Botminds' Covenant Monitoring gives that reading to one agent, the agreement reader, which builds the covenant register the other agents test from. This page follows it through one borrower, then sets out what to look for in any AI covenant extraction tool and how to test it before relying on it.

The agreement reader, from documents to register

It reads

Credit Agreement of 18 March 2024 · 142 pages

First Amendment of 9 December 2025 · 11 pages

in date order, the latest amendment winning

It hands over a register of

  • 4 financial covenants, each with its section, limit and test frequency
  • the definitions they rest on, as amended, with page numbers
  • the equity cure: 15 business days, 2 uses
  • reporting deadlines: 45 days quarterly, 120 days audited
  • insurance and other covenants, and the events of default
Fictional sample borrower Halvorsen Industrial Coatings in Covenant Monitoring. The agent read both documents in 21 seconds of a 58-second re-test.

Can AI extract covenants from a credit agreement? What it should return

Yes, the reading itself is well within what current language models do, provided the output is constrained: cited, amendment-aware and forbidden to fill gaps. The harder question is what the extraction must return for a covenant test to rely on it, because a list of covenant names and numbers is not enough to test anything.

A usable extraction returns five things. The covenants, each with its limit and any step-down schedule by test date. The definitions behind them, built from their cross-references, so "Consolidated EBITDA" arrives with its add-back clauses, caps and windows rather than as a heading. The amendment history, applied in date order with the superseded text still cited. The cure rights and their limits. And the reporting obligations, which become the calendar a certificate is chased against. Without the second and third, the tester re-uses the borrower's reading of the agreement, which is the error the test exists to catch.

Why the ratio is easy and the agreement is hard

Dividing one number by another takes no skill; deciding which numbers to divide takes the whole agreement. In the sample agreement, "Consolidated EBITDA" is built from "Consolidated Net Income" and "Consolidated Interest Expense", both defined elsewhere in section 1.1, with eight add-back clauses, a dollar cap on one, a date window on another and, since the First Amendment, a percentage cap. Fixed charge coverage then subtracts unfinanced capital expenditures, cash taxes and distributions, each with a definition of its own. A test that gets any of these wrong gets the covenant wrong.

Amendments make it harder, and they are frequent. Michael Roberts found that the typical bank loan "is renegotiated five times, or every nine months", with "pricing, maturity, amount, and covenants" all modified along the way (NBER working paper 20484). An amendment rarely restates the agreement; it changes it by reference, adding a clause here and replacing a number there, and the reader has to rebuild each definition from the pieces. A covenant workbook built at closing and never rebuilt carries the closing definitions forever.

The examiners' question is about exactly this. The OCC's Commercial Loans procedures ask about "Use of loan agreements and financial/collateral covenants, including monitoring and enforcement" and "Systems for monitoring compliance with loan covenants" (OCC, Commercial Loans). A system that monitors the wrong definition monitors nothing.

What the agreement reader does, step by step

The agent's job is narrow and its limits are explicit. It reads; it does not test, collect, judge or decide. Three rules govern everything it produces: it never invents a threshold or a definition that is not in the documents, the latest amendment always wins, and every term it extracts cites its section and page.

Inside the agreement reader

  1. Agent

    Agreement reader · read

    Reads the credit agreement and every amendment it is given, in date order.

  2. Agent

    Agreement reader · define

    Builds each defined term from its parts, following its cross-references.

    Never: Never fills a gap with a definition that is not in the documents.

  3. Agent

    Agreement reader · amend

    Applies each amendment to the text it changes, so the latest version wins, and keeps both versions cited.

    Never: Never drops the earlier text from the citation trail.

  4. Agent

    Agreement reader · extract

    Lists every covenant with its limit, step-downs, test period and frequency, cure rights and reporting deadlines.

    Never: Never states a limit without its section and page.

  5. Agent

    Covenant tester and certificate collector

    Use the register: the tester for the definitions and limits, the collector for the reporting calendar.

  6. A person decides

    Credit administration analyst

    Opens any term against its page, and confirms each test result before it goes anywhere.

Covenant Monitoring's agreement reader, with the limits the solution sets on it. The last step is the person who confirms results; the register itself is visible to the analyst at every step.

What should a covenant register contain? One sample borrower's, from 153 pages

The output is a covenant register: one row per obligation, each with its section, its limit and how it is tested. For Halvorsen Industrial Coatings, a $38.5 million borrower of the fictional Tamarack Commerce Bank, the agent produced the register below from 153 pages.

The covenant register the agent read from 153 pages

ObligationSectionLimit or termHow it is tested
Total leverage ratio§7.1at most 3.50xQuarterly, four quarters trailing
Fixed charge coverage ratio§7.2at least 1.25xQuarterly, four quarters trailing
Consolidated EBITDA, Springfield add-back§1.1, as amendedcapped at 10% by the First AmendmentInside both ratios
Equity cure§7.3within 15 business days; 2 usesAfter a §7.1 or §7.2 failure
Minimum liquidity§7.4at least $5.0 millionAt quarter end
Capital expenditures§7.5at most $6.0 millionFiscal year
Financial reporting and certificate§6.145 days after each quarter; audited statements in 120 daysQuarterly, annual and monthly
Insurance§6.5renewal evidence by expiryOn renewal
Events of default§8.1including an incorrect certificate, clause (c)On any breach
Fictional sample borrower Halvorsen Industrial Coatings, from the Credit Agreement of 18 March 2024 (142 pages) and the First Amendment of 9 December 2025 (11 pages), as read by Covenant Monitoring.

Three rows are not financial covenants, and they matter as much as the four that are. The reporting row is what the certificate collector builds the calendar from, so a 45-day deadline in the agreement becomes a reminder ten days earlier. The equity cure row is what the letter drafter cites when it tells a borrower what it can do. The events-of-default row is what made an incorrect certificate a default of its own on this borrower, as the certificate that said 1.31x shows.

The register, with the amended clause open on its page

Covenant register for Halvorsen Industrial Coatings, read from the Credit Agreement (142 pages) and the First Amendment (11 pages), listing each covenant with section, limit, how it is tested and this quarter's result: leverage passes at 2.84x, fixed charge coverage a breach at 1.23x, the Consolidated EBITDA definition with $949,000 of the Springfield add-back allowed, equity cure 0 of 2 used, liquidity and capital expenditures pass, the third-quarter certificate a day early, property insurance expired 1 November, and the events of default triggered by clause (c). On the right, the text of section 1.1 Consolidated EBITDA as amended 9 December 2025, page 14, with clause (viii) marked as from the First Amendment and its cap highlighted.
Covenant Monitoring on the fictional sample book. Selecting a row opens the clause on its page; the marker shows which document the text comes from.

By hand and with the agent: the same step, compared

The comparison that matters is not speed alone; it is what happens when an amendment is signed. By hand, the definitions live in whatever workbook the analyst built at closing, and an amendment changes the bank's test only if someone remembers to rebuild it. With the agent, the register is rebuilt from the documents each time, and every term points to the page it came from.

Finding the definitions: by hand and with the agreement reader

By handWith the agreement reader
Where the definitions live

By hand: A workbook built at closing, sometimes with a summary sheet.

With the agreement reader: A register rebuilt from the agreement and every amendment.

When an amendment is signed

By hand: Someone has to notice, read it and change the workbook.

With the agreement reader: The amendment is read in date order; the latest text wins and both are cited.

How a term is checked

By hand: Search the PDF for the definition, then for each cross-reference.

With the agreement reader: Open the cited section and page from the register.

Reporting deadlines

By hand: Copied by hand into a tickler or calendar.

With the agreement reader: Taken from the same register into the reporting calendar.

Time, one sample borrower

By hand: About two days a quarter across the book, our estimate for finding definitions.

With the agreement reader: 21 seconds for 153 pages on the sample borrower.

By-hand time is our estimate for one quarter's cycle at the fictional sample bank; the agent's time is from the sample re-test. Neither is a customer measurement.

Where the 58 seconds of one re-test went

Agreement reader · 153 pages
21 s
Financial spreader · trailing twelve months
17 s
Covenant tester · four covenants
9 s
Letter drafter
5 s
Early-warning watcher
4 s
Certificate collector
2 s
Fictional sample borrower Halvorsen Industrial Coatings, third-quarter 2026 re-test in Covenant Monitoring: six agents, 58 seconds, 158 pages read in all.

Reading takes the largest share of the run because it is the largest share of the work. That is also where an agent can go wrong in ways a calculation cannot, so it is where a bank should test hardest.

The re-test run, each agent's step with what it found

Re-test workspace for Halvorsen Industrial Coatings, third quarter 2026: coverage certified 1.31x by the CFO as in compliance; coverage re-tested 1.23x against a 1.25x minimum, section 7.2; Consolidated EBITDA minus $471,000, the add-back above the amendment's 10% cap; covenants re-tested 4 of 4. A run log finished in 58 seconds, 6 agents, 158 pages: certificate collector logged the package, 2 seconds; agreement reader read the Credit Agreement and the First Amendment, 142 and 11 pages, 4 financial covenants, the amendment added the Springfield add-back capped at 10%, 21 seconds; financial spreader built the trailing twelve months and tied to the statements, 17 seconds; covenant tester recalculated four covenants, 9 seconds; early-warning watcher compared the trend, 4 seconds; letter drafter prepared the response, 5 seconds. Beside it, what the borrower certified.
Covenant Monitoring on the fictional sample book. The reader's line says what it found that mattered: the amendment added the Springfield add-back and capped it.

How accurate is AI at reading credit agreements? Where it fails, and what limits it

An agent that reads documents can fail in three ways that matter for covenants. It can misread a term, for example taking a cap from the wrong base or missing a cross-reference. It can apply amendments in the wrong order, or miss that a later document changed an earlier one. And it can fill a gap: where the documents are silent, produce a plausible threshold that is not there. The third is the most dangerous, because the result looks complete.

The solution's limits address each one. Citing section and page for every term makes a misreading checkable in seconds rather than findable only by rereading the agreement. Reading in date order with the latest amendment winning, and keeping both versions cited, makes the order explicit. The rule that it never invents a threshold or definition means a gap in the documents stays a gap in the register. That points to the other half of the control: the agent can only read what the bank gives it. An amendment sitting in a relationship manager's email is invisible to it, which is why the documents a bank brings to start matter as much as the agent.

Federal guidance does not yet settle how such an agent is governed. The April 2026 interagency 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). The OCC's Spring 2026 Semiannual Risk Perspective describes bank use of such tools as "generally limited to specific use cases with guardrails and human-in-the-loop accountability" (OCC, Spring 2026), and the interagency third-party guidance still holds that "the use of third parties does not diminish or remove banking organizations' responsibilities" (Federal Register, June 2023). In practice that means the bank tests the agent, keeps a person confirming every result, and owns the outcome.

What to look for in AI covenant extraction software

Look for evidence, not accuracy claims: a citation for every term, a visible amendment trail, a rule against inventing terms, and a person who confirms results before they reach a borrower or a committee. Many tools are now sold as AI covenant extraction, and the differences that matter only show on a bank's own amended agreements.

Buying AI covenant extraction: what to require, and how to check it in a pilot

RequirementWhy it mattersHow to check itIn Covenant Monitoring
Section and page cited for every termA misread term becomes checkable in seconds instead of findable only by rereading 140 pages.Open twenty citations at random; each must show the exact text.Every register row opens on its clause and page.
Amendments applied in date orderMost errors in certificates and workbooks are amendment errors.Give it an agreement with two amendments that change the same definition.Latest amendment wins; earlier text stays cited.
Definitions built from cross-referencesCovenants rest on defined terms several layers deep.Check that each add-back cap and window appears under the covenant it affects.The register carries the definition as amended, with caps.
No gap-fillingA plausible invented threshold looks complete and is wrong.Withhold a document and see whether the missing term stays missing.A gap in the documents stays a gap in the register.
A person confirms before anything leavesThe bank, not the vendor, answers for the result.Find who can release a breach or a letter without a person.Only the analyst confirms; letters need the relationship manager's signature.
Your documents stay under your oversightThird-party use does not move responsibility off the bank.Ask where documents are processed and retained, and who can see them.A matter for each bank's third-party review.
Our buying criteria. The last row reflects the 2023 interagency guidance on third-party relationships, which says that “the use of third parties does not diminish or remove banking organizations' responsibilities”.Source: Interagency guidance on third-party relationships, 88 FR 37920 (2023)

Speed is the least useful thing to compare. Every tool reads faster than a person; what differs is whether the bank can see why each term says what it says, and whether the register changes when an amendment does. A pilot on agreements the bank already knows well answers both in a few days.

How to test AI covenant extraction before relying on it

The test is straightforward because the right answers already exist: the bank's own agreements, read by its own people. The checklist below is how we would test any agreement-reading agent before relying on it.

Before relying on an agreement-reading agent

  1. Choose agreements with amendments

    A clean agreement proves little. Pick ones with two or more amendments, a step-down and a cure right.

  2. Compare its register with your covenant check sheets

    Every limit, test period and deadline. Where they differ, open the cited page and decide who is right; sometimes it is the check sheet that is out of date.

  3. Plant a change

    Give it an amendment that tightens a cap or moves a deadline, and check the register changes, with both versions cited.

  4. Take a document away

    Withhold an amendment and see what it does. It should not reconstruct terms it cannot see.

  5. Open every citation on a sample

    A term that does not match its cited page is a failure, even if the number happens to be right.

  6. Re-test past certificates with it

    Run it over quarters you have already tested, and read every disagreement.

Our checklist. The last step is set out in full on the accuracy page.

The last item is the strongest evidence a bank can get, because it uses quarters whose outcomes are known. Re-testing eight quarters of certificates explains how to run it and how to read the disagreements. The other five agents, and the people who confirm what they find, are shown on Covenant Monitoring.

Questions people ask

How long does AI covenant extraction take?

Seconds per agreement for the reading; the time that matters is the person's check. On the sample borrower the agreement reader read 153 pages in 21 seconds. By hand, finding definitions across the sample bank's book took about two days a quarter in our estimate, mostly spent rebuilding amended terms.

What is the difference between a covenant register and a covenant check sheet?

A check sheet is a one-page summary of each covenant and its results, which the Federal Reserve expects in a credit file. A register goes further: every obligation in the agreement, with the definitions behind each covenant as amended and a citation for each term. The check sheet tells you the limit; the register tells you why it is the limit.

Can AI covenant extraction replace legal review of an amendment?

No. Counsel negotiates and drafts the amendment; extraction reads what was executed and applies it to the covenant test. A register that cites the clause it relied on makes it easy for counsel or credit to confirm that the bank is testing what the parties signed.

What happens when the agent cannot read a term?

It should say so. In Covenant Monitoring a term the documents do not settle stays blank in the register for the analyst to resolve, rather than being filled with a typical value. A blank is a visible gap; a guessed threshold is an invisible error.

Is AI covenant extraction a model under model risk guidance?

The April 2026 interagency guidance excludes simple arithmetic and deterministic rule-based processes from its definition of a model, and places generative and agentic AI outside its scope for now. Banks therefore govern such agents through their own risk management and third-party oversight, with people confirming results.

Covenant Monitoring.
See it on your own files.

An agentic solution from Botminds. Every certificate collected and every covenant re-tested from the borrower's own numbers the day they arrive. Book a demo, or explore how it works.