Disclosure: DROZlegal publishes this guide and builds the defence_drafting and motion_preparation agents, the litigation form registry, and the DOCX-to-PDF-to-CaseLines packaging pipeline described below, as part of its practice-automation product for Ontario law firms. The AI-citation and court-filing statistics cited are drawn from courtready.ca's tracking database, Cassels LLP's case commentary, Canadian HR Reporter, and the Ontario Superior Court of Justice's own published notice — not ours. This article is general information about Ontario litigation drafting workflow, not legal advice.
What "AI motion and factum drafting" actually means here
Two agents do the drafting: defence_drafting for a statement of defence or responding materials, and motion_preparation for a motion record. Both sit among DROZlegal's 22 registered agent classes, and both are manual-dispatch and propose-only — a lawyer starts the job, and the output lands as a draft, never as something already sent anywhere.
Neither agent works from a blank page. Each pulls from the matter's own parties, dates, and facts already sitting on the case file, then routes the draft through the same form registry, DOCX pipeline, and citation linker described below — defence_drafting to a Form 18A statement of defence, motion_preparation to a Form 37A notice of motion plus its supporting Form 4D affidavit. A factum runs through that identical DOCX-to-PDF pipeline too, generated directly from the registry rather than through either named agent.
The drafting-to-filing pipeline, step by step
Six stages sit between "an agent drafted something" and "a lawyer has a document to file," each backed by its own piece of the litigation module (backend/app/litigation/):
| Stage | What happens | Where a lawyer signs off |
|---|---|---|
| 1. Agent draft | defence_drafting or motion_preparation drafts from the matter's own facts | Every proposal is reviewed before it becomes part of the file |
| 2. Form selection | The draft is matched against the 241-entry Ontario court-form registry | — |
| 3. DOCX authoring | Rule 4 civil-procedure heading and closing blocks are applied; the citation linker hyperlinks case law and legislation to CanLII or e-Laws | Lawyer reads the drafted document, not just approves a click |
| 4. PDF conversion | LibreOffice headless converts the DOCX to a filing-ready PDF | — |
| 5. CaseLines-ready packaging | The final PDF is bundled into a package formatted for CaseLines-style upload | — |
| 6. Filing | The document goes to the court | Filing is the lawyer's own act, one of six permanent hard ceilings |
Every step before filing is mechanical or review-gated, never autonomous submission. Filing itself is a permanent hard ceiling — one of six actions across the whole platform that never gets automated no matter how much autonomy a firm has earned elsewhere, alongside trust money movement and settlement acceptance. A lawyer submits the document to the court; the software's job ends at a filing-ready PDF.
What's actually generatable in a 241-entry registry
The registry behind step two is built from ontariocourtforms.on.ca, 241 entries deep, and split into seven archetypes. Six of the seven are fully generatable, top to bottom.
| Archetype | Entries | Generatable |
|---|---|---|
| NOTICE | 70 | 70 (100%) |
| ORDER | 53 | 53 (100%) |
| APPELLATE | 24 | 24 (100%) |
| PLEADING | 18 | 18 (100%) |
| WRIT | 15 | 15 (100%) |
| AFFIDAVIT | 10 | 10 (100%) |
| SPECIALIZED | 51 | 5 — Form 57B (Costs Outline) and the Rule 49 offer-to-settle family (49A, 49C, 49D, 49E) |
| Total | 241 | 195 |
The SPECIALIZED bucket is the outlier, and deliberately so. A NOTICE or an AFFIDAVIT follows a small number of predictable content shapes; a SPECIALIZED form doesn't, and each one needs its own hand-authored content schema before the system can generate it. Of 51 SPECIALIZED entries, five have that schema built today — the Costs Outline and the Rule 49 offer-to-settle forms. The other 46 stay browse-only — findable and readable in the registry, not yet auto-drafted.