Open-source legal conflict detector runs on encoder models only, 133-clause contracts in under 20s

ladyofcode · reddit · 2026-11-13

Isaacus legal engineer Tabs open-sourced a Legora-style legal conflict detector that finds deviations and gaps between contract pairs using only encoder models and NLI. Clause-level pairwise review is quadratic — two 133-clause documents would need 17,689 LLM API calls — and decoders hallucinate on recall. The pipeline: parse documents into clause trees, embed clauses, filter non-provisions, shortlist pairs by cosine similarity ≥0.5, score with a reranker plus NLI classifier, then sort into deviations vs gaps. A LLM is optionally bolted on only to summarize or redraft, so it can't hallucinate conflicts. Longest pairs run in under 20 seconds. Demoed on Bob Iger's 2011 vs 2022 Disney contracts, it found the 2011 deal more favorable to Iger, including a missing IP assignment clause. MIT-licensed.

Related event: Isaacus Open-Sources Encoder-Only Legal Contract Conflict Detector(2 posts)→

Original post →

More from coding & agent

coding & agent channel →