A Private AI Assistant for Your Law Firm, Built With Free Tools

A law firm can run its own AI assistant on an office server with free tools like Ollama, an open-weight model and AnythingLLM or Open WebUI, so client documents never go to an outside AI provider. The software costs nothing, but you need capable hardware, and a lawyer must still check every output.

Key takeaways

  • Regulators are watching: the UK SRA's August 2026 warning names client data in public AI tools.
  • Five blocks: Ollama, an open-weight model, a private chat app, one workspace per matter, and access controls.
  • Free software, paid hardware: budget for a machine with a good graphics card and someone to maintain it.
  • Local doesn't mean accurate. Every citation still needs a human check.

Why law firms are wary of public chatbots

On 17 August 2026 the Solicitors Regulation Authority published a warning notice on AI misuse. It named "confidential client information being entered into public AI tools" as a concern and said that "reliance on an output of AI would not be a suitable defence." In the US, ABA Formal Opinion 512 (July 2024) recommends informed client consent before client confidences go into generative AI tools, and says boilerplate consent in engagement letters isn't enough.

So the question for most firms is where the AI runs. Whether to use it at all is mostly settled.

The five-block build

  • Ollama. Free software that runs AI models on your own machine.
  • An open-weight model. Qwen, Mistral, Gemma or Llama. Licences differ, so read the commercial-use terms before rollout.
  • A private chat app. AnythingLLM (MIT-licensed core, works offline, built-in document search with citations) or Open WebUI (free for internal use; removing its branding needs ≤50 users or an enterprise licence).
  • One workspace per client matter. Precedents and templates in a shared space, client files kept separate.
  • Lock it down. Office network or VPN only, a login per lawyer, encrypted disks, tested backups, and a written AI-use policy.

What it does with a real file

Take a six-lawyer firm in London with a 120-page commercial lease. The assistant produces a clause-by-clause summary, flags the break clause and rent review, and links each answer to the page it came from. The same setup drafts first reply letters, compares two contract versions and builds a chronology from an email bundle. 

What it won't fix

Hardware is the real cost: a workstation or small server with a capable graphics card, plus someone to update it. And local models still hallucinate. Damien Charlotin's database had logged 1,058 US court cases involving AI-hallucinated content by early June 2026. Treat every output as a junior's first draft.

Verdict: a good fit for small and mid-size firms that hold sensitive files and have, or can hire, basic IT support. Firms with no IT help may be better off with a vetted legal AI vendor under a proper data agreement.

 

Frequently asked questions

Is it safe for lawyers to use ChatGPT with client documents? 

Only with care. Regulators such as the UK SRA warn against putting confidential client information into public AI tools, and the ABA expects informed client consent. A self-hosted assistant keeps the files on your own systems.

Can a law firm run AI locally without sending data to the cloud? 

Yes. Tools like Ollama run open-weight models on your own server, and apps like AnythingLLM add document chat that can work fully offline.

Is a self-hosted legal AI really free? 
The software can be. Hardware, setup time and maintenance aren't.

Does a local AI still make mistakes? 
Yes. It can invent cases or misread clauses, so a lawyer must verify every citation before anything is filed or sent.

Which model should a law firm start with? 
Start with a mid-size open-weight model your hardware runs smoothly, test it on non-sensitive documents, and check its licence for commercial use.

  • bm
    Writen by Anirban Das
logo