Platform·QWED Legalv0.5.1
Exact checks for dates, amounts and legal claims.
Guards for the computable parts of legal work. Deadlines and liability caps are recomputed exactly, contradictory clauses are found with a solver, and every check says whether it is a proof or a signal.

At a glance
- Version
- 0.5.1
- Status on PyPI
- Beta
- Install
- pip install qwed-legal
- Also on
- npm (@qwed-ai/legal) and as a GitHub Action
- Model in the check
- None, except the fairness check, which uses a model you supply
- Limitation periods
- Nine jurisdictions, including the UK and India
- Licence
- Apache-2.0
What it checks
- DeadlineGuard
Deadlines
Date and business-day arithmetic that knows about holidays. Exact.
- LiabilityGuard
Liability caps
Cap and tier arithmetic. Exact.
- ContradictionGuard
Contradictory clauses
Uses the Z3 solver to find clauses that cannot both be true.
- StatuteOfLimitationsGuard
Limitation periods
Including California, New York, Texas, Delaware, the UK, Germany, France, Australia and India.
- JurisdictionGuard
Governing law and forum
Checks governing-law and forum combinations.
- ProvenanceGuard
AI disclosure
AI-content disclosure and hash integrity, for rules such as Article 50 of the EU AI Act.
- IRACGuard
Structure of legal reasoning
Whether reasoning follows Issue, Rule, Application, Conclusion.
- ClauseGuard
Clause consistency
A heuristic signal, not a proof.
- CitationGuard
Citation format
A valid format does not prove the cited case exists, so this check never returns verified.
Get started
# pip install qwed-legalfrom qwed_legal import DeadlineGuardguard = DeadlineGuard()result = guard.verify( signing_date="2026-01-15", term="30 business days", claimed_deadline="2026-02-14", # the date the model gave)print(result.verified, result.computed_deadline.date())# False 2026-03-02Good to know
- QWED Legal is not a legal reasoning engine and not a replacement for lawyers. Interpretive legal reasoning is never trusted automatically.
- Clause, citation and fairness checks are signals for review, not proofs. The fairness check uses a model you supply.