Product · Legal Tech

LegalAI Analytics: on-premises legal AI software for case-file analysis

LegalAI Analytics analyses multi-volume court case files - from 20,000 to 100,000 pages - with a local language model fine-tuned on Polish law. It runs on-premises, in the law firm's own infrastructure, so the files never leave it. The product is in development.

01Problem

Multi-volume case files: weeks of manual work

In criminal and commercial cases, the case files run to dozens of volumes. To prepare for a hearing, the team has to read thousands of pages, pick out the people, events and evidence, and then check whether the testimony and documents are consistent with each other. Done by hand, that takes weeks.

LegalAI Analytics is designed to cut this down to hours: it analyses case files of 20,000 to 100,000 pages and organises the information so that the lawyer can move on to assessing the case sooner.

General-purpose AI assistants are not up to this task, for two reasons:

  • confidentiality - case files are covered by professional secrecy, and often also by the secrecy of the proceedings; for many law firms, sending them to public AI services is out of the question,
  • specialisation - the model has to know Polish law and case law, and every result has to be traceable back to the case files.

That is why LegalAI Analytics runs locally and uses a model fine-tuned on Polish law.

02How it works

How it works: OCR, a language model, a knowledge graph and cross-verification

How case files are analysed in LegalAI Analytics Scans and case files go to the OCR module, which converts them into text. A language model fine-tuned on Polish law extracts the information, a knowledge graph organises the connections between the pieces of information, and cross-verification logic checks the consistency of the findings. Everything runs in the law firm's infrastructure; the corpus of judgments serves as the legal knowledge base. LAW FIRM INFRASTRUCTURE (ON-PREMISES) Case files scans, PDF OCR text from files Language model Polish law Knowledge graph links across the files Cross-verification consistent findings Case-law corpus 500,000 judgments no transfer outside the firm
Illustration: how case files are analysed - every component runs in the law firm's infrastructure.

OCR

Converts scans and case files into text that the model can work with.

Language model

A model fine-tuned on Polish law extracts the information that matters to the case.

Knowledge graph

Organises the connections between pieces of information from different parts of the case files, not just within a single document.

Cross-verification

Cross-verification logic (cross-examination logic) checks whether findings from different parts of the case files are consistent.

The legal knowledge base is a corpus of 500,000 judgments of the Polish Supreme Court and common courts. Combining the language model with a knowledge graph and rules (a neuro-symbolic approach) is meant to reduce the risk of the model “inventing” facts that are not in the case files.

03Results

Internal test results

  • 20×

    faster case-file analysis than manual work

  • > 85%

    F1 score for information extraction

  • < 1%

    hallucination rate

Internal test results of LegalAI Analytics on our own test set - not an independent audit and not a guarantee of results in any other project. The F1 score combines precision (how much of the information identified is correct) and recall (how much of the information in the case files the model found). A hallucination is an answer that cannot be supported by the content of the case files.

Before deploying the tool in a law firm, we recommend testing the model on your own anonymised case files, with measures agreed with your team - this is how we approach AI projects, as described on our private LLM page.

04Confidentiality

Professional secrecy, on-premises deployment and Zero Data Retention

LegalAI Analytics runs on-premises - on servers in the law firm's own infrastructure. Case files are not sent to a public cloud or to external AI providers.

Zero Data Retention: we process documents and queries without retaining them once processing is complete.

This architecture answers the questions every law firm asks before choosing an AI tool: where the data goes, who has access to it and whether it can be used to train a model.

What Polish law and the professional bodies say:

  • An advocate (adwokat) is obliged to keep secret everything they learn in connection with providing legal assistance (Art. 6(1) of the Law on the Bar).
  • A legal adviser (radca prawny) is obliged to keep secret everything they learn in connection with providing legal assistance (Art. 3(3) of the Act on Legal Advisers).
  • In criminal proceedings, an advocate or legal adviser may be examined as a witness on facts covered by professional secrecy only where this is necessary in the interests of justice and the circumstance cannot be established by other evidence (Art. 180 § 2 of the Code of Criminal Procedure).
  • In June 2026, the Polish Bar Council (NRA) added § 23e to the Rules of Advocates' Ethics: technological tools, including AI, may only play a supporting role, and information covered by professional secrecy must not be processed in tools that do not ensure its adequate protection (§ 23e of the Rules of Advocates' Ethics and Professional Dignity).

05Who it is for

Who LegalAI Analytics is for

Criminal law firms

Preparing for hearings in cases with multi-volume files - getting to the people, events and evidence faster.

Prosecutors' offices

Analysing extensive evidence within the office's own infrastructure - the data never leaves it.

E-discovery teams

Reviewing large sets of documents for information relevant to the case.

06Status

Product status

LegalAI Analytics is in development. We are not yet publishing a launch date or terms. If you would like to discuss deploying it in your law firm, or your own solution built on a local model, get in touch through the contact form - the enquiry topic is already selected. See also artificial intelligence at Innovix.

Frequently asked questions

Are case files sent to external AI providers?

No. LegalAI Analytics runs on-premises, in the law firm's own infrastructure, and processes documents on a Zero Data Retention basis - without retaining them once processing is complete. The case files never leave the firm's infrastructure.

Where do the 20×, F1 > 85% and < 1% hallucination figures come from?

These are internal test results of LegalAI Analytics on our own test set. They are not an independent audit or a guarantee of the same results in another law firm - before deployment, we recommend testing the model on your own anonymised case files. How we measure the quality of models is explained on our private LLM page.

Does LegalAI Analytics replace a lawyer?

No. The tool shortens the time spent working through case files, but assessing evidence and making procedural decisions remain the lawyer's job. The Polish rules of advocates' ethics also state that AI tools may only play a supporting role.

Who is LegalAI Analytics for?

Criminal law firms, prosecutors' offices and e-discovery teams - anywhere multi-volume case files have to be analysed and the documents are covered by professional secrecy or the secrecy of an investigation. More about software for lawyers: law firms.

When will the product be available?

LegalAI Analytics is in development - we are not yet publishing a launch date or terms. If you would like to discuss deploying it in your law firm, get in touch through the contact form.

Sources

  1. Act of 26 May 1982 - Law on the Bar (consolidated text: Dz.U. 2024 item 1564, as amended) (in Polish) ()
  2. Act of 6 July 1982 on Legal Advisers (consolidated text: Dz.U. 2024 item 499, as amended) (in Polish) ()
  3. Act of 6 June 1997 - Code of Criminal Procedure (consolidated text: Dz.U. 2026 item 490, as amended) (in Polish) ()
  4. Polish Bar Council (NRA) - Amendments to the Code of Ethics for Advocates (§ 23e: use of technological tools and artificial intelligence), announcement of 15 June 2026 (in Polish) ()
  5. National Chamber of Legal Advisers (KIRP) - AI in the work of a legal adviser. Recommendations on the use of artificial intelligence tools by legal advisers, 1st edition, Warsaw 2025 (in Polish) ()

Legal status as of Updated

See also

Let's talk about your project or audit

Tell us briefly what you need - we will come back with proposed next steps. We work in English and Polish.

or call +48 575 621 877