How a legal AI agent earns an attorney’s trust

Blue drafts from a firm’s own precedents, edits in tracked changes, has every draft reviewed by a second agent, and returns it to an attorney to decide. Here is how it is built, and where the firm’s data sits.

Legal · 4 min read

Blue is the legal agent we built for law firms. A lawyer hands it a piece of work, such as a first draft from the firm’s precedents or a markup of the other side’s paper, and it returns a reviewed draft in tracked changes for the attorney to read and decide on. It does not give legal advice, and nothing it produces leaves without an attorney’s decision.

Firms ask three things before they let an AI system near a document: will it be accurate, will it respect the formatting, and where does the data go. This post answers each.

Who drafts and who reviews in a legal AI agent?

Two different agents, under a third that plans. Blue is a team of three, each with one responsibility.

Blue leads. It receives the instruction, asks a clarifying question if it needs one, and writes a short plan describing what will be produced. The attorney approves the plan before drafting begins.

Quill drafts. It works from the firm’s own forms, precedents, playbooks and house style.

Argus reviews. It checks the draft against the plan and verifies each citation. If something needs attention, the draft goes back to Quill before the attorney sees it.

That is how a well-run practice already works: one colleague scopes, another drafts, a third reviews. A second reader catches what the drafter missed, whether the drafter is a person or a model.

What stops the drafting agent from approving its own work?

The software. Only the drafter can write to a document. Only the reviewer can give the verdict. The separation is enforced by the system, not requested in a prompt, so it holds every time.

Small tasks, such as a one-line amendment, do not need the full process. Blue handles those directly and marks the work as a quick change, so the attorney knows it did not go through review.

Does a legal AI agent keep tracked changes and formatting?

Blue does. It edits the original document in place, and every change appears as a tracked change, exactly as a colleague’s markup would. Styles, numbering, headings, defined terms and layout are preserved, and the attorney accepts or rejects each change in the usual way.

A safeguard watches every edit. If a change would remove a large part of a document’s text, formatting or formulas, it is stopped before it happens.

What does Blue draft from?

The firm’s own materials: the matter’s files, the firm’s precedents and its playbooks. Blue reads them directly, within the boundaries of what it is permitted to see.

When a lawyer gives feedback in the ordinary way, such as “always use our form for this” or “check the notice clause against the lease”, that guidance becomes part of how Blue works from then on. The firm’s preferences accumulate in a form anyone at the firm can read.

Is a legal AI agent confidential, and where does the firm’s data sit?

The firm’s data sits either on the firm’s own systems or on infrastructure Valaren runs, depending on the engagement. Which one is agreed when the engagement is scoped.

Either way, each firm’s matters and documents are kept separate. When Blue looks something up online, it is limited to recognised legal sources and links already in the conversation. Every revision is recorded, so there is a history of who changed what.

What else does Blue handle around the document?

The matter itself. Blue lives inside a workspace the firm uses every day, with clients, matters and tasks in one place. Work that arrives by email is filed to the right matter, attachments included. Deadlines are tracked, and the responsible attorney is reminded ahead of time, with an offer to make a start.

Documents carry a full history: revisions, redlines, comparisons, and comments attached to the passages they concern. There is also an assistant inside Word, so lawyers can work with Blue in the tool they already use.

How is Blue fast without skipping review?

By keeping each agent ready between steps and letting the three talk to each other directly. That was the most effective speed change we made, and the simplest. The review still runs every time. The lawyer waits less.

Does Blue give legal advice?

No. Blue prepares work product. It does not give legal advice and it does not make the attorney’s decisions. Every document returns to a lawyer with its plan, its history and its review notes, ready to be read.

That last step is the design. Blue’s job is to put a reviewed starting point in front of an attorney, and leave the judgment where the professional obligation sits. More on Blue and our work with law firms.

Short answers

Where does a law firm’s data sit when it uses Blue?

On the firm’s own systems or on infrastructure Valaren runs, depending on the engagement. Each firm’s matters and documents are kept separate, and every revision is recorded.

Does Blue work in Microsoft Word?

Yes. Blue edits the original document in place with tracked changes, preserving styles, numbering and layout, and there is an assistant inside Word so lawyers can work with it there.

Is every draft reviewed?

Every draft that goes through the full process is checked by a separate reviewing agent against the plan, with each citation verified, before the attorney sees it. Quick changes such as a one-line amendment skip that step and are marked as quick changes so the attorney knows.

Does an AI legal agent replace an attorney’s judgment?

No. Blue does not give legal advice. It prepares a reviewed draft, and the attorney reads it and decides.

Portrait of Labeeb Khan

Labeeb Khan

Founder and CEO, Valaren

Twelve years building machine learning systems that power tens of millions of daily interactions, at Deloitte, Aviva, Intact and TransUnion. Labeeb leads every first conversation.

LinkedIn

What it takes to put an AI agent to work

Eight design rules from seven AI agents in daily use at clinics, insurance agencies, law firms, a waste-services company, a research consultancy, a manufacturer and a sales team, each shown in the agent it came from.

By Labeeb Khan ·

Tell us the work you would hand over first.

Thirty minutes with a founder. Bring the process, the system it lives in, and what it costs you today. You leave knowing whether an agent fits, even if you never work with us.

What happens on the call
  1. You walk us through the process and the system behind it.
  2. We tell you plainly whether an agent is the right fix.
  3. If it is, we outline what we would build and what it would take from your team.