verify_claim
Verify a claim against evidence
Decide one claim against evidence bytes the caller supplies, with probity-verify.
case必填policy必填artifacts
io.github.probityai由 GitHub 账号 probityai 发布v0.2.5更新于 Nov 3, 2026
Offline, read-only tools that verify AI claims against evidence and replay conformance vectors.
离线、只读的 MCP 服务器,让助手依据调用方提供的证据字节核验关于 AI 系统的声明,并重放一致性测试向量。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
[CI] [PyPI] [Downloads] [Licence] [Stars]
Open tools that check claims about AI agents against evidence you pinned: an offline verifier today, with the observer joining this repository. The standard layer (corpus, vocabulary, admission rules and crates) lives in https://github.com/probityai/agent-evidence-vectors.
It's for auditors, incident reviewers and relying parties who need a decision they can replay, and for tool authors who want their records checked the same way.
Install the released verifier: uv add probity-verify==0.2.4, then pip install probity-verify==0.2.4.
Verified by Probity (github.com/probityai/probity). The probityai command line is released: uv add probityai==0.1.0, then pip install probityai==0.1.0.
Check a sample claim with the released package. You need Python 3.11 or newer and uv; there is nothing to clone:
It prints a decision packet that opens:
A selected passage is in the source capture but missing from the stored report. Swap in policy-april.json for not_established, or case-complete.json with policy-complete.json for supported.
Apache-2.0, per directory: each member carries its own LICENSE.
来源:README.md,提交 15b0b4b
Verify a claim against evidence
Decide one claim against evidence bytes the caller supplies, with probity-verify.
case必填policy必填artifactsRun a bundled sample claim
Run a bundled sample claim: contradicted, not_established or supported.
scenario必填List conformance vector corpora
Name every shipped corpus with its suite revision and vector counts where it declares them.
无需输入参数。
Replay a conformance vector corpus
Replay one corpus with the bundled reference verifier; per-vector rows come back in pages.
limitcorpusoffsetExplain one conformance vector
Return one vector: its manifest entry, the conditions it tests, and its input bytes.
corpusvector_id必填Look up a vocabulary term
Look a term up in the released vocabulary by exact key; otherwise suggest close keys.
term必填Check an artifact digest against a document
Check that an artifact has a digest a TEA, CycloneDX or in-toto document names.
document必填artifact_textartifact_base64Canonicalize JSON under RFC 8785
Admit one JSON document and return its RFC 8785 canonical bytes, with the jcs-admit crate.
profiledocument必填Verify a DSSE envelope
Verify a DSSE envelope against Ed25519 keys the caller trusts, with the dsse crate.
envelope必填thresholdtrusted_keys必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
samples="$(uvx --from probity-verify==0.2.4 python -c 'import importlib.resources as r; print(r.files("probity_verify") / "samples")')"uvx probity-verify==0.2.4 "$samples/case.json" --policy "$samples/policy-june.json"Probity decision packet v1Case: "source-coverage-demo"Claim: source_text_coverage/v1Decision: contradictedReason: selected_span_missing_from_recorduv sync --all-packages --all-extrasuv run python -m pytest