Open-source runtime verification for AI
Proof before your AI acts
Before an AI moves money, changes data or ships code, QWED checks the work. Only what is proven goes ahead.
- Checked by
- Exact arithmetic
- Worked out
4500 × 0.18 → 810- Decision
- Proven false
VERIFIED (false)DENY - Why
- 810 ≠ 81, proven false. Your app gets DENY and doesn’t use the figure.
# No model, server or API key needed.pip install qwedqwed testMath: [ok] 2+2=4 -> VERIFIED | ADMIT [ok] 2+2=5 -> VERIFIED (false) | DENY ...12/12 tests passed. All engines ready.Evidence · v13.0.0
165 false claims went in. None was accepted.
At every release, 207 claims with a known answer, true and false, go through the engines. A false claim accepted would count against QWED, and would show here.
| Engine | Claims | False claims caught | True claims proved | False claims accepted |
|---|---|---|---|---|
| SQL | 67 | 58 of 58 | 9 of 9 | 0 |
| Code | 60 | 52 of 52 | 8 of 8 | 0 |
| Math | 48 | 34 of 34 | 13 of 14 | 0 |
| Logic | 22 | 14 of 14 | 8 of 8 | 0 |
| Schema | 10 | 7 of 7 | 3 of 3 | 0 |
No AI model takes part in the test, so anyone can run it again from the release and get the same result.
It covers the SQL, Code, Math, Logic and Schema engines. It doesn’t cover the step that turns natural language into a formal statement, or whole agent workflows. What it doesn’t measure
Built with support from open-source programs
Programs that give QWED their products for free. Not customers.
Put proof behind every field your AI touches

Ordinary computer arithmetic turns 0.1 + 0.2 into 0.30000000000000004. Across thousands of payments, that adds up.
Recomputed exactly, the drifted figure is held.

“Net 30 business days from 20 December” lands on the wrong date once weekends and holidays are counted.
The real date is worked out, and the wrong one is held.

FICA tax on a $500,000 salary given as $31,000, as if the Social Security wage limit did not exist.
The wage limit is applied, and the figure is held.

A policy grants s3:* on every resource, so any bucket can be read or deleted.
The solver proves the policy reaches every bucket.

An agent calls a shell tool with rm -rf /.
A blocked tool pattern: denied, so your agent does not run the call.

An API key for OpenAI, GitHub, AWS or Stripe is committed along with the code.
The pull request check fails.
Interest, fees, loan figures and payment messages recalculated exactly before money moves.
See banking and paymentsDeadlines, amounts and claims in contracts checked against the rules.
See legalWithholding and tax figures checked before anyone relies on them.
See taxChanges to permissions, infrastructure code and cloud costs checked before they apply.
See cloud infrastructureRuntime verification for agents: before an agent runs a tool, messages another agent or makes a purchase, QWED checks the action.
See AI agentsQWED Security checks every code change on GitHub before it merges.
See software delivery
A model proposes. A solver decides.
Checking AI with another AI is a guess checking a guess. QWED puts a solver between the answer and the action, and keeps a record of why.
How the engines workYour agent
Refund 810.00. 4,500 × 0.18 = 810, proven to hold, so the refund goes ahead with its record.
Goes aheadYour agent
Refund 81.00. The tax on 4,500 at 18% is 81.
Nothing checked itA receipt for every decision
Each decision ends in a record: what was asked, what was checked, and what happened. QWED Security signs the ones it lets through, so someone outside your team can confirm them without trusting you or us.
How a signature is checkedQWED Security let pull request #103 through
QWED Dashboard for the people who sign off
Every decision your AI made, and why
Reviewers, auditors and leadership see what was decided, what was checked and why, without reading code. It runs next to your own QWED server. These screens use sample data.



Needs a personWhat did not go ahead, newest first.


Blocked3 of 15 records today.




Held for a personNothing could prove it, so it waits.


StoppedThe documents contradict the claim.




Went aheadThe reason, in plain words.


CheckedThe evidence stays with the decision.


What happened today, and what needs a person.
The preview runs on sample data. No account needed.
Everything between your AI and the action
One open-source core, and the products built on it. Each runs in your own stack, under your policy.
-
QWED Security
A free GitHub App that checks every pull request before it merges, and signs what it lets through.




A real run, as GitHub shows it: pull request #592 in qwed-verification.

Where it runs
QWED runs where your data already is.
-
In your environment
Installed on your servers, next to your systems. There is no QWED cloud.
-
Nothing sent to us
Records, keys and evidence stay with you. Checks that start from natural language send a prompt to the model provider you choose.
-
One core for every product
A payment, a contract deadline and a tool call pass the same checks.
Contributors
Shipped by contributors
The latest change each contributor has merged into QWED, credited to its author. Your name could be next.
Track taint inside expressions; sink-specific sanitizers


Ataraxiainc2Reject non-finite amounts and never raise from verify_invoice_total


mayuriphadFix SafetyGuard field scanning and context propagation


mikemikimikeMigrate SymbolicVerifier to DiagnosticResult (Phase 1)


FaresIbrahim32Export TaxPreFlight, diagnostics, and guards from __init__.py


AshSgDe29071999Add edge case coverage for statistics engine


Pryce22Your change could be next
The contributing guide covers setup, tests and how a change gets merged.How to contribute
How to contribute All contributors
Security researchers
63 advisories published, 62 fixed in a released version. 8 researchers credited by name.

Yours to run, read and keep
Open to read
Apache-2.0. Your security team can read every line before it runs.
-
Security in the open
63 advisories published, 62 fixed in a released version.
-
Built in public
72 releases in the last twelve months.
