Legal Contract Intelligence & Risk Analysis
● System Healthy
Total Agents
6
3 extraction · 3 decision
Tests Passing
12 / 12
100% pass rate
Obligations Detected
14
From last analysis · 5 critical
Risk Score
HIGH
3 clauses need review
Agent Confidence Scores
ContractParser
ObligationExtractor
DecisionExtractor
TaskPrioritizer
OwnerAssigner
EscalationDecider
Contract Risk Summary
ClauseRisk LevelIssue
Sec 4.2 — IP AssignmentCRITICALOverly broad IP assignment clause
Sec 9 — Non-CompeteCRITICAL2-year worldwide restriction
Sec 6.2 — Liability CapHIGHCap limited to 12 months only
Sec 3.2 — Late PenaltiesMEDIUM1.5%/month interest rate
Sec 8 — TerminationLOWStandard terms
Key Obligations Extracted
IDObligationPartyDeadlineSeverityStatus
OB-001Pay annual license fee of $500,000Licensee30 days from anniversaryHIGHUpcoming
OB-002Maintain confidentiality for 5 yearsBoth Parties5 years post-disclosureMEDIUMActive
OB-003Assign all derivative works to LicensorLicenseeOngoingCRITICALNeeds Review
OB-004Destroy software copies upon terminationLicensee10 business daysHIGHNoted
OB-005Non-compete for 2 years post-termLicensee2 years post-termCRITICALNeeds Review
OB-006Indemnify against IP infringementLicensorOngoingMEDIUMStandard

⚖ What is LEGALEX?

LEGALEX (Legal Document Intelligence) is a multi-agent system that automatically analyzes legal contracts, agreements, and documents. It extracts obligations, deadlines, compliance requirements, and risk clauses — then prioritizes review tasks, assigns responsible parties, and escalates high-risk items that need immediate legal attention.

⚡ How It Works

Upload or paste a legal contract. LEGALEX processes it through 6 autonomous agents that analyze the document layer by layer:

Step 1 — Extraction
📄 ContractParser
Parses the contract structure — identifies parties, effective dates, sections, clauses, and definitions. Creates a structured representation of the entire document.
Step 2 — Extraction
📋 ObligationExtractor
Identifies all obligations, commitments, and requirements for each party. Extracts deadlines, conditions, and penalty clauses tied to each obligation.
Step 3 — Extraction
💡 DecisionExtractor
Extracts key decision points — termination conditions, renewal terms, liability limits, indemnification clauses, and risk factors requiring legal review.
Step 4 — Decision
📈 TaskPrioritizer
Prioritizes review items by risk level and urgency — liability caps, indemnification gaps, and approaching deadlines get Critical/High priority.
Step 5 — Decision
👤 OwnerAssigner
Assigns each obligation and review task to the appropriate party — legal counsel, compliance team, business owner, or contract administrator.
Step 6 — Decision
🚨 EscalationDecider
Flags high-risk clauses for immediate escalation — unlimited liability, missing IP protections, unfavorable auto-renewal terms, or non-standard termination conditions.

🎬 Live Agent Pipeline Demo

Watch how LEGALEX analyzes a legal contract through all 6 agents in real-time

AGREEMENT: This SaaS Service Agreement ("Agreement") is entered into between Acme Corp and TechVendor Inc.
Section 4.2: Vendor shall maintain 99.9% uptime SLA. Failure to meet SLA results in service credits.
Section 7.1: Unlimited liability for data breaches involving PII. Vendor must notify within 72 hours.
Section 9.3: Agreement auto-renews for successive 2-year terms unless terminated with 90 days notice.
📄
Step 1
ContractParser
Idle
2 parties · 12 sections parsed
📜
Step 2
ObligationExtractor
Idle
5 obligations: SLA, liability, notice
Step 3
DecisionExtractor
Idle
3 risks: unlimited liability, auto-renew
📈
Step 4
TaskPrioritizer
Idle
P0: Liability · P1: Auto-renew
👤
Step 5
OwnerAssigner
Idle
Legal → Liability · Procurement → SLA
🚨
Step 6
EscalationDecider
Idle
⚠ Unlimited liability → Block sign
✅ Pipeline Complete — 6 agents processed in 3.8s
5
Obligations
3
Risk Items
2
Assigned
1
Escalations

🎯 Real-World Use Cases

SaaS Agreement Review
Automatically extract SLA commitments, data processing obligations, uptime guarantees, and liability caps from vendor SaaS agreements.
NDA Risk Analysis
Identify non-standard NDA clauses — overly broad definitions, perpetual terms, carve-out gaps, and jurisdiction risks across confidentiality agreements.
Vendor Contract Compliance
Track compliance obligations across hundreds of vendor contracts — payment terms, audit rights, insurance requirements, and renewal deadlines.
M&A Due Diligence
Rapidly analyze contract portfolios during acquisitions — surface change-of-control provisions, assignment restrictions, and material obligations.

🏗 Architecture

🔄
Orchestration Engine
Coordinates all 6 agents sequentially, managing state and passing structured data between each analysis step.
🛡
Circuit Breaker Recovery
Per-agent fault isolation prevents a single parsing failure from crashing the entire contract analysis pipeline.
📋
Full Audit Trail
Every extraction, confidence score, and decision is logged immutably — critical for legal compliance and regulatory audits.
📄 Upload Contract for Analysis LIVE AGENTS
📃
Drag & drop a contract file, or click to browse
.txt · .md · .pdf (text) supported
✦ Your contract is processed by the live 6-agent pipeline — real extraction, risk analysis, and obligation tracking.
Live Agent Results
Agent Breakdown
Extracted Obligations
ObligationPartySeverity
Clauses & Decisions
TypeDescription

— or analyze a sample contract —
📄
Contract
Parser
Extraction
Idle
📖
Obligation
Extractor
Extraction
Idle
🔍
Decision
Extractor
Extraction
Idle
📈
Task
Prioritizer
Decision
Idle
👤
Owner
Assigner
Decision
Idle
🚨
Escalation
Decider
Decision
Idle
Analysis Log
Upload a contract or select a sample to begin analysis…
Clauses Found
Obligations
Analysis Time
Source Contract — Master Software License Agreement
Total Tests
12
Passed
12
Failed
0
Duration
1.87s
Agent Tests
TestContractParser
test_basic_parsing0.24sPASS
test_empty_contract0.08sPASS
TestObligationExtractor
test_obligation_extraction0.19sPASS
TestDecisionExtractor
test_decision_extraction0.15sPASS
TestTaskPrioritizer
test_prioritization0.11sPASS
TestOwnerAssigner
test_owner_assignment0.14sPASS
Infrastructure Tests
TestRecoveryStrategies
test_retry_strategy0.05sPASS
test_recovery_manager0.06sPASS
TestCircuitBreaker
test_circuit_closed0.04sPASS
test_circuit_opens0.03sPASS
TestAuditLogger
test_log_event0.08sPASS
test_audit_export0.11sPASS
Total Events
18
Risks Flagged
5
Avg Confidence
82%
Escalations
2
Analysis Audit Timeline
09:14:01 · workflow
Contract Analysis Started
Master Software License Agreement — 10 sections
09:14:02 · agent
ContractParser → Complete
2 parties, 10 clauses, license agreement type
09:14:03 · risk
CRITICAL: IP Assignment Clause (Sec 4.2)
All derivative works irrevocably assigned without compensation
09:14:03 · risk
CRITICAL: Non-Compete Clause (Sec 9)
2-year worldwide — potentially unenforceable
09:14:04 · escalation
Escalated to Senior Legal Counsel
IP assignment + non-compete require partner review
09:14:05 · workflow
Analysis Complete
14 obligations · 5 risk items flagged
Decision Reasoning
CRITICALIP Assignment — Section 4.2
• Derivative works assigned irrevocably
• No additional compensation specified
• Overly broad scope may include pre-existing IP
• Recommend: narrow to Software-specific modifications
CRITICALNon-Compete — Section 9
• 2-year post-termination restriction
• Worldwide geographic scope
• May be unenforceable in many jurisdictions
• Recommend: 12 months, defined market & geography
HIGHLiability Cap — Section 6.2
• 12-month fee cap (industry standard: 24 months)
• Narrow carve-outs for consequential damages
• Consider negotiating higher cap or broader exceptions
Circuit Breakers
6
All closed
Recoveries
3
Retry Rate
100%
Uptime
99.9%
Circuit Breaker Status
ContractParser
CLOSED
0 failures
ObligationExtractor
CLOSED
0 failures
DecisionExtractor
CLOSED
0 failures
TaskPrioritizer
CLOSED
0 failures
OwnerAssigner
CLOSED
0 failures
EscalationDecider
CLOSED
0 failures