The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Veris listing page.
veris — Latin, “of truth”
Your agent just changed 40 files.
What actually broke, and was any of it checked?
Every one is published — what broke, why it mattered, the fix, and the test that proves it: docs/internal/BUG_TRACKER.md
The worst three, in our own tool:
It invented baselines. When git was unavailable, Veris built a "before" state from the first 70% of the current graph and reported the comparison as a real behavioral diff. No flag. No warning. A verification tool was fabricating the thing it verified against.
91% of its call edges were guesses.
It matched the trailing name of a call against every declaration sharing that name.
console.log() drew an edge to the project's own Logger.log. Measured on a real
dependency: 2,804 of 3,077 edges pointed at an ambiguous name.
The graded agent could erase its own failures.
Execution results were stored with INSERT OR REPLACE. Post fail, then post
pass, and the failure was gone.
We could have fixed these quietly. Publishing them is the point: a tool that tells you what is unverified has no standing to hide its own unverified claims.
This is also the demo. That is the analysis Veris performs, run on itself.
A behavioral diff for AI-written code, speaking the Model Context Protocol so your agent can ask while it is still working — not after you find out in review.
It answers two questions a line diff cannot:
Veris never executes anything. No tests, no sandboxes, no runtime. It reads, models, and tells your agent what is at risk and what evidence exists. Running things stays with the tools that are good at running things.
| Veris is not | Because |
|---|---|
| A test runner | It executes nothing. It tells your runner what is worth running. |
| A linter or SAST tool | No rules about style or known-bad patterns. It models behavior change. |
| An "AI guardrail" | That means filtering model output. This is about the code the model writes. |
| A coverage tool | Coverage says which lines ran. Veris says which behaviors changed and what backs them. |
Read lines 2 and 4 again — they are the whole philosophy.
Six calls were too ambiguous to resolve, so Veris drew no edge rather than
guessing. The head is marked -dirty because uncommitted changes were included, so
the result is not reproducible from commits alone.
Most tools report only what they found. Veris also reports what it could not determine, because a confident wrong answer is worse than an admitted gap.
As an MCP server — one config block, then restart your client:
17 tools light up in Claude Code, Cursor, or any MCP-compatible agent.
As a CLI:
Needs a git repository with real history. Veris diffs against the merge-base with your base ref. If it cannot establish one, it fails and says why rather than inventing a baseline. In CI:
fetch-depth: 0.
On npm 12, run history needs one extra line. npm 12 no longer runs dependency install scripts by default, so
better-sqlite3never fetches its prebuilt binding. Veris still analyzes, diffs, scores risk and plans verification — only run history and cross-run drift need it. The allowlist is per-project and is not inherited from a dependency, so it has to go in yourpackage.json:Then
npm rebuild better-sqlite3.veris-core doctorreports which mode you are in, and never claims persistence is working when it is not.
The red box is a feature. So is the loop back into coverage.
Most graph tools give you an edge. Veris tells you why it believes the edge:
resolution | Meaning |
|---|---|
resolved | The TypeScript checker identified the declaration. Trustworthy. |
heuristic | Checker couldn't, but exactly one declaration bears that name. |
structural | Containment or an import relationship. |
| (no edge) | Several candidates and nothing distinguishes them. Silence, not a guess. |
Anything that must not reason on a guess — a gate, a policy rule — filters for
resolved. Missing edges understate coupling. They never invent it.
The agent posting results is usually the agent being judged. So:
| Trust class | Who | Weight |
|---|---|---|
veris-derived | Veris computed it | full |
harness-observed | An external runner saw it | full |
agent-asserted | The agent says so — the default | half |
Records are hash-chained. A later pass never overwrites an earlier failure; editing
the database directly breaks the chain and verifyEvidenceChain() reports exactly
where. An agent cannot raise its own assurance by asserting harder.
Same name. Same callees. Same graph shape. Every name-and-topology comparison sees
nothing. Veris hashes the normalized body, so this surfaces as a modifiedNode —
while renaming a directory, which used to look like 100% drift, now correctly looks
like nothing at all.
Probes are concrete, not nudges:
Payments / idempotency — Submit a charge twice with the same idempotency key inside a 500 ms window. Invariant: exactly one ledger entry; the second call returns the first result.
Webhooks / replay — Replay a 24-hour-old signed payload with its original signature. Invariant: rejected by timestamp window even though the signature is valid.
| Semantic workflows | 25 domains — Authentication, Payments, Checkout, Webhooks, Queue, Caching… So the unit is "checkout reliability", not GraphModels.ts. |
| Risk model | Coupling magnitude, inbound-coupling dominance, runtime criticality — three inputs measuring different things. Every weight in data/risk-config.json, plain-English reasons attached. |
| Drift detection | Fingerprints across runs. Catches silent rewrites, surface changes, oscillating refactors, and deletions. |
| Budget allocation | Given N minutes, the highest-leverage subset to actually run. |
| Counterfactual | what_if_revert — what recovers if this comes out? |
| Onboarding export | Workflow-first markdown for a new engineer, or a new agent, on an unfamiliar codebase. |
| Dashboard | Standalone HTML. Click a workflow, everything filters. Click-to-copy directives. |
Stated plainly, so nobody discovers them the hard way.
Upgrading from 2.x? 3.0 has real breaking changes — see UPGRADING.md.
VERIS_STATE_DISABLED=1.Veris is usually pointed at repositories you did not write, so repository content is
untrusted input. Plugins execute code from the analyzed repo, so they are off by
default — --allow-plugins opts in, and each plugin's path and SHA-256 is printed
before it runs. There is no sandbox, and SECURITY.md says so plainly
instead of implying otherwise.
| MCP tools | All 17 tools with recommended flows |
| Architecture | Design invariants and the defect each replaced |
| Audit tracker | All 55 findings, with evidence |
| Upgrading | 2.x → 3.0 |
| Security | Threat model and reporting |
| Roadmap | What is next — and what will never be built |
| Plugins | Extending classification and risk |
The five things that move the needle most:
See CONTRIBUTING.md. Open source, sponsor-supported. No paid tier, no gated features, no open-core bait.
MIT — see LICENSE