AI over a clause library with immutable versions
Can AI draft and review contracts safely?
Assembly is deterministic: templates carry a merge-field preamble and conditional clause sets, and the output comes with an unresolved-fields report so nothing ships with a blank in it. The clause library keeps immutable version history, so what was signed is always recoverable.
Every figure in a LekhaPro answer is computed before any model sees it. A router picks the deterministic engines the question needs, those engines read your posted books and return a structured snapshot, and only then is the language model given that snapshot and told to write the reply. Switch the model off and an on-device narrator writes the same answer from the same numbers.
The AI helps you find and summarise — ranked full-text search across the register, a plain summary of an obligation — rather than inventing legal language.
Who does what
| Step | Who does it | Can the model change it? |
|---|---|---|
| Read the posted ledger | Deterministic engine | No |
| Compute the figure | Deterministic engine | No |
| Choose which engines to run | Router | No |
| Write the sentence | Language model | Wording only |
| Propose an action | Named, validated tool | Drafts it; you approve |
| Write to your data | Existing audited mutation | Never unattended |
What it does here
- Ranked full-text search across every contract in the register
- Summarises obligations, renewal dates and counterparties
- Assembles documents deterministically with an unresolved-fields report
The boundary
- Not legal advice, and not a substitute for review by a qualified adviser.
- Clause generation stays inside your own library; the model does not draft novel legal text unattended.
Questions
Can AI draft and review contracts safely?
Assembly is deterministic: templates carry a merge-field preamble and conditional clause sets, and the output comes with an unresolved-fields report so nothing ships with a blank in it. The clause library keeps immutable version history, so what was signed is always recoverable.
Does the AI ever calculate the numbers itself?
No. A deterministic engine computes every figure from your posted books and hands the model a structured snapshot; the model writes prose about it. Turn the model off and an on-device narrator produces the same answer from the same numbers — which is the test worth applying to any AI accounting claim.
Can it change my data?
Only through named tools bound to existing audited mutations, argument-validated before they run, and every tool that writes carries an approval requirement. Nothing bypasses the permissions your user account already has, and every write is logged like any other.