Legal
SRA Standards, AML Regulations — Legal due diligence and document review
Quick Reference
result = agent.check(case_type="lease_comparison",depth="standard",documents=[open("lease_draft.pdf", "rb")],reference="LEG-2026-00107",)
Case Types
| Name | API ID | Description |
|---|---|---|
| M&A Due Diligence | ma_due_diligence | Merger and acquisition target assessment |
| Lease Comparison | lease_comparison | Lease clause-by-clause comparison against master template |
| Regulatory Filing | regulatory_filing | Regulatory submission completeness and accuracy review |
Modifiers
| Name | API ID | Applies To | Description |
|---|---|---|---|
| Cross-Jurisdiction | cross_jurisdiction | ma_due_diligence, regulatory_filing | Adds multi-jurisdiction regulatory analysis |
| High Risk | high_risk | All case types | Enhanced AML and sanctions screening |
| Listed Entity | listed_entity | ma_due_diligence | Public company additional disclosure requirements |
Depths
| Name | API ID | Duration | Scoring | Price | Description |
|---|---|---|---|---|---|
| Preliminary | preliminary | ~30s | pass_fail | £0.50 | Document presence, basic structure validation |
| Standard | standard | ~2 min | rag | £3.00 | Full document review with clause analysis |
| Comprehensive | comprehensive | ~3 min | rag | £8.00 | Standard + 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
from curvestone import Agentagent = 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
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 type | What it watches | Typical schedule |
|---|---|---|
| regulation_change | SRA Standards and AML Regulations updates | weekly |
| filing_deadline | Upcoming regulatory filing and compliance deadlines | daily |
| website_change | Land Registry, Companies House, and regulatory body pages | weekly |
Monitors can trigger downstream actions via on_finding — e.g. automatically re-run a check when lender criteria change. £15/month per monitor.