← All work
InvestigationsCo-Build

On-Prem Legal Investigation Agent

Developed for a corporate investigations client: a private assistant that turns a pack of source documents into a dated, sourced summary of one subject, and answers questions from those documents only.

Client: Corporate investigations and due-diligence firm

The firm’s investigators read large packs of source material about a subject, such as news articles, court filings and corporate records, and write memos in a strict house style: every fact dated, every claim attributed to its source, nothing inferred. The first draft is slow, repetitive work that grows with the size of the pack. It is also high-stakes, because an invented fact or a misattributed source in a due-diligence memo is a professional liability, and confidential case material cannot go to a public AI service.

For this client we built a self-hosted assistant that runs entirely in their own cloud. An investigator uploads the source pack to a case workspace and names the person or company under investigation. The system groups related material by topic, summarises each group about that subject only, and puts it in date order. Every paragraph opens with the month and year and names its source. The prompts forbid outside knowledge, even about well-known subjects, and fixed checks after the model strip placeholders, half-finished sentences and closing commentary. Investigators can make a summary longer or shorter, and ask follow-up questions that are answered only from the documents, or with “not mentioned”. We tested fine-tuning the model on anonymised memos and dropped it: it added cost and risk without better drafts than careful prompts and checks. Each summary is a draft for the investigator to verify, not a finished memo.

It writes about one subject.

The investigator uploads the source pack and names a person or a company. Related material is grouped by topic, summarised and put in date order, and anything about other parties is left out.

Every claim carries its date and source.

Each paragraph opens with the month and year and names the document it came from. Fixed checks after the model strip placeholders, half-finished sentences and any closing commentary.

Nothing leaves the client’s cloud.

The app, the documents and the language model all run in the client’s own cloud tenancy. No case material is sent to a public AI service.

One pack, one subject.

A sample run with invented material: the documents go in, the summary comes out paragraph by paragraph, and two follow-up questions show what the assistant will and will not answer.

Sample run
  1. Upload

    12 documents: news articles, court filings, corporate records.

Invented sample material. Real case documents are never shown.

What the investigator gets

Source pack
12 documents
Subject
—
First draft
—
Follow-up question
—
Outside the pack
—

Checks on every draft

  • No outside knowledge
  • Month and year on every paragraph
  • No closing commentary