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