Covenant monitoring automation: a practical guide
- By
- Vivek, Context Labs
- Published
- Updated
The short answer
Covenant tests are arithmetic on definitions. Run covenant arithmetic and testing calendars in code with one definition set per loan, and use AI to read the credit agreement, amendments, compliance certificate, and underlying financial statements. Whether a breach is waived, cured or acted on stays with the portfolio manager and the credit officer.
In this guide
- Three kinds of covenant, and why each needs a different monitor
- What to recompute on a compliance certificate
- Definitions risk: EBITDA add-backs, caps and cash netting
- The testing calendar, built from the agreement
- A fictional borrower tested against 3.50x net leverage and 1.20x fixed charge coverage
- What runs as code, what AI reads, what a person decides
This is operational guidance, not legal advice. The credit agreement, read with counsel, governs every test.
What kinds of covenant are you monitoring?
The OCC's Lending and Loan Portfolio Risk Management booklet (July 2026) defines a covenant as a borrower's agreement to do something (affirmative) or to refrain from doing something (negative), and notes that covenants may also be financial indicators such as a minimum debt service coverage ratio.
| Type | Examples | How a breach shows up | Monitor with |
|---|---|---|---|
| Affirmative | Deliver financial statements and a compliance certificate, maintain insurance | A date passes with nothing received | Calendar in code |
| Financial | Maximum net leverage, minimum fixed charge coverage | A ratio crosses a threshold on a test date | Formula in code, on the agreement's definitions |
| Negative | No additional debt, liens, asset sales, dividends or acquisitions beyond permitted limits | An event happens, often mentioned only in a footnote | AI reading, then a person |
Financial covenants split again. A maintenance covenant is tested on a schedule. An incurrence covenant is tested only when the borrower acts, for example by raising new debt. A calendar catches the first kind. The second requires active reading to detect trigger events.
What is a compliance certificate, and what should you recompute?
A compliance certificate is the borrower's signed statement, usually from the CFO, that it met its covenants for the period, with the calculations attached. Treat it as a claim to check. Recompute three things every time:
- The inputs. Does each number tie to the financial statements delivered with it?
- The definitions. Did the borrower use the agreement's definition of each term, including caps and exclusions?
- The arithmetic. Does the ratio follow from the inputs?
Most errors sit in the second item.
Why are definitions the real risk?
"EBITDA" in a credit agreement is a defined term that can run to a page. The clauses that move results most:
- Add-backs. Non-recurring charges, restructuring costs and projected cost savings added back to EBITDA.
- Caps. Add-backs limited to a dollar amount or a percentage of EBITDA, measured before or after the add-back.
- Cash netting. Whether net debt subtracts all unrestricted cash or only up to a cap.
- Step-downs. A leverage limit that tightens on scheduled dates.
- Equity cures. Whether a sponsor may inject cash to fix a breach, and how often.
- Amendments. A third amendment that redefines a term from the original agreement.
Each becomes a parameter stored against the loan. Code does not interpret. It applies what a person has approved.
What goes on the testing calendar?
Build the calendar from each agreement. The day counts below are examples.
| Item | Trigger in the agreement (example) | What the system does |
|---|---|---|
| Quarterly statements and certificate | 45 days after quarter end | Opens a task at quarter end, chases at day 30, flags late delivery at day 46 |
| Annual audited statements | 120 days after fiscal year end | Same pattern, plus a check for the audit opinion |
| Financial covenant tests | Each quarter end or year end | Runs the coded test when the statements are read |
| Step-down dates | Scheduled changes to a limit | Switches the threshold on the date |
Late documents matter too. The OCC booklet lists stale financial statements among credit administration exceptions and covenant breaches, even if waived, among financial exceptions. It says sound risk management generally includes identifying, approving and tracking exceptions.
Worked example: Calloway Packaging (fictional)
Calloway Packaging, Inc. and Northgate Bank are invented.
The covenants. Maximum net leverage of 3.50x, tested quarterly on a last-twelve-months basis. Minimum fixed charge coverage of 1.20x, tested annually. Under the agreement, non-recurring add-backs are capped at 10% of EBITDA before those add-backs, and cash netting is capped at $5.0 million.
The certificate, quarter ended September 30, 2026. Due 45 days later, on November 14.
The borrower reports:
- Net income $6.2M + interest $3.4M + taxes $2.1M + depreciation and amortization $4.3M = $16.0M
- Non-recurring add-backs of $2.4M, giving EBITDA of $18.4M
- Funded debt of $61.5M (term loan $52.0M, revolver $8.0M, finance leases $1.5M) less cash of $7.8M = net debt of $53.7M
- Net leverage: 53.7 ÷ 18.4 = 2.92x
The recomputation, on the agreement's definitions.
- Add-back cap: 10% × $16.0M = $1.6M, not $2.4M. EBITDA is $16.0M + $1.6M = $17.6M.
- Cash netting cap: $5.0M, not $7.8M. Net debt is $61.5M − $5.0M = $56.5M.
- Net leverage: 56.5 ÷ 17.6 = 3.21x.
Both versions pass 3.50x. The cushion differs. On the borrower's figures, EBITDA could fall to 53.7 ÷ 3.5 = $15.3M before a breach, a drop of 17%. On the recomputed figures, the breach point is 56.5 ÷ 3.5 = $16.1M, a drop of 8%. If next quarter's EBITDA is $1.5M lower at $16.1M with net debt unchanged, leverage is 56.5 ÷ 16.1 = 3.51x: a breach, one quarter away, on a file the certificate called comfortable.
Fixed charge coverage, fiscal 2025. EBITDA of $17.0M less unfinanced capital expenditure of $3.2M and cash taxes of $1.9M leaves $11.9M. Fixed charges are cash interest of $3.3M plus scheduled principal of $5.2M, or $8.5M. Coverage is 11.9 ÷ 8.5 = 1.40x against the 1.20x minimum.
Reading the notes, the AI flags $1.0M of equipment the borrower treated as financed but paid for with revolver draws. If the agreement counts that as unfinanced, the numerator is $10.9M and coverage is 10.9 ÷ 8.5 = 1.28x. Still a pass, with less room. Code can run both cases. Which reading is right is for the credit officer and counsel.
What should be code, and what should AI read?
| Task | Code | AI reading | Person |
|---|---|---|---|
| Extract definitions, thresholds, step-downs and dates from the agreement and amendments | Proposes, citing the section | Credit officer approves per loan and per amendment | |
| Calendar, reminders, late-delivery flags | Yes | ||
| Read the certificate and statements, map each line to the definition | Yes, citing the page | Reviews unmapped lines | |
| Tie inputs to the statements, compute each ratio and cushion | Yes | ||
| Scan notes and filings for negative covenant events | Yes | Portfolio manager reviews each flag | |
| Decide a disputed reading | Credit officer, with counsel | ||
| Waive, amend, reserve rights or change the risk rating | The approver your credit policy names |
Coded ratio tests are the kind of work SR 26-2 leaves outside its definition of a model, which excludes simple arithmetic and deterministic rule-based processes. The same guidance places generative AI outside its scope and leaves it to the bank's own governance, so write down how the reading steps are tested and approved.
Where it goes wrong
- Using a generic EBITDA formula. A generic calculation matches the credit agreement only by accident.
- Filing the certificate as the answer. The borrower grades its own paper. Recompute.
- Pass or fail with no cushion. A 3.21x against 3.50x belongs on the watch list.
- Missing amendments. Test against the agreement as amended.
- Nobody reading for events. Negative covenants are breached in footnotes, not in ratios.
- Waivers that vanish. A waived breach is still an exception to track.
How Context Labs fits in
Context Labs (thecontextlabs.com) is an AI workforce platform for insurance, banking and private equity. It learns how your experts run multi-hour workflows, then pairs AI judgment with deterministic execution and waits for human approval on critical steps.
Covenant monitoring is one of the banking workflows Context is built for: financial statements, net leverage and negative covenants each quarter, and fixed charge coverage each year. Validated steps become fixed, tested code, and AI is kept for the reading. Corrections are tested against past work and approved before the next run.
FAQ
What is the difference between financial and negative covenants?
A financial covenant is a measurable test, such as maximum net leverage, checked on set dates. A negative covenant is a promise not to do something, such as take on more debt or sell assets, without the lender's consent. The first is monitored with formulas, the second by reading for events.
What is a covenant compliance certificate?
It is a signed statement from the borrower, usually the CFO, delivered with the financial statements, that sets out each covenant calculation and confirms compliance. A lender should recompute it on the credit agreement's own definitions, because the inputs or definitions can differ from what the agreement says.
Can AI calculate covenant compliance?
It should not do the calculation. Use AI to read the credit agreement, propose definitions with section citations, and map financial statement lines to those definitions. The ratio is arithmetic and belongs in code, so the same inputs always give the same result. A credit officer approves the definitions first.
How often should covenants be tested?
As often as the credit agreement says. Maintenance covenants are tested on scheduled dates, often quarterly or annually. Incurrence covenants are tested when the borrower takes a defined action. Build the calendar from each agreement's test dates and delivery deadlines, and track late documents as exceptions.
What should happen when a covenant is breached?
The system should flag it the day the test runs, with the calculation shown. A person then decides. The portfolio manager and credit officer choose between a waiver, an amendment, a reservation of rights or further action, under your credit policy. Record the breach as an exception even if waived.
Related guides
- AI loan covenant monitoring
- What is covenant monitoring?
- How to cut commercial credit memo time
- How PE firms automate portfolio monitoring
Sources
- OCC, Comptroller's Handbook, Lending and Loan Portfolio Risk Management, Version 1.0 (July 2026): https://occ.gov/publications-and-resources/publications/comptrollers-handbook/files/lending-loan-portfolio-risk-management/pub-ch-lending-loan-portfolio.pdf
- OCC Bulletin 2026-29 (June 25, 2026): https://occ.gov/news-issuances/bulletins/2026/bulletin-2026-29.html
- Board, FDIC and OCC, Supervisory Guidance on Model Risk Management (SR 26-2 attachment, April 17, 2026): https://www.federalreserve.gov/supervisionreg/srletters/SR2602a1.pdf
