Curvestone

Legal

SRA Standards, AML Regulations — Legal due diligence and document review

Quick Reference

minimal.py
python
result = agent.check(
case_type="lease_comparison",
depth="standard",
documents=[open("lease_draft.pdf", "rb")],
reference="LEG-2026-00107",
)

Case Types

NameAPI IDDescription
M&A Due Diligencema_due_diligenceMerger and acquisition target assessment
Lease Comparisonlease_comparisonLease clause-by-clause comparison against master template
Regulatory Filingregulatory_filingRegulatory submission completeness and accuracy review

Modifiers

NameAPI IDApplies ToDescription
Cross-Jurisdictioncross_jurisdictionma_due_diligence, regulatory_filingAdds multi-jurisdiction regulatory analysis
High Riskhigh_riskAll case typesEnhanced AML and sanctions screening
Listed Entitylisted_entityma_due_diligencePublic company additional disclosure requirements

Depths

NameAPI IDDurationScoringPriceDescription
Preliminarypreliminary~30spass_fail£0.50Document presence, basic structure validation
Standardstandard~2 minrag£3.00Full document review with clause analysis
Comprehensivecomprehensive~3 minrag£8.00Standard + cross-reference analysis, precedent comparison

Scoring Modes

pass_fail

Used by preliminary. Each check returns pass or fail. The overall result is pass if all checks pass, or fail if any check fails.

rag

Used by standard and comprehensive. Each check returns green (matches template, no issues), amber (deviation from standard, needs attention), or red (significant issue or missing critical element). Amber and red findings include descriptions and remedial actions. The overall triage is the worst-case result across all checks.

Worked Example

Lease comparison at comprehensive depth.

Request

request.py
python
from curvestone import Agent
agent = Agent()
result = agent.check(
case_type="lease_comparison",
depth="comprehensive",
documents=[
open("lease_draft.pdf", "rb"),
open("master_template.pdf", "rb"),
],
reference="LEG-2026-00107",
)

Response

response.json
json
1{
2 "id": "job_2mKp5vXqR8",
3 "type": "check",
4 "status": "completed",
5 "triage": "red",
6 "reference": "LEG-2026-00107",
7 "processing_time": "174s",
8 "scoring": "rag",
9 "checks": [
10 { "name": "Rent Escalation Clause", "triage": "red" },
11 { "name": "Break Clause", "triage": "green" },
12 { "name": "Repair Obligations", "triage": "amber" },
13 { "name": "Insurance Requirements", "triage": "green" },
14 { "name": "Assignment & Subletting", "triage": "green" }
15 ],
16 "findings": [
17 {
18 "severity": "red",
19 "check": "Rent Escalation Clause",
20 "finding": "The draft lease contains an uncapped RPI-linked rent escalation clause with no cap or collar mechanism. The master template requires escalation to be capped at the higher of RPI or 3% per annum. This deviation exposes the tenant to unlimited rent increases.",
21 "remedial_action": "Amend clause 4.2 to include a cap mechanism aligned with the master template: escalation at the lower of RPI and 5% per annum, with a floor of 1%. Ensure the review date frequency matches the template (annually, not bi-annually as drafted)."
22 },
23 {
24 "severity": "amber",
25 "check": "Repair Obligations",
26 "finding": "The repairing covenant in the draft is a full repairing and insuring (FRI) lease, but the master template specifies an internal repairing obligation only for units under 2,500 sq ft. The subject property is 1,800 sq ft.",
27 "remedial_action": "Revise the repairing covenant from FRI to internal repairing only, consistent with the master template threshold for properties under 2,500 sq ft. Ensure the landlord retains responsibility for structural and external repairs."
28 }
29 ],
30 "cost": "£8.00"
31}

Ask

Use POST /ask to ask natural-language questions about a completed legal job, a document, or regulatory requirements.

Example questions

  • Does this lease contain any non-standard clauses that differ from the master template?
  • What AML risks are flagged in this due diligence report?
  • Summarise the key differences between the two contract versions.
  • Are there any upcoming filing deadlines for this entity?
  • What regulatory requirements apply to this type of property transaction?

Questions can reference a job_id for context-aware answers grounded in the original documents and findings. £0.05 per turn.

Monitor

Use POST /monitor to set up recurring watches relevant to the legal cluster.

Monitor typeWhat it watchesTypical schedule
regulation_changeSRA Standards and AML Regulations updatesweekly
filing_deadlineUpcoming regulatory filing and compliance deadlinesdaily
website_changeLand Registry, Companies House, and regulatory body pagesweekly

Monitors can trigger downstream actions via on_finding — e.g. automatically re-run a check when lender criteria change. £15/month per monitor.

See also