Not a chatbot. A legal team
that works on your machine.
doc.haus is a team of AI specialists for legal work: ask a question and the answer comes
back with the exact clause cited; ask for a change and real tracked changes are written
into the .docx. Full reviews run like a deal team — one agent drafts the
findings, an adversarial challenger tries to tear them apart, and only what survives
reaches you.
.docx. Open in Word and accept or
reject each edit, as if a colleague marked it up..docx itself — text and metadata,
never an overlay — verified clean and logged per matter.What you can do
Ask & verify
Ask in plain English; get citations or redlines
One conversation handles both. Ask a question and the answer arrives with the clause
cited and quoted; ask for a change and the redlining agent writes it as tracked
changes into the .docx — the right agent is picked automatically.
Draft & reuse
Draft a new document from a template or from scratch
Ask for an NDA — or any document — and doc.haus drafts it into the matter, filling a
firm template's placeholders or composing from scratch onto a styled blank. The .docx is written and indexed on the spot, ready to review and redline,
with anything it can't know left as bracketed placeholders for you to fill.
Review at scale
Run a full multi-agent review in one click
Pick a workflow like Full review and a reviewer, a challenger, and a summarizer each read every document, then hand back one combined report.
Private & safe
Redact for real — content removed, not covered
Ask the Redact assistant to find PII and sensitive content and it proposes
every removal for your approval before anything changes. Approved redactions are
removed from the .docx itself — text and metadata, never a black box
drawn over the words — verified clean and logged: what was removed, by whom, and why.
Get started
Open Terminal and run — the first line installs Bun (skip it if you already have it):
The browser opens on a demo matter — a fictional letter of engagement, already ingested — and walks you through connecting a model provider from there.
Security
Why firms can trust it
doc.haus is self-hosted on infrastructure you control — no doc.haus cloud, no multi-tenant service, no vendor holding your clients' privileged documents. Document text and embeddings never leave your disk; the only thing that touches the network is the prompt sent to the model provider you chose, and that provider can be a local model so it need not leave either. Everything binds to localhost by default. MIT licensed — embed it, modify it, ship it. Full posture and vulnerability reporting in SECURITY.md.
Built on OpenCode
doc.haus is a true fork of OpenCode that retargets its agent harness from code onto legal documents — so it inherits a real, battle-tested agent engine and keeps pulling upstream improvements via merge. The concepts map almost one to one:
Changelog
- Redact for real: the new Redact assistant finds names, personal details, and sensitive passages, asks your approval, then removes them from the document itself — permanently, with a log of what was removed, by whom, and why.
- Scanned documents now work: upload a scanned PDF — a motion, a filing, an exhibit — and doc.haus reads it like any other document.
- Defense against adversarial documents: instructions concealed in a file to manipulate the AI are detected, flagged for your review, and never executed.
- A cleaner, calmer interface: refreshed layouts and typography, lighter chat, and clear progress while reviews run.
- See inside a workflow before you run it: which specialists it uses and what each one is asked to do.
Playbooks, templates & your firm's know-how
- Hold contracts to your standards: bind a negotiation playbook to a matter and reviews flag any clause that deviates, proposing your approved language as tracked changes — with starter playbooks included for NDAs, engagement letters, services agreements, and more.
- Teach it how your firm works: capture clause standards, checklists, and drafting guidance once, and the assistants apply them in every review.
- Guided drafting from your templates: add a Word template and the assistant interviews you for the terms, confirms a summary with you, then assembles the document.
- Build your own reviewers and workflows: describe a focused reviewer or a whole review process in plain English and it becomes a repeatable process you can run in any matter.
- 30 jurisdictions: a matter can carry several at once — the UK nations, Ireland, US federal and key states, Canada, Australia, the EU, and more — and cross-border questions are answered against each.
- Every quote double-checked: quotations are verified word-for-word against the live document, and case citations are checked against a public database of court decisions.
- Two new specialists: compare two versions of a contract clause by clause, or pull a list of every obligation and key date across the matter, with verified quotes.
- Talk it over: comment on any answer in the review grid — comments stay with the matter and carry into the Excel export.
- Privilege protection: a privilege and work-product check runs before anything leaves the workspace.
- Make it yours: set attorney and firm details, drafting style, approval preferences, and default jurisdictions for new matters.
First public release
- Ask questions in plain English and get answers with the exact clause quoted and cited.
- Ask for changes and get real tracked-change edits in the Word document itself.
- Run a one-click full review by a team of AI specialists that check each other's work.
- Private by design: your documents never leave your machine. Free and open source.