AI — Multi-Agent Architectures
Specialist Agents for Legal Document Review
Direct answer
The architecture that works for legal document review is a set of narrow specialist agents — clause extraction, risk flagging against a playbook, cross-document consistency checking, and memo drafting — coordinated by an orchestrator that assembles a cited review memo. Every finding must quote the exact source clause with its location so a lawyer can verify it in seconds. The agents triage and draft; a human lawyer remains the decision-maker.
Legal review is where multi-agent design stops being an architectural preference and becomes a requirement: contracts are long, the tasks are genuinely different skills, and unverifiable output is worthless to a lawyer. Here is how I structure specialist review agents and the grounding discipline that makes lawyers actually trust the output.
Key facts, with sources
- Anthropic reported that a multi-agent research system using an Opus lead agent with Sonnet subagents outperformed a single-agent Opus baseline by 90.2 percent on its internal research eval. (ByteByteGo)
- Anthropic's multi-agent research system used about 15x more tokens than a normal chat interaction, and token usage alone explained roughly 80 percent of performance variance. (The AI Engineer)
- The MAST research taxonomy identified 14 distinct failure modes across 7 popular multi-agent frameworks including AutoGen, ChatDev, and CrewAI, grouped into system design flaws, inter-agent misalignment, and task verification failures. (arXiv)
- Salesforce research found organizations run an average of 12 AI agents and projects multi-agent adoption to surge 67 percent within two years as enterprises move toward orchestration. (Salesforce)
- Multi-agent orchestration with three or more agents represents about 22 percent of enterprise agent deployments in 2026, projected to reach roughly 45 to 50 percent by 2027. (OnAbout AI)
Why one mega-prompt fails on contracts
A single agent asked to 'review this agreement' faces three compounding problems. Contracts are long, and attention over a hundred pages of definitions, cross-references, and exhibits is exactly where models degrade — the subtle indemnity carve-out on page forty gets summarized away. The tasks conflict: extraction wants exhaustive literalism, risk assessment wants judgment, summarization wants compression, and one prompt optimizing for all three does each worse. And a single free-form review is unverifiable — the lawyer cannot tell which claims are grounded without re-reading the document, which defeats the purpose.
Splitting into specialists fixes all three: each agent gets a narrow rubric, a scoped slice of the document, and a structured output schema that can be checked mechanically.
The specialist lineup
My standard lineup has four roles. The extractor pulls structured facts — parties, term, renewal mechanics, payment obligations, termination triggers, governing law — into a fixed schema. It makes no judgments; it only locates and quotes. The risk flagger compares each clause category against a playbook of preferred and unacceptable positions — the client's, not a generic one — and flags deviations with severity. The consistency checker hunts for internal defects: defined terms used but never defined, cross-references pointing at renumbered sections, exhibit lists that do not match attached exhibits. The memo writer assembles everything into a triaged review memo, ordered by severity.
Each specialist runs with its own retrieval scope and prompt, and the orchestrator owns sequencing: extraction first, because the risk and consistency agents consume its structured output rather than re-reading the raw document.
Citations are the product
The rule I enforce without exception: every finding carries a verbatim quote of the clause it refers to, plus its location. A flag that says 'the limitation of liability appears one-sided' is noise; a flag that quotes the sentence, names the section, and states which playbook position it violates is a work product a lawyer can verify in seconds.
This rule also becomes a mechanical hallucination filter. Because quotes must be verbatim, I check every cited string against the source document before a finding reaches the memo — a plain string match, no model involved. Findings whose quotes do not appear in the document are dropped and logged. This single check eliminates the most damaging failure class in legal AI: confident commentary about clauses that do not exist.
Confidence, escalation, and the human boundary
Each specialist labels findings with a confidence level, and the thresholds have teeth: low-confidence findings route to a separate 'needs human read' queue rather than being silently included or silently dropped. Both failure directions are bad — silent inclusion erodes trust, silent dropping hides risk — so ambiguity gets surfaced as ambiguity.
The system's scope also stops deliberately short of advice. Agents identify, quote, and compare against the playbook; they do not recommend whether to sign. That boundary is not modesty, it is product design: the tool's job is to make a lawyer's first pass dramatically faster and more complete, and tools that overstep into judgment get banned by the same lawyers who would otherwise champion them.
Evaluating against a golden set
Before any deployment, I build a golden set: real contracts of the target type, annotated by a lawyer with every finding the system should have produced. Each specialist is then measured separately — extraction accuracy for the extractor, precision and recall per risk category for the flagger. Aggregate scores hide exactly the failures that matter, like a flagger that is excellent on payment terms and blind on IP assignment.
Precision deserves special attention because false positives are the adoption killer. A lawyer who wades through invented risks a few times stops reading the memo entirely. I would rather ship a system that catches fewer issues with high precision and expand its recall category by category than ship a noisy one that gets ignored.
Confidentiality and audit obligations
Legal documents carry constraints that most AI products never face. The model provider agreement needs scrutiny: no training on submitted content, defined retention windows, and data processing terms the firm's clients would accept. Prompts and intermediate agent outputs are themselves sensitive — they contain contract text — so logs and traces need the same access controls and retention policies as the documents.
An audit trail is non-negotiable: which document version, which agent, which prompt version, which model produced each finding, and who reviewed it. Privilege questions — whether and how AI-assisted review interacts with legal professional privilege — vary by jurisdiction and are for the firm's own counsel to settle before rollout, not after. I build the trail assuming someone will eventually have to reconstruct exactly what the system saw and said.
When to hire senior help
Multi-agent orchestration is one of the least commoditized skills in AI engineering, and teams that succeed usually include someone who has debugged coordination failures in production. Get senior review before committing to an orchestrator-worker design, because architectural mistakes at this layer are expensive to unwind after launch. If your stack includes React Native + Python + AI, a senior engineer who owns the full product beats coordinating multiple juniors.
Bottom line
Dhairya Senjaliya ships AI — Multi-Agent Architectures projects worldwide — book a scoping call to discuss your specific situation.
Common pitfalls to avoid
- ✕Defaulting to multi-agent when a single agent with good tools would do, since the roughly 15x token multiplier only pays off when subtasks are genuinely parallel and high value
- ✕Letting subagents share full conversation history instead of scoped task briefs, causing context bloat, contradictory actions, and coordination failures
- ✕Shipping without a verification layer, so errors propagate through agent chains unchecked; task verification failures are one of the three MAST failure categories
- ✕Skipping per-agent trace observability, which makes it impossible to identify which agent in the chain caused a bad final output
Frequently asked questions
Can AI agents replace lawyers for contract review?
No, and systems designed as if they can are the ones that fail. What specialist agents do well is the exhaustive first pass: extracting terms, flagging deviations from a playbook, catching cross-reference defects, and producing a cited memo. A lawyer verifies the citations and makes every judgment call. The realistic win is a much faster, more complete first pass — not a replaced reviewer.
How do you stop legal review agents from hallucinating clauses?
Make verbatim quotation mandatory and verify it mechanically. Every finding must include the exact clause text and its location, and a plain string match confirms the quote actually appears in the document before the finding reaches the memo. Findings that fail the check are dropped and logged. This one rule removes the most damaging failure mode — confident analysis of text that does not exist.
What accuracy should I expect from legal document review agents?
Measure it on your own golden set — annotated contracts of your specific document type — rather than trusting generic claims, because performance varies sharply by clause category. Extraction tasks are typically stronger than judgment-heavy risk calls. Prioritize precision over recall when tuning: false positives destroy lawyer trust fastest, and you can expand coverage category by category once the output is trusted.
When does a multi-agent architecture beat a single agent?
When the work decomposes into independent subtasks that can run in parallel, such as broad research, fan-out analysis, or reviewing many files at once; Anthropic measured a 90.2 percent improvement on that shape of work. Sequential, tightly coupled tasks usually do better with one agent and good tools.
Why do multi-agent systems fail?
Research across 7 frameworks found failures cluster into system design flaws, inter-agent misalignment, and missing verification rather than raw model weakness. An orchestrator-worker pattern with explicit task specifications and output checks addresses most of these failure modes.
How much more expensive is a multi-agent system?
Anthropic reports about 15x the tokens of a chat interaction for its multi-agent research system, so cost per task rises sharply. Teams mitigate this with cheaper models for subagents, prompt caching, and hard caps on subagent count and loop length.
Bottom line: Dhairya Senjaliya ships AI — Multi-Agent Architectures projects worldwide. Book a scoping call at https://dhairyasenjaliya.com/#book-call.