How it works

Building a firm precedent library your AI can actually use

By Michael Nadalin, Founder, Market Lead · 14 September 2026 · 6 min read

A senior associate asks the firm's AI tool for the standard guarantee and indemnity clause for a retail lease. The answer comes back quickly and reads well. It was also lifted from a lease signed on a 2019 matter. The guarantor's name is still in the definitions, the rent review mechanism was negotiated for that one client, and nobody has checked the clause against current retail leasing legislation since.

The tool did exactly what it was built to do. It found the closest match among the documents it was given. The documents were the problem. Most firms point AI at their document management system and expect a precedent library to appear. What they get is a search engine over years of matter files, with no way to tell an approved precedent from a marked-up draft that lost the argument.

A precedent library an AI can use well is not a bigger collection. It is a smaller, curated one, set up so the right clause comes up first and brings with it the context a practitioner needs to decide whether it fits. Here is how to build one without turning it into a two year knowledge management project.

Your document management system is not a precedent library

Matter files are full of documents that look authoritative and are not. A signed agreement shows what one client conceded on one day. A draft sent to the other side shows an opening position. A file saved as FINAL v4 may have been replaced by a v5 that only exists in someone's email. A lawyer searching the DMS brings context to all of this: they know which partner ran the matter and they remember the deal fell over. Retrieval software brings none of that context.

More volume makes it worse. If the firm has drafted the same confidentiality clause hundreds of times with small variations, a tool searching the whole DMS will find many near identical candidates. It has no principled way to put the version your practice group actually approved at the top.

What firms assume vs what actually happens
More documents means better answers
More near duplicates make the approved version harder to find
Signed agreements are the safest source
Signed agreements carry negotiated positions specific to one client
The AI will know which version is current
It only knows what the text, metadata or folder structure tells it
Client names can be cleaned up later
Confidential details turn up in drafts for unrelated clients
The difference between a document store and a precedent library is curation, not size.

What the AI actually does with your precedents

Most legal AI tools that work with firm documents rely on some form of retrieval. Documents are broken into passages, and each passage is indexed so it can be matched on meaning rather than exact words. When you ask a question, the closest passages go to the language model to draft from. The model only sees what retrieval picks for that question.

That has practical consequences for how you store precedents. A clause that depends on defined terms can be retrieved without the definitions clause, so the draft uses capitalised terms that mean nothing in the new document. Drafting notes kept in a separate memo may never be retrieved with the clause they explain. And a passage that gives no jurisdiction is as likely to be matched for a Victorian matter as for a New South Wales one.

A better model will not fix this. Preparing the source material will, so that each passage the tool can retrieve carries enough context to stand on its own.

From question to draft
1
Question
A solicitor asks for a clause, a document or an answer based on firm material.
2
Retrieval
The system finds the passages whose meaning is closest to the question.
3
Selection
Only a limited number of passages go to the model. Everything else is invisible to it.
4
Drafting
The model writes from those passages. Missing definitions or notes leave gaps it may fill by guessing.
5
Review
A practitioner checks the output against the source and the matter. This step never goes away.
Quality is decided at retrieval. The model cannot use a passage it was never shown.

Decide what earns a place in the library

Start by deciding what stays out. The library should only hold material the firm would hand a first year lawyer as a starting point without a warning attached. That rules out most matter documents on day one.

Rank your sources and build from the top. A practice group can usually identify its approved precedents in a few meetings, because senior practitioners already know which ones they reach for. Those go in first, with their drafting notes. Clause banks and checklists come next. Signed documents only go in after someone has removed the client specific positions and confidential details and signed off on what is left.

Precedent sources, worst to best
Raw DMS matter files
A mix of drafts, negotiated positions and superseded versions, often with confidential client details
Exclude
Signed agreements from past matters
Show one client's commercial outcome, not the firm's preferred position
Only after de-identification and review
Published court and registry forms
Authoritative for their purpose, but they change when rules and forms are updated
Include with source and version date
Practice group clause banks
Curated alternatives with some context. Quality depends on who maintains them
Include with a named owner
Approved firm precedents with drafting notes
Reviewed, assigned to an owner, and explain when each option applies
Core of the library
Build from the top rung down, and expect the top two rungs to be thinner than you would like.

Structure each precedent so it stands on its own

Every precedent needs a small set of fields that stay with it through retrieval. Put them in the document itself, in a consistent header block, as well as in any system metadata. If the tool splits documents into passages, a header giving jurisdiction, status and last review date is far more useful repeated or attached to each section than sitting only on page one.

Keep drafting notes next to the clause, not in a separate memo. A note saying 'use Option B where the guarantor is a company, Option A for individuals' is the difference between a useful draft and one that sounds right but is wrong. Where a clause relies on defined terms, either put the relevant definitions in the same section or list the definitions it depends on.

The fields every precedent should carry
Identity
What it is
  • Document or clause type
  • Practice area
  • Jurisdiction, for example NSW, Vic, Qld or Commonwealth
  • Court or registry, for court documents
Authority
Whether to trust it
  • Status: approved, under review or withdrawn
  • Owner: the practitioner responsible
  • Last reviewed date
  • Legislation and rules it relies on
Use
How to apply it
  • Drafting notes beside each option
  • When not to use it
  • Defined terms it depends on
  • Related precedents and schedules
If a field is not in the text the tool reads, assume the tool does not know it.

Keep it current or it becomes a liability

An out of date precedent sitting in a folder is an inconvenience. An out of date precedent that an AI tool retrieves with confidence and drafts from fluently is a risk, because polished output hides the age of the source. Amendments to legislation, new practice notes and changes to court forms all quietly date material that was correct when it was written.

Give each precedent an owner and a review date, and mark withdrawn precedents with a clear status rather than leaving them where they are. Taking a superseded document out of the index matters more than adding a new one, because retrieval cannot ignore what it can still see. Several Australian courts, including the Supreme Court of New South Wales, have issued guidance on using generative AI, and the practitioner stays responsible for what is filed however the draft was produced.

A maintenance rhythm a busy practice group can keep up
On creation
Owner assigned, status set to approved, review date recorded, drafting notes attached
When the law changes
Owner flags affected precedents and marks them under review until they are updated
Every six months
Each owner confirms their precedents are current or updates them
Every year
Practice group reviews the whole set and withdraws anything nobody uses
On withdrawal
Document removed from the AI index, not just renamed or moved to an archive folder
Pick a schedule you will actually keep. A modest one that gets followed beats an ambitious one that gets dropped.

Where to start this month

Do not start with the whole firm. Pick one practice group and one family of documents it drafts often, such as commercial leases, employment contracts or originating process for the court it appears in most. Identify the approved versions, add the header fields, move drafting notes next to their clauses and load only that set. Then ask the tool the questions your lawyers actually ask and check whether the right precedent comes up first.

Also test with questions that should fail. Ask for a clause the library does not contain and see whether the tool says so or drafts something from general knowledge. How it handles that matters as much as the correct matches. Whether you are evaluating Legal Brain or any other tool, run this test with your own material before you trust it. Whichever tool you choose, the quality of the library you give it will affect the drafts more than the choice of model.

Frequently asked questions

What is a precedent library in a law firm?

A precedent library is a curated set of approved template documents and clauses that the firm's lawyers use as a starting point for drafting. Unlike a document management system, it only holds material that has been reviewed, has a named owner and is kept current. Good libraries also include drafting notes explaining when each option applies.

Can I put client documents into an AI tool in Australia?

Only with care. Your confidentiality obligations under the professional conduct rules that apply to you, and legal professional privilege, still apply. Check where the tool stores data, who can access it and whether your material is used to train models. For a precedent library, the safer course is to de-identify documents and remove client specific positions before they are indexed.

How often should law firm precedents be reviewed?

There is no single required interval, but every precedent should have a named owner and a recorded review date. A practical approach is to review affected precedents whenever the relevant legislation, rules or court forms change, and to review the whole set at least once a year. Withdrawn precedents should be removed from any AI index, not just archived.

Does using AI mean a firm no longer needs a precedent library?

No. AI tools draft from the material they retrieve, so a poorly curated library produces fluent drafts built on outdated or client specific sources. A well maintained library is what makes AI drafts worth reviewing rather than rewriting.

Check your understanding

Two quick questions

No score is stored. Pick an answer to see why it is right.

  1. 1Which source is the weakest starting point for a precedent library that an AI tool will draw on?

  2. 2A precedent has been superseded. What is the most effective way to stop an AI tool drafting from it?

Research Australian law without handing over client data

Legal Brain searches Australian legislation and case law, shows you the source behind every answer, and anonymises client-identifying detail before anything reaches a model.

Request early access