← PrivateCreditGate · Brilliant Nodes

The weakest link in private credit is a person typing numbers: a proposal for automated covenant testing

Brilliant Nodes · November 2026

Where the risk sits

Banks remain the main lenders to companies, but a growing share of corporate lending now happens outside them. Private credit is the name for that segment: loans negotiated directly between an investment fund and a borrower, rather than made by a bank or raised by selling bonds on public markets. It has grown into one of the largest corners of finance: published estimates for 2025–26 range from about $1.7 trillion for core direct lending to over $3 trillion for the broader private-debt universe, depending on what is counted [1][2].

A typical private loan is a facility: the lender commits a sum, and the borrower draws it in stages over time. To protect the lender, the loan agreement contains covenants, simple financial tests the borrower must keep passing, for example:

Every reporting period, the borrower publishes its figures and a compliance certificate. Those figures decide three things that move real money: whether the borrower may draw more, what interest margin applies (many loans price on a leverage grid), and whether the lender may call the loan.

Why manual monitoring falls short

Today, someone at the lender, or its agent, reads each borrower's report, finds the right figures, and types them into a system. Across a portfolio of hundreds of loans this is slow, repetitive, and exactly where errors and disputes arise:

When parties disagree about "what the report says", the dispute goes to lawyers. The monitoring step itself has changed little as the market has grown.

An alternative approach

We propose a loan facility in which the covenant test is carried out by independent machine readers of the borrower's own published report, and every consequence of the test is applied by fixed rules written into the facility.

  1. The terms are fixed at signing, including the covenants, the margin grid, the dates of each test, and the address where each period's report will be published. By accepting, the borrower agrees which page will be read.
  2. After each period, anyone can trigger the test. Several independent machines each read the report page and copy four figures exactly as printed: earnings, finance costs, total debt and cash, with their labels, scale and currency.
  3. Exact agreement or nothing. A reading is recorded only if a majority of readers arrived at exactly the same four figures. If they do not agree, the report counts as unreadable, just as a defective certificate would.
  4. Rules, not judgement, apply the agreement. Code computes leverage and cover by exact integer arithmetic (never rounding in the borrower's favour), sets the margin band, stops or allows draws, and records breaches.
  5. Ambiguity is refused, never guessed. Figures that could be read two ways ("12.450", a decimal comma, a figure shown in two versions, a time in another time zone) produce no reading.
  6. The usual remedies are built in. A borrower in breach may cure it with fresh equity before a deadline; the lender may waive a breach; if a default continues past a grace period, the lender may call the loan, and a reserve funded at signing is applied automatically. All dates are fixed in advance, so the result never depends on who acts first.

The model's role is deliberately narrow: it copies what a human-readable page says. It never decides whether a covenant passed. For the prototype we used GenLayer, a blockchain on which a group of validators can each read a public web page and must reach the same result.

Demonstrated evidence

We ran five fictional facilities end to end on two public test networks, each telling a different story: a borrower compliant throughout; one whose margin steps up as leverage rises; one that breaches its leverage covenant and cures it with equity; one whose interest-cover breach cannot be cured, ending in default, acceleration and write-off; and one whose report is late, which the lender waives. On the second network, 63 transactions were all decided by majority agreement, and the recorded history was checked against the chain transaction by transaction. The software passes 369 automated tests, including a randomised test that keeps the books exact over random sequences of actions, and 198 of 198 deliberate breaks of the code were caught.

Directions for further research

  1. Confidential reporting. Most private-credit reporting is confidential, while our prototype reads public pages. It suits borrowers that already publish (listed or bond-issuing companies). Can readers verify access-controlled or encrypted reports, for example through attested data rooms or zero-knowledge proofs?
  2. Definitions. Real facility agreements define EBITDA and debt with many adjustments, while our prototype uses the labels the borrower prints. Can negotiated definitions be expressed as machine-checkable rules?
  3. Document formats. Many compliance certificates are PDFs or spreadsheets, not web pages. How reliable is machine reading across these formats?
  4. Misreporting. No reader can detect figures that are false at source. How can automated testing be combined with audit, bank-statement data or other independent signals?
  5. Fuller agreements. Real loans have cross-default, insolvency, change-of-control and information covenants that our prototype does not model. Which of these can be automated, and which must remain human judgement?
  6. Portfolio use. For lenders with hundreds of facilities, the value lies in consistent, auditable monitoring. How would this integrate with existing loan-administration systems?
  7. Regulatory view. Would supervisors accept machine-read covenant tests as part of a lender's monitoring controls?

Feedback from private-credit managers, loan agents and administrators would help shape the next stage.

References and materials

  1. Universal Asset Owners, Private credit market size: https://www.universalassetowners.com/private-credit-market-size/
  2. S&P Global, Unlocking the next stage of private credit growth: https://www.spglobal.com/en/research-insights/special-reports/look-forward/partner-perspectives/unlocking-potential-ahead-with-vanguard/unlocking-the-next-stage-of-private-credit-growth
  3. Source code and full technical documentation (open source, MIT): https://github.com/brilliantnodes/privatecredit-gate
  4. Video (71 s): https://www.youtube.com/watch?v=d7g2sU8bzn0
  5. Interactive demo: https://privatecredit.brilliantnodes.com

Every company, figure and report in the demonstration is fictional. Test tokens only. Not an offer of credit and not investment advice.