Skip to content

A private legal assistant grounded in verified precedents

A private knowledge assistant that searches internal case files and precedents, providing cited answers legal teams can verify in seconds.

Ask · Kestrel Row Holdings v. Pardoe Foods
M-2024-0187 · Nora Castellano, Senior associate · Litigation · every matter you can see, walls applied at retrieval
Private tenant Thu, 09/17/2026NC
Question · asked 11:52 AMFollowing Dalgliesh v. Ferris, does a repainting covenant reach structural remediation once the tenant's fit-out altered the surfaces?
Ask again

Retrieved passages

hybrid · top 5
Dalgliesh v. Ferris HoldingsAppellant brief · 2021 · p. 13 of 46 · cl. 4.20.93citable
Meridian Industrial LeaseAgreement · 2019 · p. 34 of 58 · sch. 30.88citable
Memo 21-088, alteration clausesInternal memo · 2021 · p. 2 of 7 · § 20.84citable
Okafor v. BellwetherOpinion · 2018 · p. 9 of 31 · ¶ 310.71below threshold
Dalby v. Ferriter EstatesOpinion · 2017 · p. 6 of 19 · ¶ 120.62below threshold
Dense similarity + exact termsParty names and citations must match exactly. The tick is the 0.72 threshold: below it, shown but never cited.

Answer A-2291

verified 11:52 AM
Verification pass3 supported1 struck4 assertions
1
The covenant runs to decoration as executed, not to the structure beneath it.Dalgliesh, p. 13
2
Where the fit-out altered a surface under clause 9, the obligation attaches to the surface as altered.Dalgliesh, p. 13Memo 21-088, p. 2
3
The Meridian lease expressly carves structural remediation out of its redecoration covenant.Meridian Industrial Lease, p. 34
4
Courts have since applied the same reading in later arbitrations.Struck: No passage states this. Best: Okafor ¶ 31 at 0.38
3 pages cited · all resolveAssertion 4 removed, not softened
Copy with cites

Dalgliesh v. Ferris Holdings

p. 13 of 46 · cl. 4.2Appellant brief
4.1 The Tenant shall, in the final three months of the Term, prepare and repaint all internal surfaces previously decorated, in colours first approved in writing by the Landlord, such approval not to be unreasonably withheld.
chunk c-0413 · cl. 4.2 · p. 134.2 On the true construction of the covenant, the obligation runs to decoration as executed, and not to the structure upon which it was executed.1 Where the Tenant has altered a surface in the course of works permitted under clause 9, the obligation attaches to the surface as altered.2 The Respondent's contrary reading cannot stand.
4.3 Nothing in this clause obliges either party to remediate a structural defect, whether or not the same is disclosed by the works of redecoration, and the Respondent's reliance on the schedule of condition is misplaced for the reasons given at paragraphs 38 to 41 below.
4.4 The Appellant accepts that clause 9 works were carried out with consent. It does not follow that consent to alteration enlarged the repainting covenant into a repairing one.
Open page 13not the document

How the work was scoped

Industry

Legal & Law Firms

Duration

14 weeks

Cooperation model

Time & materials

Services
Knowledge retrievalCitation engineSecurity controls
Integrations
HubSpotDocuSignXeroGoogle Workspace
Technologies
PythonFastAPIOpenAI GPT-4oPinecone Vector DBReactTypeScript
Team
1 Project lead1 Product designer1 ML engineer1 Backend engineer1 Data engineer1 QA engineer

Client name withheld under NDA. Engagement details are shown to the extent our agreement permits.

01

Citation-Grounded Precedent Search

Searches thousands of internal firm documents and case filings with exact page citations.

Filings are chunked on structural boundaries (clause, section, paragraph) instead of a fixed token window, so a retrieved passage is a complete legal thought and its page number is the page it actually appears on. Retrieval is hybrid, because case citations and party names are exactly what dense embeddings blur. Every answer links to the page, not just the document.

What shipped
  • Chunked on clause and section boundaries, never token windows
  • Hybrid retrieval, so citations and party names match exactly
  • Answers cite the page, never just the document
Dalgliesh v. Ferris Holdingsp. 13
Opened from answer A-2291, assertion 1 · Appellant brief, 2021 · the page the chunk is on, not page one
Copy pinpoint cite Thu, 09/17/2026NC

Source page

Retrieved chunk bounded · sentences the answer rests on marked
13 / 46Cited by A-2291 · assertions 1, 2 rests on chunk
Appellant’s Opening BriefNo. 21-cv-0448
IV. The repainting covenant does not reach the structure
4.1 The Tenant shall, in the final three months of the Term, prepare and repaint all internal surfaces previously decorated, in colours first approved in writing by the Landlord, such approval not to be unreasonably withheld.
chunk c-0413 · cl. 4.2 · p. 134.2 On the true construction of the covenant, the obligation runs to decoration as executed, and not to the structure upon which it was executed.1 Where the Tenant has altered a surface in the course of works permitted under clause 9, the obligation attaches to the surface as altered.2 The Respondent's contrary reading cannot stand.
4.3 Nothing in this clause obliges either party to remediate a structural defect, whether or not the same is disclosed by the works of redecoration, and the Respondent's reliance on the schedule of condition is misplaced for the reasons given at paragraphs 38 to 41 below.
4.4 The Appellant accepts that clause 9 works were carried out with consent. It does not follow that consent to alteration enlarged the repainting covenant into a repairing one.
13
c-0413starts p. 13 · ends p. 13 · boundary: clause 4.2NC opened 11:53 AM

Why this passage ranked first

rank = dense-only position
PassageDenseExactHybridRank
Dalgliesh v. Ferris Holdingsp. 13 · cl. 4.20.810.93#2
Meridian Industrial Leasep. 34 · sch. 30.840.88#1
Memo 21-088, alteration clausesp. 2 · § 20.770.84#4
Okafor v. Bellwetherp. 9 · ¶ 310.74—0.71#5
Dalby v. Ferriter Estatesp. 6 · ¶ 120.79—0.62#3
Tellbrook Partners v. Axfordp. 21 · § 40.70—0.60#6
Dense-only put Dalby v. Ferriter third: the name is close, the case is not. The exact match on “Dalgliesh v. Ferris” drops it below the line.

Where the chunk begins and ends

pp. 12–14, clauses 4.1–4.4
Structural · usedOne chunk per clause. Page 13 is where 4.2 is.
4.14.24.34.4
p. 12p. 13p. 14
Fixed 256-token window · not usedWindows cut 4.2 mid-sentence and straddle pp. 12–13.
4.14.24.34.4
p. 12p. 13p. 14
A window’s page number is wherever it started. A clause’s is where it is.
On screen

A citation opened to page 13 of 46, the retrieved chunk bounded by the clause it belongs to and the two sentences the answer rests on marked. Beside it: why hybrid retrieval ranked it first when dense similarity alone preferred a near-namesake, and where a fixed token window would have cut the clause.

Verification pass · A-2291
A separate pass after generation checks every assertion against source text · unsupported claims are struck outright
3 of 4 grounded Thu, 09/17/2026NC

Assertions, checked one at a time

Nora Castellano · M-2024-0187
QuestionFollowing Dalgliesh v. Ferris, does a repainting covenant reach structural remediation once the tenant's fit-out altered the surfaces?
1
The covenant runs to decoration as executed, not to the structure beneath it.SupportedChecked againstDalgliesh, p. 130.94Matches cl. 4.2, sentence 1, on p. 13
2
Where the fit-out altered a surface under clause 9, the obligation attaches to the surface as altered.SupportedChecked againstDalgliesh, p. 13Memo 21-088, p. 20.89Matches cl. 4.2, sentence 2; memo § 2 applies it
3
The Meridian lease expressly carves structural remediation out of its redecoration covenant.SupportedChecked againstMeridian Industrial Lease, p. 340.91Matches sch. 3, para. 2, on p. 34
4
Courts have since applied the same reading in later arbitrations.StruckBest candidateOkafor, p. 9 · ¶ 310.38No passage states this. Best: Okafor ¶ 31 at 0.38
What the associate seesAssertions 1–3 with their page citations. Assertion 4 is gone, not rewritten as "may have been applied".
Render answer

Answer A-2296

Refused · 11:38 AM
Who bears insurance on retained works during partial possession under the Pardoe lease?
The corpus doesn't contain this answer.No passage on M-2024-0187 clears the 0.72 grounding threshold, so nothing is generated.
Closest passages, not cited
Okafor v. Bellwether, p. 9discusses retention, not insurance
0.61
Memo 21-104, p. 1raises the question; answers another
0.55
Dalgliesh v. Ferris, p. 22insurance mentioned in passing, no holding
0.48
Add a documentSend to counsel

Today · 184 answers

from the audit log
Rendered141Sign-off queue32Refused11
0answers rendered with an assertion no source supports
02

Strict Anti-Hallucination Engine

On screen

The verification pass for one answer: each assertion with the passage it was checked against and its support score, the ungrounded one struck outright. Beside it, a refusal listing its three near-misses, and the day's 184 answers with none rendered unsupported.

Verifies every AI response assertion against source legal text before rendering.

After generation, a separate verification pass checks every assertion in the answer against the source text; anything unsupported is struck outright. The assistant is allowed to say the corpus doesn't contain the answer, and it often does. Refusal was designed in as an acceptable outcome, because in this domain the only truly expensive answer is a confident wrong one.

What shipped
  • Separate verification pass over every assertion
  • Unsupported claims struck, never hedged
  • Refusal is a first-class outcome, not a failure
03

Private Single-Tenant Vector Storage

Isolated single-tenant vector database guaranteeing strict attorney-client privilege.

Each firm gets its own vector namespace and its own encryption key, so isolation lives in the storage itself, where no one can forget to add it to a query. Nothing leaves the tenant boundary for training, embeddings included. Matter-level access control is applied at retrieval, so a lawyer walled off from a matter can't reach its text even through a general question.

What shipped
  • Per-firm namespace and key: isolation in storage, not in a filter
  • No tenant content used for training, embeddings included
  • Matter-level walls enforced at retrieval time
Access & audit
Isolation is a property of the storage: one namespace and one key for Ashcombe Reade LLP · matter walls applied before scoring
Export log Thu, 09/17/2026NC
Vector namespacens/ashcombe-readeSingle tenant · no shared index
Encryption keykek/ashcombe-reade/2026-08Firm's own · rotated 08/03/2026
Training useNoneEmbeddings included
Walled today74 walled matters active

Retrieval log · today

11 most recent of 184
TimeWhoQuestionMatterOutcomePsg
11:52 AMNCRepainting covenant after clause 9 worksM-2024-0187Passages served3
11:47 AMJTHarlan Mills indemnity cap draftsM-2023-0412Walled0
11:44 AMABForum selection, 2017 sub-leaseM-2022-0198Passages served2
11:38 AMNCInsurance on retained worksM-2024-0187Refused0
11:31 AMRWAll notice-period rulings since 2019All visiblePassages served5
11:26 AMJTInsurer reservation-of-rights lettersM-2025-0021Walled0
11:19 AMMKQuayline demurrage calculationM-2026-0077Passages served4
11:12 AMLPExpert fees recoverable as costsAll visiblePassages served3
11:05 AMDSBellwether trustee minutes, 2021M-2022-0310Walled0
10:58 AMABWaiver by conduct, lease renewalsAll visiblePassages served4
10:51 AMRWOkafor distinguishing DalglieshAll visiblePassages served2
Every question and answer written under the tenant key. Other tenants: not queryable from here.

Matter walls

enforced at retrieval
Harlan Mills acquisition disputeM-2023-0412 · Conflict · lateral hire
4 walled
Pardoe Foods, insurer claimM-2025-0021 · Adverse insurer
6 walled
Bellwether estate, trusteesM-2022-0310 · Former client
2 walled
Quayline Freight v. OstranderM-2026-0077 · Screened partner
3 walled
A general question that reaches a wallJT · 11:47 AM · “Harlan Mills indemnity cap drafts”
namespacens/ashcombe-reade
walls(JT)M-2023-0412, M-2025-0021
excludedbefore scoring, not after
passages0
answernone · logged
The walled text never enters the ranking, so no answer can quote it.
On screen

Access and audit: the firm's own vector namespace and key, no training use with embeddings included, the day's retrieval log with walled and refused questions marked, and the matter walls that remove walled text before scoring.

Introduction

What we were brought in to do

Associates spent hours digging through past filings for relevant precedents. We built a private RAG assistant that answers with citations drawn only from the firm's own documents.

A litigation practice with about twelve years of filings, briefs and internal memos, and associates who searched them by asking a partner who might remember. Two things forced the engagement at once: a general-purpose assistant had appeared in the firm without approval, and a competitor had lost a client over a data exposure. The brief was simple: a private assistant or none at all.

AI Integration

Where the old way broke

Attorneys needed fast access to past briefs and opinions without risking data exposure or relying on hallucinated online AI answers.

Full-text search over the archive returned everything and ranked nothing, so an associate looking for a precedent read forty documents to find two. What associates had started using instead was worse: a public model that produced confident, well-formatted, entirely fabricated citations. That failure mode can't be caught by reading the answer.

We engineered a private knowledge assistant that indexes internal documents, answers questions with pinpoint page citations, and enforces strict data isolation.

What we built together

04
  1. 01

    Indexed internal briefs, filings, and memo archives securely

    Chunks follow each filing's own clause and section structure, so every retrieved passage stands on its own and cites a real page.

  2. 02

    Built a RAG pipeline with sentence-level citation verification

    Partners defined what counted as an acceptable answer before any pipeline work, and the answer that a refusal is acceptable shaped everything downstream.

  3. 03

    Implemented strict tenant isolation and access controls

    Each firm gets its own vector namespace and key, with matter-level walls applied at retrieval, so isolation is built into storage instead of bolted on as a filter.

  4. 04

    Trained legal associates on prompt structure and verification

    Associates were trained to verify answers, not to write prompts, because the risk was always a plausible answer taken on trust.

Process

Phase by phase

  1. Phase 1: Legal Brief Indexing & Security Audit

    Private Vector Ingestion Pipeline

    Indexed private legal briefs, case precedents, and statutory filings inside single-tenant isolated vector storage.

    • Isolated Vector Pipeline
    • Security Audit Report
    • Legal Taxonomy Model
  2. Phase 2: Citation-Grounded UI Design

    Legal Assistant & Citation Interface

    Designed an intuitive query interface with sentence-level citation verification linking to original brief pages.

    • Legal Assistant UI
    • Citation Engine
    • Figma Design System
  3. Phase 3: Hallucination Guardrails

    Grounded Assertion & Verification Layer

    Engineered strict RAG verification rules prohibiting non-grounded model assertions and ensuring exact source mapping.

    • Grounded Verification Guardrails
    • Audit Trail Logger
    • Safety Sign-off
  4. Phase 4: Firm Rollout & Associate Onboarding

    Firm-Wide Deployment & SLA Monitoring

    Rolled out to 40+ legal associates, cutting research time per case brief by 68% with zero security incidents.

    • Firm Deployment Package
    • Associate Training Guide
    • SLA Performance Dashboard
Corpus
Private vector ingestion · filings, briefs and memos indexed inside the firm's own namespace
Tenant isolated Thu, 09/17/2026NC
Documents indexed12,418Filings, briefs, memos, opinions
Archive span2014 – 2026About twelve years of the practice
Chunks637,052Each with the page it sits on
BoundariesClause · section · ¶Never a fixed token window

Document sets

chunked on structure, page kept per chunk
SetDocsPagesChunksBoundarySynced
Filings5,03688,412241,860section · paragraph9:40 AM
Briefs4,212101,288296,104section · paragraph9:40 AM
Internal memos2,41814,50638,770heading · paragraph9:52 AM
Opinions75221,93060,318paragraph (¶)8:15 AM
Totals: 12,418 documents · 637,052 chunks · written only to ns/ashcombe-reade

Security audit · phase 1

before the first index
Single-tenant vector namespacens/ashcombe-reade
Per-firm encryption keykek/ashcombe-reade/2026-08
No training on tenant contentEmbeddings included
Matter walls mapped to retrieval4 walled matters
Audit trail on every questionQuestion, passages, outcome
Security audit reportSigned off before rollout

Engagement · 14 weeks

four phases
1234567891011121314
01 Brief indexing & security audit
02 Citation-grounded interface
03 Hallucination guardrails
04 Firm rollout & onboarding
Partners defined an acceptable answer before any retrieval work began.

Associate onboarding

verification, not prompting
40+associates, firm-wide
M1
Open the page, not the answerEvery citation resolves to a page
M2
Read a refusal as a resultNear-misses, then a document or counsel
M3
Know what sign-off is forLow-confidence answers wait for a partner
The risk was a plausible answer taken on trust.
On screen

The corpus: filings, briefs, memos and opinions from 2014 to 2026 chunked on structure inside the firm's namespace, the phase-one security audit checklist, the four phases of the 14-week engagement, and onboarding for 40+ associates built around verification.

Operational results after launch

−68%

Research time per brief

100%

Answers with citations

0

Access & data leaks

Research time is measured per brief against a matched sample of comparable briefs from the previous year, chosen by the partners and not by document length. The citation figure is structural, not sampled: an answer without a resolvable citation is never rendered. The access and leak count comes from the audit log over the first two quarters.

Client name withheld under NDA. Figures are approximate, drawn from the engagement’s own reporting.

About our collaboration

A cross-functional team of 6 worked on a time & materials basis over 14 weeks, covering Knowledge retrieval, Citation engine, Security controls. We ran daily standups with an in-house lead in the room, and a demo at the end of every sprint. Scope changed twice during the engagement, and both times the change was priced and agreed before work started.

Partners defined what counted as an acceptable answer before any retrieval work, and that definition shaped the build: a refusal is acceptable, a hedge isn't, and a citation must resolve to a page. Associates were trained on verification over prompting, because the risk was never a bad question. It was a plausible answer taken on trust.

What we'd carry into the next one

03
  1. 01

    Legal research handle time per case brief dropped by 68%.

    The time went into reading, and citations fixed that: an associate opens two pages instead of forty, because they know which two.

  2. 02

    Sentence-level citation verification means every rendered answer cites the page it came from, and any assertion it can't ground is struck before anyone sees it.

    Permitting a refusal is what makes the grounding claim mean something. A system that must always answer will eventually invent one.

  3. 03

    Single-tenant isolation ensured complete data privacy across client files.

    Isolation in the storage layer is why zero is a claim and not a hope: no query exists that could return another firm's text.

One question, three ways to answer it

A confident wrong answer is the expensive one.

The same precedent question put to the old full-text search, to a public model and to LexiMind's verification pass. Then ask one the firm's documents can't answer, and see which of the three admits it. Switch tabs, or use the arrow keys once one is focused.

QuestionFollowing Dalgliesh v. Ferris, does a repainting covenant reach structural remediation once the tenant's fit-out altered the surfaces?
  • The covenant runs to decoration as executed, not to the structure beneath it.Dalgliesh, p. 130.94
  • Where the fit-out altered a surface under clause 9, the obligation attaches to the surface as altered.Dalgliesh, p. 13Memo 21-088, p. 20.89
  • The Meridian lease expressly carves structural remediation out of its redecoration covenant.Meridian Industrial Lease, p. 340.91
  • Courts have since applied the same reading in later arbitrations.Struck, not hedged · No passage states this. Best: Okafor ¶ 31 at 0.380.38

Three assertions render, each opening the page it rests on. The fourth sounded right and had no source, so it's gone, not softened.

Illustrative: scores, the 0.72 threshold (tick mark) and the public model’s case names are invented for this demonstration. Forty documents to find two is the study’s own account of the old search.

Architecture

From a filing in the archive to a sentence an associate can check

Built around what goes wrong in legal research: a page number that is wrong, a party name that blurs, an answer that should never have been shown, and text that leaves the firm.

  1. 01 · Source
    The firm's archiveBriefs · filings · memos · opinionsAbout twelve years of the practice's own documents. Nothing from outside the firm is indexed or quoted.
  2. 02 · Ingest
    Structural chunkingPython · FastAPISplit on clause, section and paragraph boundaries, never a token window, so every chunk carries the page it's really on.
  3. 03 · Engine
    Retrieve, generate, verifyHybrid retrieval · GPT-4oExact matching keeps party names and citations sharp. A separate pass checks every assertion; unsupported ones are struck, and refusal is allowed.
  4. 04 · Storage
    Single-tenant vectorsPinecone · per-firm namespaceOne namespace and one key per firm, matter walls applied at retrieval, and no tenant content used for training, embeddings included.
  5. 05 · Client
    The associate's screenReact · TypeScriptAn answer without a resolvable citation is never rendered. Each citation opens the page, and every question lands in the audit log.

Privilege stays inside the firm

Tenant isolation, matter walls & no training use

No query can return another firm's text

Each firm has its own vector namespace and its own encryption key. Isolation lives in the storage, so there's no filter for someone to leave out of a query. The audit log recorded zero access or data leaks over the first two quarters.

A wall holds against a general question

Matter-level access control is applied at retrieval, so a lawyer walled off from a matter can't reach its text by asking broadly. Walled passages never enter the ranking, so no answer can quote them.

Nothing leaves the tenant for training

No tenant content is used to train anything, embeddings included. The documents are indexed to answer the firm's own questions and for nothing else.

Need AI answers your lawyers can verify, without privileged documents leaving the firm? Scope your build in three minutes.

Scope your build
Have a project?

Let's talk

Running a large platform, shaping a first MVP, or getting a product ready for a funding round? Tell us where you are. We'll shape the process around it, and stay with you after launch.