The problem
A personal injury demand, an insurance claim or any long letter built from a thick file takes a paralegal days with a highlighter: records arrive late and out of order, bills are scanned, and one contradiction between two pages lets the other side discount the whole claim. Small firms carry a backlog because drafting, not thinking, eats the week.
Architecture
- Channel
- Case file upload
- Scanned bills and reports
- Agent
- Cheapest reader first
- Opus plans, Sonnet drafts
- Tools
- Fact table with page citations
- Plain English state rules
- Human
- Attorney checks and signs
Where the data stays: The case file and the fact table stay in the firm's own storage and API account; the model sees pages to read and returns facts with their page numbers.
Design flow
- Case file read, cheapest method per page
- Pages classified by document type
- Facts consolidated, each with its page
- Blueprint, then section drafts from the facts
- Attorney checks every citation and signsHuman checkpoint
Setup
Total time: 14 h our estimate
- 2 h
Done when: One document lists the rules that apply in your jurisdiction, the arguments the other side usually makes, and two past letters as the style to follow.
- 3 h
Done when: On a closed case, embedded text and OCR cover most pages and only scanned bills and checkbox forms go to Claude's vision, with the page number kept on every extracted line.
- 4 h
Done when: The table for the closed case has one row per fact with its page, duplicates merged and conflicts marked, and a paralegal confirms it matches the file.
- 4 h
Done when: Opus returns the rules, counterarguments and theme; Sonnet drafts each section from the confirmed table only, and every figure in the draft carries a page citation.
- 1 h
Done when: Before any draft leaves the firm the attorney has checked a sample of citations against the pages, every marked conflict, and the total of the billed amounts.
Ticks are saved on this browser.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
You prepare a draft [demand letter or claim letter] for [firm name] from the attached case file. Work in two passes. Pass 1: list every relevant fact (dates of treatment, providers, diagnoses, each billed amount, statements about fault) as a table with the exact page number it comes from; merge duplicates, and where two pages disagree, list both with their pages and mark the conflict instead of choosing. Stop and show me the table. Pass 2, only after I confirm the table: write the blueprint (the rules that apply in [state or jurisdiction], the three arguments the other side is likely to make, the central theme), then draft each section from the confirmed table only, with a page citation after every fact and figure, in our house style: [paste two paragraphs of a past letter]. Do not add any fact, amount or rule that is not in the table or the rules I gave you. The draft goes to the attorney for review and signature; never present it as final.
Risks and data
Data
Case files hold health records and identity data. Keep them in the firm's own storage and an API account that does not train on your data, restrict who can run the pipeline, and delete working copies when the matter closes.
How it goes wrong
A wrong figure or an unresolved contradiction in a demand costs real money, which is why the facts are settled with citations before drafting and the attorney checks a sample of citations against the pages every time. Watch the extraction step: a scanned bill read by the wrong method produces a confident wrong number.
How the agent works
It starts
The pipeline takes the case file, often over a thousand pages from a dozen providers plus billing ledgers and police reports.
The agent works
Each page is read with the cheapest method that works: embedded text first, then standard OCR, then Claude's vision only for scanned bills and checkbox forms. Documents are classified by type (billing statement, clinical note, intake form) so each page is asked only what it can answer. The facts are then consolidated: every fact keeps a citation to its source page, duplicates are merged and the record is settled once before any writing starts, so the draft cannot contradict itself. A strong model (Opus in the source) writes the blueprint: the applicable rules, the likely counterarguments and the central theme, checked for consistency; a faster model (Sonnet) drafts each section from that blueprint, following state specific rules written in plain English. The output is a demand with cited evidence.
The result
An attorney reads, checks and signs every draft before it leaves the firm.
Worked example
EvenUp, an AI platform for personal injury law firms from solo practitioners to multi state firms, describes this pipeline on Anthropic's customer page (no publication date; the page names Claude Opus 4.8). Drafting time per case fell from 8 to 15 hours to about 30 minutes, discovery responses from 5 hours to 30 minutes, and on cases under 150 pages a single Opus pass beat a longer chain, with past medical expense accuracy up 14%. Customer firms report tripled demand output and a 45 day backlog cleared; one California firm with more than 1,500 active cases went from a month to about 10 minutes per demand with attorney review 75% faster. Emre Yamangil, Principal Machine Learning Engineer, sums up the cost rule: spend the expensive model where you cannot verify cheaply. All figures are EvenUp's and its customers' own.
The source runs on Claude models through the API, with Haiku or Sonnet on everyday extraction and Opus where an undetected error would be costly. The pattern (cheapest reader first, classify, consolidate with citations, strong model plans, fast model drafts, lawyer signs) is a custom build, so OpenAI or Gemini models can take the same roles.
Join the Agent OS Club
Get hours back with a team of AI agents for every department, set up step by step for the tools you use, with a person answering your questions. Founding member price: USD 14.95 a month or USD 150 a year, locked for as long as you stay. Cancel any time.
Founding offer, ends 31 December 2026 or at member 100
Join the Agent OS ClubBuilding this for an organization? Learn more at theagentiv.com
Sources
Published: 2026-11-09