AI Agents for Legal Document Review: Stop Summarizing, Start Diffing
Most guides to AI agents for legal document review are wrong about the job. The value isn't summarizing contracts - it's flagging where they deviate from your playbook.
def summarize_contract(text):
return client.messages.create(
model="claude-sonnet-4-6", max_tokens=1000,
system="Summarize this contract in plain English, section by section.",
messages=[{"role": "user", "content": text}],
).content[0].textMost guides to AI agents for legal document review are wrong about what the job is. They build agents that summarize contracts - a neat party trick that saves a paralegal ten minutes and adds almost no real value, because a summary of a contract you still have to read isn't a shortcut, it's a preview. The actual work of contract review isn't understanding what a clause says. It's spotting where it deviates from what you'd accept.
This is the story of a legal team that learned that distinction the expensive way, then rebuilt their agent around it - and the honest limits they had to accept.
The Problem an In-House Legal Team Faced
A five-lawyer legal team at a mid-market company reviewed hundreds of vendor contracts a year - NDAs, MSAs, data-processing agreements, the usual flood. Most were other companies' paper, which meant every one was a hunt for the clauses that quietly shifted risk onto them: uncapped liability, auto-renewals, one-sided indemnities, missing data-breach terms.
The team was drowning. A single MSA could take two hours of careful reading to find three problematic clauses buried in forty pages of boilerplate. And the boring reality was that 90% of any contract was standard language they'd seen a hundred times - the risk always lived in the same handful of spots.
The Wrong Approach
Their first build was a summarizer. Feed it a contract, get back a tidy plain-English overview.
[object Object], ,[object Object],(,[object Object],):
,[object Object], client.messages.create(
model=,[object Object],, max_tokens=,[object Object],,
system=,[object Object],,
messages=[{,[object Object],: ,[object Object],, ,[object Object],: text}],
).content[,[object Object],].textWhat this does: it produces a readable section-by-section summary of the contract in plain language.
It demoed beautifully and helped almost not at all. The lawyers still had to read the actual contract to catch the problems, because a summary flattens everything to the same importance - the dangerous uncapped-liability clause got the same calm one-line treatment as the notices section. The tool told them what the contract said. It never told them what was wrong with it.
⚠️ Common mistake: building a legal agent that summarizes when what lawyers need is deviation detection. A summary treats every clause as equally worth knowing; review is precisely the skill of knowing which three clauses out of eighty actually matter. Summarizing automates the easy part and skips the valuable part.
The Correct Prompt: Diff Against a Playbook
The rebuild flipped the job. Instead of summarizing the contract in isolation, the agent compared it against the team's playbook - their standard positions and fallback terms for each clause type. The output wasn't "here's what it says." It was "here's where it deviates from what you accept, and how badly."
PLAYBOOK = {
,[object Object],: ,[object Object],
,[object Object],,
,[object Object],: ,[object Object],
,[object Object],,
,[object Object],: ,[object Object],,
,[object Object],: ,[object Object],,
}
,[object Object], ,[object Object],(,[object Object],):
system = (
,[object Object],
,[object Object],
,[object Object],
,[object Object],
,[object Object],
)
,[object Object], client.messages.create(
model=,[object Object],, max_tokens=,[object Object],,
system=system,
messages=[{,[object Object],: ,[object Object],,
,[object Object],: ,[object Object],}],
).content[,[object Object],].textWhat this does: it checks the contract clause by clause against the team's standard positions, quotes and rates each deviation by severity, stays silent on compliant boilerplate, and escalates anything ambiguous to a human.
The "when unsure, FLAG" rule encodes the right bias for legal work. In review, a false alarm costs a lawyer thirty seconds; a missed problematic clause can cost the company a lawsuit. You want the agent tuned for recall - over-flag rather than under-flag - which is the opposite of how you'd tune most agents.
Results: What AI Agents for Legal Document Review Changed
Review time per contract dropped from around two hours to about twenty minutes - not because the agent did the legal thinking, but because it pointed the lawyers straight at the three clauses that mattered instead of making them find those clauses in forty pages.
The severity rating changed how the team triaged. A contract with only low-severity deviations got a quick sign-off. One with a high-severity uncapped-liability flag went straight to a senior lawyer. The agent didn't decide anything - it routed attention, which is what was actually scarce.
The honest limit: the agent missed things a good lawyer wouldn't, and caught things that weren't really problems. It never replaced the lawyer's judgment. What it replaced was the exhausting first read - the forty pages of skimming to find the three real issues.
Building a Playbook That Actually Works
The quality of AI agents for legal document review is bounded almost entirely by the playbook, so this is where the effort belongs. A thin playbook - three vague positions - produces a thin agent. A precise playbook, where each clause type has a clear standard and a defined fallback, produces an agent that genuinely triages risk.
The trap teams fall into is writing an aspirational playbook: the terms they wish they could always get, rather than the positions they actually hold the line on. That produces an agent that flags everything, because real-world contracts rarely match an ideal, and an agent that flags everything is an agent lawyers learn to ignore. The fix is to build the playbook from your actual negotiation history - the clauses your team pushes back on again and again, with the fallback positions you actually accept when you can't get your first choice.
Severity calibration is the other half. A playbook that rates everything "high" is as useless as one that rates nothing. The severity levels have to map to real consequences: uncapped liability is genuinely high because it's an unbounded downside; a slightly short cure period is low because the practical risk is small. When severity reflects actual stakes, the triage works - low-severity contracts get a fast sign-off, high-severity ones get senior attention, and lawyer time flows to where it matters.
It's also worth being clear-eyed about what this does and doesn't change about liability. The agent is a tool that helps a lawyer review faster; the lawyer still owns the review and the professional responsibility for it. Nobody should be relying on the agent's "COMPLIANT" verdict as a substitute for legal judgment - which is exactly why the "when unsure, FLAG for human review" rule exists. The agent's job is to make sure a human looks at the right clauses, not to bless the ones it thinks are fine.
⚡ Pro tip: version your playbook and date every change, because your standard positions evolve as the business's risk tolerance does. A liability cap your team accepted last year might be one you now push back on, and the agent should reflect today's position, not a fossil of last year's - which only happens if the playbook is a living, dated document rather than a one-time write-up.
The compounding payoff is that a well-built playbook is reusable across every contract of that type forever. You codify your team's hard-won judgment once, and every future review benefits - which is a far better return than re-explaining your liability position to a new associate every quarter.
⚡ Pro tip: keep the agent's clause quotes in its output, always. A lawyer verifies a flag in seconds by reading the quoted clause; without the quote, they're back to hunting through the document, and you've given back the entire time saving.
How to Apply This to Your Situation
The pattern generalizes anywhere review means checking documents against a standard. A procurement team diffs vendor terms against approved purchasing policy. A compliance officer checks marketing materials against regulatory rules. A real estate firm reviews leases against its standard positions on maintenance, renewal, and liability.
In every case, the shift is the same: stop asking the agent to describe the document and start asking it to compare the document against your codified standard. The playbook is what makes AI agents for legal document review genuinely useful instead of a fancy highlighter.
⚡ Pro tip: build your playbook from the deviations your lawyers actually negotiate most, not from a theoretical ideal contract. The clauses you push back on every week are exactly the ones the agent should watch hardest - start there, then expand.
⚡ Pro tip: track which agent flags your lawyers dismiss as non-issues. A flag that's always dismissed means a playbook rule that's too strict; tightening it cuts noise and keeps lawyers trusting the flags that matter.
Next Steps
Start by writing down your playbook - the five or ten clause positions your team actually cares about. That codification is most of the work, and it's valuable even before you point an agent at it, because it forces the team to agree on what "acceptable" means.
Then keep that playbook somewhere shared and versioned rather than in one lawyer's head. Teams doing this store their review playbooks and prompts in a library like PromptABCD, so every reviewer diffs against the same standard - and when the team changes its position on, say, acceptable liability caps, the update reaches everyone at once instead of living in a single person's memory. A review agent is only as good as the playbook behind it, and a playbook is only useful if the whole team is actually using the same one. The diff-not-summarize insight is what makes the whole thing worth building: a summary tells you what a contract says, but a diff against your standards tells you what to do about it - and doing something is the entire reason a lawyer opened the document in the first place. The best legal review agents disappear into the workflow, quietly pointing attention where it belongs and letting the lawyer spend their scarce judgment on the clauses that actually carry risk.
Continue Reading
Save the prompts from this post
PromptABCD is a free prompt manager. Paste, organize, and reuse your best AI prompts — no more hunting through chat history.
