A law firm by definition works with information that must never end up anywhere else: client files, negotiation strategy, draft contracts, correspondence covered by professional privilege. The very thing that makes AI so valuable for legal work — reading and assessing large volumes of text at speed — is exactly why “just paste a document into ChatGPT” isn’t an option in this line of work. Every prompt to an external AI provider is a file leaving the building.

That’s why we set it up the other way around: not the data going to the model, but the model coming to the data. On the BedrijfsLab, the language model itself — via Ollama, llama.cpp or vLLM — runs entirely on hardware that stays yours. For sectors where confidentiality genuinely matters, such as healthcare or law, that’s often the deciding reason to choose self-hosted: no client conversation, no draft deed and no due-diligence document that has ever touched a server belonging to an American AI provider.

The concrete use case: contract review and document assessment

On that self-hosted foundation, we deploy an agent with its own, clearly bounded task — the same approach as our broader AI-agent infrastructure. For a law firm, that means for example:

  • Contract analysis — incoming contracts get scanned for deviating clauses, missing provisions and risks against your own standard templates, so a lawyer no longer has to review every page by hand.
  • Due diligence — during an acquisition or transaction, the agent searches large volumes of documents for relevant provisions, contradictions and red flags, delivering a structured overview instead of a stack of PDFs.
  • Case law & file research — prior cases, correspondence and sources get searched and summarized on the specific point a lawyer is asking about.

In every case, the same principle applies as with our broader unmanned office: if something falls outside the agreed boundaries, the agent escalates to a human instead of making a legal judgment call itself. The agent takes the search work off your hands, not the assessment.

Why this is safe with privileged information

The approach we set up every agent with is particularly well suited to work covered by professional privilege:

  • Every change goes through its own branch and pull request — nothing gets applied directly; there’s always a readable trail of what changed and a clean point to roll back to.
  • Isolated working copies — an agent working on a file does so in its own sandboxed environment, never in a copy someone else might be working in at the same time.
  • An independent check before anything moves forward — a second, independent step verifies the actual result, not just the agent’s own summary of what it thinks it did.
  • A fixed list of things that always get asked first — and a human stays ultimately responsible for every legal judgment call; the agent takes the groundwork off your hands, not the decision.

For a law firm, that’s not an incidental detail — it’s the core of it: the same diligence you’d expect of yourself with a client file applies to the agent looking over it too.

Curious what this could mean for your firm?