A legal associate that shows its reasoning and never invents the law.

The first of a suite of industry models built the Konomi way. A small model, trained on this laptop, reads a consumer's complaint. A verified library of real UK legislation works out the rights, the remedy and the deadlines. A gate lets nothing through that the library didn't give, and abstains when the model reports a critical fact missing. A qualified human reviews every word, and must: the small model's reading of the facts is the weak link, as the result below shows.

Loading the record…

The result Synthetic data

Each claim was written down with its bar before any code (CLAIMS.md). The model, the data and the code were frozen by hash before any model read a held-out complaint (SEAL2.md). A claim that misses its bar is kept and shown as failed. Every number is read from the committed record.

ClaimWhat it saysMeasured syntheticBarVerdict
On the held-out complaints syntheticThe tuned 0.5B, inside the stackThe same model untuned, inside the stackqwen2.5:7b on its own

…

Measured after the seal: the checks a skeptic asks for

Run after the held-out record, by tools outside both seals. They change no sealed number above; they test it. Each re-derives in CI from committed files.

…

…

SYNTHETIC DATA · What these numbers are measured on. Synthetic complaints: written by this repository's own generator from structured facts, in phrasings the model never trained on, with the truth computed by the verified library. No real client matter has been run. A client build retrains the adapter on that firm's own intakes, with consent, and is judged the same way on a held-out set of its own before anyone relies on it.

What the result says

…

Watch it work, on a complaint it never saw

Pick a held-out complaint. You see what the trained model read from it (recorded when it ran on this laptop), then the library and the gate turn that into the memo live, in your tab. Beside it is what the bigger model said on its own (also recorded), with its citations checked against the verified table.

The complaint

What the trained model read (recorded)
The associate's memo (library and gate, live)

qwen2.5:7b on its own (recorded)

Try your own facts

Set the facts of a complaint yourself and the library and the gate answer in your tab. No model is involved here: this is the reasoning layer on its own, and it gives the same answer every time.


  

Clear a date to see the associate abstain and name what it needs.

What this is

Simon's SLM Suite: one shared stack, and a model per industry where only the training data and the domain's rules change. Each finished one is both a showcase a prospect can test and the template for the next real client in that industry. Legal is first and built deep, because building it builds the shared stack.

This associate does the first screen on a consumer's complaint about goods, a service or an online purchase, under the law of England and Wales: which rights apply, which remedy, which deadlines matter, and an angle a busy reader might miss. It assists. A qualified human reviews it and owns any use of it.

Words on this page

SLMA small language model: here Qwen2.5 with half a billion parameters, small enough to train and run on a laptop.
LoRA, adapterA way to train a model by adding a small set of new weights (the adapter) instead of changing the whole model. The adapter is a single file of a few tens of megabytes.
Verified libraryThe associate's reasoning: rules written from the actual legislation, each checked against legislation.gov.uk, that compute the rights, the remedy and every deadline date.
The gateThe check between the model and the memo. No provision, remedy or date reaches the memo unless the library gave it. If the model reports a critical fact missing, the associate abstains and says what it needs. If the model reads a fact that is not there, the gate cannot tell; the human review is what catches it. One line is the model's own words: its one-sentence summary of the complaint. The gate withholds it if it mentions law or dates and checks nothing else about it; the audit under the result counts how often it is wrong.
AbstainDecline to answer, and say why. Better than a confident guess.
Held-outComplaints kept aside, written in different words from the training ones, and read once after everything was frozen.
Section 75Consumer Credit Act 1974, s. 75: when a single item costing over one hundred pounds and up to thirty thousand pounds is paid for by credit card, the card issuer can be liable too. A classic angle that gets missed.
Seal, mutation gateSeal: the claims, then the frozen model and code, committed to the public record before the held-out set is read. Mutation gate: a tool (witness) that breaks the code in small ways and checks the tests catch every break.

Start here

  1. Read The result, and the three-way table under it.
  2. Step through a few complaints in Watch it work, including one where a date is missing.
  3. Set your own facts in Try your own facts, and clear a date to see it abstain.
  4. Off the page: clone the repo and run node --test test/suite.test.mjs, node tools/data.mjs --check and node tools/eval.mjs --check. To re-run the models you need the base model and the adapter on your own machine.

How it works

the complaintplain words trained SLMreads the facts verified libraryrights, dates the gateor abstain a humanreviews, owns the model reads; the law reasons; the gate refuses anything ungrounded; a person decides
  1. Read. The trained model turns the complaint into facts: what was bought, how, the price, how it was paid, the dates, how many repairs failed, and whether the buyer simply changed their mind. It also writes a one-line summary.
  2. Reason. The verified library takes those facts and works out the claim, the provisions that apply, the remedy and every deadline date, by fixed rules taken from the legislation.
  3. Gate. If a fact the answer depends on is missing, it abstains and says which. A summary that mentions law or dates on its own is withheld. Every provision cited comes from the verified table.
  4. Propose. Where an angle applies, such as section 75 against the card issuer, it is added, marked as a proposal.
  5. Hand over. Every memo ends with the review label: a qualified human reviews it and owns any use of it.

Blueprint

What is shared and what is legal: stack/ is the template every vertical reuses unchanged. verticals/legal/ is all that changes: the law table, the library's rules, the fact schema and the words.

What it will not do

Adoption

A pilot, step by step

  1. Pick one intake a team screens by hand, such as consumer enquiries or claim triage.
  2. Agree the provisions and rules it covers, with a solicitor, and seal the bars it must meet.
  3. Train the adapter on your own past intakes, with consent, on your own hardware.
  4. Freeze it, then judge it once on held-out intakes against your current first screen. The fee is due only if it beat it.
  5. Run it beside your team, deciding nothing, until the reviewers trust it on what it does.

What it runs on: a laptop CPU, as here. Training the adapter took …; drafting one memo took about … on the same CPU, which other work shared for part of the run. No GPU, no cloud service.

White paper: let the small model read and the law reason

The question. Can a model small enough to train on a laptop, wrapped in a verified library and a gate, triage real-shaped legal complaints better than a bigger model answering on its own, without ever inventing the law?

The method. Fourteen provisions read on legislation.gov.uk; a rule engine over them; synthetic complaints written from structured facts, 360 to train and 80 held out in phrasings never seen; a LoRA adapter on Qwen2.5-0.5B trained on the CPU; the claims and bars sealed first, the model and code frozen by hash, the held-out set read once.

The results, from the record:

The limits, plainly:

For business

WhoWhat this means for them
Managing partnerA first screen that shows its reasoning, cites only verified law and says when it cannot tell, on hardware you own.
FinanceNo per-seat licence and no per-call fee. The cost case below uses your own numbers.
Risk and complianceNothing leaves the building; no ungrounded law, remedy or date reaches the memo; a qualified human reviews every output, including the model's one-line summary, and owns it.
ITA base model, a small adapter file and a few scripts. It runs offline, with the network disabled.

The cost case for one intake

Your numbers in; sourced figures for the rest, each source listed. These are your costs. No price of ours appears. The starting values are an example intake. Put in your own.

…

RouteWhat it meansA yearOver the years

Questions buyers ask

Will it make up a case or a statute?Loading…
What happens when the client leaves out a date?Loading…
Is this legal advice?No. It assists a qualified human, who reviews it and owns any use of it. It does not advise, decide, file or send.
Does client data leave our machines?No. Training and inference run on your hardware, and inference runs with the network disabled. This page loads only its own files.
Was the bigger model given a fair go?Loading…
What failed?Loading…
Who has used it on real matters?No one yet: this is the showcase. A client build retrains the adapter on that firm's own intakes, with consent, and is judged on their held-out set before anyone relies on it.

Supplied by AI Native Solutions; contact through that site. Support, SLA, warranty and liability are agreed per deployment. The code is MIT.

Sources, as read into the cost basis: