Curvestone

Review Facility Agreements

Check loan facility documents against agreed heads of terms and flag deviations.

Who is this for

Legal Teams & Credit Teams at lenders, borrowers, or law firms handling finance transactions. You need to verify that the final facility agreement matches the agreed heads of terms — checking covenants, representations, conditions precedent, and commercial terms.

What you'll do

  • Upload the facility agreement and the heads of terms (plus any side letters)
  • The agent compares every commercial term, covenant, and condition clause-by-clause
  • Receive a structured deviation report with severity, clause references, and remedial actions
  • Add the multi_lender modifier for syndicated deals to check inter-creditor provisions

Submit a facility agreement review

Upload the facility agreement alongside the heads of terms. The agent identifies every deviation between the two documents.

facility_review.py
python
from curvestone import Agent
agent = Agent()
result = agent.check(
case_type="facility_agreement_review",
depth="comprehensive",
documents=[
open("facility_agreement.pdf", "rb"),
open("heads_of_terms.pdf", "rb"),
open("side_letter.pdf", "rb"),
],
reference="FAC-2026-00089",
)
print(result.triage) # green | amber | red

Response

The agent checks each area of the facility agreement against the heads of terms:

response.json
json
1{
2 "id": "job_8nPk3vRqM2",
3 "type": "check",
4 "status": "completed",
5 "triage": "amber",
6 "reference": "FAC-2026-00089",
7 "processing_time": "145s",
8 "checks": [
9 { "name": "Commercial Terms", "triage": "green" },
10 { "name": "Financial Covenants", "triage": "amber" },
11 { "name": "Conditions Precedent", "triage": "green" },
12 { "name": "Representations & Warranties", "triage": "green" },
13 { "name": "Events of Default", "triage": "green" },
14 { "name": "Security Requirements", "triage": "amber" }
15 ],
16 "findings": [
17 {
18 "severity": "amber",
19 "check": "Financial Covenants",
20 "finding": "Leverage covenant in the facility agreement is set at 3.5x ...",
21 "remedial_action": "Align leverage covenant with heads of terms ..."
22 },
23 {
24 "severity": "amber",
25 "check": "Security Requirements",
26 "finding": "Facility agreement requires a floating charge over all assets ...",
27 "remedial_action": "Revise security clause to match heads of terms ..."
28 }
29 ],
30 "cost": "£8.00"
31}

What happens

Clause-by-clause comparison

The agent maps every clause in the facility agreement back to the corresponding provision in the heads of terms. Deviations in commercial terms, covenants, conditions precedent, and security requirements are flagged with severity.

Side letter integration

When side letters or amendments are included, the agent considers them as part of the agreed terms and checks the facility agreement against the combined position.

Multi-lender deals

Add the multi_lender modifier for syndicated facilities. This adds checks for inter-creditor agreement provisions, priority of payments, and subordination mechanics.