claim-seal
Checks whether each claim is actually backed by the sources it cites, sentence by sentence, and seals the result so a later edit shows.
Designed with
- anatomy figure kit
- assembly-motion · our motion tool
- Playwright
Built from
- claim-seal · its own code
- Python 3.10+ standard library · runs on
Made with
- Command Center · our agent workspace
What this is
It is for anyone who publishes writing with citations, or builds a tool that writes it. It checks each citation before a reader sees it, and seals the result so a later edit shows.
Parts of the machine
Each station is one step this building block runs on a piece of writing. Open a label to see what it does.
Writing whose claims cite sources by title, plus the sources, each fingerprinted with SHA-256.
Plain code, no model. Each cited title must match a source you gave. No match: “unresolved”, and it stops.
One model call per resolved claim, a second only after a transport error or an empty answer: supported, partial or unsupported. Code keeps a quote only if it is found exactly.
Each sentence is marked against each source it cites, into one of four bins: says what it says (=), goes further (+), contradicts (≠), or unrated (?).
One row per claim per citation: outcome, where the passage sits (never its text), verb. Each row’s hash feeds the next: edit a row and the check fails.
Claim verdicts and their reasons, the sentence labels from 4, overclaim flags, rule ids. Changing them still verifies.
The lower half of the orb: the claim-seal package, Python 3.10 or newer and its standard library only, MIT licensed. Closed, the orb is one sealed unit; open, its six stations show.
- Python 3.10+ standard library · runs on
To run your ownYour own computer is enough
Used in
ComposerPick sources and a lens; get a short brief in which every line says how well its source backs it.Experience Model: bring your ownCost: varies
Overview
What it does
Two passes. Plain code finds each cited source; then one model call per claim rates how well the source backs it. Each verdict row is sealed into a chain.
Where it is used
In Composer:
Each claim is checked against the article it cites: does the cited title exist, and do the words hold up? claim-seal is that check as an open building block; run again on the recorded answers, it agreed with all six verdicts.
How it's made
How it's made
Text + sources → Pass 1: find → Pass 2: support → Each sentence → The seal → Not sealed
Python 3.10 or newer and its standard library only: the package declares no dependencies. It was extracted from Composer, which writes short sourced briefs and checks each one before a reader sees it, with the same method, judge prompts and defaults.
Limits
- It does not prove a claim true: a claim faithfully backed by a wrong source still passes. Its judge is a language model, so a verdict can be mistaken.
Deliver it
Deliver it
SourceYour computer is enough.
It is a Python package with no dependencies that you call from your own tool. It needs no server; a model key only for its second pass.
Needed
Your computer
Only you can open it.
Try it offline first: it plays back recorded answers, so no key is needed. For real checks, set two things: OPENAI_API_KEY (your key) and CLAIM_SEAL_MODEL (the model's name). Any OpenAI-compatible service works: set CLAIM_SEAL_BASE_URL to its address.
Public, MIT, Python 3.10 or newer, standard library only.
Run the offline demo
git clone https://github.com/lensmith-ai/claim-seal
cd claim-seal
python3 -m claim_seal check examples/brief.json examples/sources.json --judge replay:examples/replay-answers.json --out /tmp/result.json
python3 -m claim_seal verify-seal /tmp/result.jsonCost: up to 2 model calls per claim, on your model key
Receipts
Its own code: github.com/lensmith-ai/claim-seal · MIT · commit used: 331d6a0
| Part | What it is used for | Role, licence and version |
|---|---|---|
| Python 3.10+ standard library | All claim-seal needs to run: plain Python, nothing else to install. | runs on · Python 3.10 or newer; no other dependency |
The tools used to explain, display, test or ship it. They are not part of what it does.
| Part | What it is used for | Role, licence and version |
|---|---|---|
| setuptools | Builds the package from its source; not used when it runs. | built it · MIT · 84.2.1 (pinned in pyproject.toml) |
| GitHub Actions | Runs the tests and checks on every change. | built it · each action pinned by its full commit (.github/workflows) |
| CodeQL | Scans the code for security problems on every change. | reviewed it · MIT · codeql-action v4.39.1, pinned by commit (codeql.yml); the CodeQL CLI it runs is under GitHub's CodeQL terms |
| Command Center | Our agent workspace, where it was built and run. | where it was built · no public link yet |
| anatomy figure kit | The drawing parts and style of the picture on this page. | designed with · MIT · commit used: 689dcf9 |
| assembly-motion | Makes the picture build itself on screen. | designed with · no public link yet |
| Playwright | Turned the drawing into the image layers you see. | rendered with · Apache-2.0 |
| What it is used for | What it paid for | Amount |
|---|---|---|
| model calls on your own key | up to 2 model calls per claim | your own bill |
| Work | What it is used for |
|---|---|
| Mole | Related work on checking claims. Not used to build this. |
| SemanticCite (Haan, arXiv 2511.16198) | A research paper on checking citations. Related, not used to build this. |


