SirenDesk Engineering

All work

LexLayer: from a pile of documents to a reviewed, ready matter.

Production, early users

Our role
Our own product, designed, built and operated end to end by our team.
Users
Two practising advocates
Live at
lexlayer.sirendesk.com
Stack
[API framework, database, OCR engine, model provider or local model, hosting]

Lawyers lose hours to intake: reading documents, pulling out key facts, filing them to the right matter, and tracking which stage each matter has reached. LexLayer gives every matter a workspace, extracts text from uploaded documents, and moves work through explicit states that are reviewed and recorded.

  1. Upload
  2. OCR and extraction
  3. Human review
  4. READY

Constraints

  • Client confidentiality comes first.
  • Scanned, low-quality documents are normal.
  • Lawyers won't rely on a result they can't trace back to its source.
  • Every change needs a record of who made it and when.

Key engineering decisions

DecisionAlternativeWhyTrade-off accepted
Each matter moves through an explicit state machine, ending in READYFree-form status fieldsPredictable workflows, an auditable history, no lost mattersNew workflows have to be modelled up front
OCR and extraction run as an asynchronous pipelineProcess synchronously on uploadLarge scans don't block the screen, and failed jobs can retryProgress and failure states have to be shown to the user
A person reviews and approves extracted results, and the approval is storedApply AI output automaticallyLawyers check before relying on output, which builds trustA human step stays in the loop by design
Workspaces and access are scoped to each matterOne shared document poolConfidentiality between matters and clientsA more involved permission model
The workflow doesn't depend on one model providerTie the workflow to one providerHosted, private or local models can be swapped in to suit confidentiality needsAn adapter layer to maintain

Failures the system handles

  • Unreadable scans are flagged for manual handling, never guessed silently.
  • Extraction below the confidence threshold goes to review.
  • Duplicate uploads.
  • Invalid state transitions are blocked.
  • OCR workers that fail are retried.

Results

In production with two practising advocates. [Measured figures to add: documents processed, intake time before and after, extraction accuracy on a sampled set]

How this applies to you

If your team re-keys documents into a case, claim or shipment system, LexLayer's pattern (intake, extraction, review, then a state change) is one we can adapt to your workflow.

All code is private. We offer code walkthroughs under mutual NDA.

See the workflow discovery sprint