LexCore platform architecture

Eleven systems for legal review, redlining and audit proof, in one product

LexCore is a vertically integrated, jurisdiction-specific legal platform. It is not a chat box with a legal prompt. OCR ingestion, multi-agent adversarial review, native Word redlines and a cryptographic audit chain are one system, built for Nigerian practice, and every finding is anchored to an exact span of your document before it reaches you.

01Core guardrail

CitationGate verification engine

Quotes checked against exact character offsets

Every AI assertion is checked mechanically against the raw document text. If the exact character span cannot be verified, the finding is dropped. Each result gets a traffic light: green (verified, clean offset), amber (challenged or stale citation) or red (contradicted or unresolvable quote).

✓Exact character start and end offsets (e.g. @14,230–14,312)
✓Citations that cannot be grounded fail closed and are dropped
✓Confidence probe score (0 to 100%) and a citation freshness rating
✓An audit-logged verification receipt for every reviewed clause
System module // citation-gate
[TRAFFIC: GREEN] Character range @9,441–9,495 matched 100%. Confidence: 99.4%.
[TRAFFIC: AMBER] Citation present but precedent stale (CA/L/2019 superseded).
[TRAFFIC: RED] Assertion ungrounded in text. Dropped from report.
API version: /api/v1/casesRequest demo →
02Reasoning engine

Multi-agent adversarial debate

Specialist agents review the document over several rounds

The agents are picked for the type of document in front of them: Commercial Risk, Nigerian Jurisdiction, Regulatory Compliance, Ambiguity Detection. They work blind and in parallel for up to three rounds. An arbiter settles conflicting findings, and a conflict it cannot settle goes to a lawyer as a Human Gate.

✓Specialists chosen by the contract's jurisdiction and subject matter
✓Up to 3 debate rounds, set by plan, with an arbiter to resolve conflicts
✓Fixed credit pricing: each extra round costs 110% of the first
✓Full debate transcripts in the reasoning trace panel
System module // multi-agent
Jurisdiction Agent (Nigeria)Citations verified
Commercial Risk AgentCitations verified
Regulatory Specialist (Nigerian law)Citations verified
API version: /api/v1/casesRequest demo →
03Playbook engine

Playbook comparison and clause intelligence

Hold the line on house positions, fallbacks and precedent

Compares incoming contract terms with your firm's or organisation's structured playbook. It flags deviations in liability caps, indemnities, IP rights and governing law, then suggests the pre-approved Tier 1 and Tier 2 fallback clauses to put in their place.

✓Your own rules for standard and non-standard positions
✓Structured fallback hierarchy (Standard → Fallback 1 → Fallback 2 → Hard Stop)
✓A precedent counter showing how often the same clause appeared in past deals
✓Approved house language dropped into the redline in one click
System module // playbook-matcher
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
04Document engine

Native Word (.docx) redline engine

Character-level OpenXML tracked changes that leave the layout alone

We edit the OpenXML package inside the Microsoft Word file directly. What comes out is native tracked changes (w:ins and w:del elements) and margin comments (w:comment), with complex tables, legal numbering and firm formatting intact.

✓Keeps your Word formatting, headers, footers and styles
✓Tracked insertions and deletions, exact to the character
✓Native Word sidebar comments tied to the text they refer to
✓Instant .docx download, ready for partner review or opposing counsel
System module // native-word
OpenXML output
• w:ins author="LexCore" date="2026-08-20"
• w:del author="LexCore" (Liability cap modified)
• w:commentAnchor linked to Clause 14.2
API version: /api/v1/casesRequest demo →
05Ingestion

Dual ingestion and high-fidelity OCR

Parsing that keeps tables intact, for native and scanned documents

Takes native text and scanned PDFs of executed documents. There are two lanes. Mistral-OCR handles multi-column legal layouts, execution blocks and tables; Sovereign OCR does the same work entirely on local, air-gapped hardware. You see a scan fidelity score before review starts.

✓High-fidelity OCR that rebuilds tables and grids
✓A scan fidelity score, with a warning when the scan is degraded
✓Dual-lane routing: Quality OCR (cloud) or Sovereign OCR (local)
✓Pulls out the parties, execution date and governing law
System module // dual-ingestion
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
06Data sovereignty

Sovereign local inference and air-gap VPC

Processing on local, in-region compute with zero cloud egress

For confidential dispute memos, government agreements, and matters under strict privilege policies. Runs local CPU/GPU models (Gemma 4, Llama 3.1, Nomic Embed) on infrastructure you control: your own data centre, in Nigeria or anywhere else, or an air-gapped private VPC. No third-party AI provider sits in the document path.

✓Zero cloud model egress: text never touches OpenAI, Anthropic or Google
✓Air-gapped deployment option with cryptographically signed offline licensing
✓Enforced in router code: Sovereign matters cannot fall back to cloud
✓Data handling aligned with the Nigeria Data Protection Act (NDPA) 2023, with a published sub-processor register
System module // sovereignty
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
07Practice management

Matter management and proactive intake

Intake from every channel, obligation extraction and auto-docketing

Contracts arrive from Slack, WhatsApp, email and manual uploads, and land in one place. LexCore assigns the client Matter ID, pulls out the main obligations and puts court and statutory deadlines in your calendar.

✓Intake watchers for email inboxes, Slack channels, and WhatsApp
✓Automatic Matter ID tagging and client billing isolation (PostgreSQL RLS)
✓Counterparty memory across active and closed files, so every prior position is on hand
✓Litigation and contractual deadlines synced to your calendar
System module // matter-intake
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
08Safety architecture

Human Gates and the Lawyer Analysis Metric

Staged external actions, with a record of how much supervision each one had

External actions, such as client update emails, registry notices and redlines sent to counterparties, are staged and never fired automatically. Nothing goes out without explicit, recorded sign-off from an authorised human counsel. How much review a task needs before that sign-off is set by its Review Level, our implementation of the Lawyer Analysis Metric (LAM). The level is chosen before the work starts and stored with it, so supervision is on the record rather than assumed.

✓Review Level set per task before the work, not reconstructed afterwards
✓Staged effects expire if nobody authorises them within the configured time limit
✓Only lawyer roles can approve an edit to a document
✓Reversible staging, so nothing fires by accident
✓The authorising user and timestamp are logged every time
System module // human-gates
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
09Entity and compliance

Regulatory radar and corporate entity intelligence

Nigerian statute tracking and CAC company lookup

Tracks Nigerian legislative and regulatory changes, such as FCCPC guidance and CBN circulars, and flags contract terms that fall foul of them. If a deployment has access to the Corporate Affairs Commission (CAC) registry, company numbers (RC/BN) and directors can be checked against it. Without that access, the check reports unavailable instead of guessing.

✓Continuous monitoring of Nigerian law and regulation
✓CAC company checks where registry access is configured
✓Directors and ultimate beneficial owners cross-referenced
✓A compliance calendar with statutory filing reminders
System module // regulatory-radar
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
10Visual workspace

Interactive twin-view and clause heatmap

Side-by-side comparison and a risk map of the whole document

The original text and the proposed redline sit side by side and scroll together. The clause heatmap shows where the risk sits across the whole contract, so a reviewer can go straight to the liability and indemnity sections that need attention.

✓Original and redline scroll in sync
✓A heatmap of risk severity across every page
✓Filter by risk category (Liability, Indemnity, IP, Termination)
✓A transaction timeline, with obligations docketed in date order
System module // twin-view
Part of the core LexCore engine. Telemetry, state changes and outputs stay in sync between the web app and the Word add-in.
API version: /api/v1/casesRequest demo →
11Audit integrity

Immutable cryptographic audit trail

SHA-256 hash chaining of every AI finding, gate and redline

Every contract change, reviewer annotation, AI reasoning trace and human gate approval is written to a cryptographic hash chain. The result is a tamper-evident custody receipt suitable for court submission, a regulatory audit or an internal governance review.

✓SHA-256 hash chaining on every state transition
✓Exportable PDF and JSON audit certificates with verification proofs
✓Tamper-evident logs with the exact timestamp, user ID and model lane
✓Meets evidentiary standards for dispute resolution and record-keeping
System module // audit-trail
HASH CHAIN:
#312: 8f9b4c02e1a4d782...
#313: 4a2e91cf8810b37d...
No mutable history · verified on write
API version: /api/v1/casesRequest demo →

See the whole platform on your own contracts

Book a 30-minute demo on the contract types you actually handle, or start a 60-day free trial with 400 review credits included (sign up by 31 October 2026).