Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

epistemic-guard: Signed Tool Receipts & Verification

by AlienatedAliensversion 0.5.2i★ 1iRuns on your computerOfficial site ↗
Registry nameio.github.AlienatedAliens/epistemic-guard

How to install

What it does

Verify agent tool claims against Ed25519 receipts and collapse syndicated RAG copies locally.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6381 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6051 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2361 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity16/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score28/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 16 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install epistemic-guard: Signed Tool Receipts & Verification. Follow https://mcp.popnx.com/i/alienatedaliens-epistemic-guard.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 19, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server epistemic-guard: Signed Tool Receipts & Verification for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "epistemic-guard": { "command": "uvx", "args": [ "epistemic-guard", "mcp-server" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the epistemic-guard: Signed Tool Receipts & Verification tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "epistemic-guard": {
          "command": "uvx",
          "args": [
            "epistemic-guard",
            "mcp-server"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use epistemic-guard: Signed Tool Receipts & Verification and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using epistemic-guard: Signed Tool Receipts & Verification or shows a epistemic-guard: Signed Tool Receipts & Verification tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect epistemic-guard: Signed Tool Receipts & Verification yet

epistemic-guard: Signed Tool Receipts & Verification runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect epistemic-guard: Signed Tool Receipts & Verification

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server epistemic-guard: Signed Tool Receipts & Verification for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user epistemic-guard -- uvx epistemic-guard mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the epistemic-guard: Signed Tool Receipts & Verification tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user epistemic-guard -- uvx epistemic-guard mcp-server
  4. Type /mcp in Claude Code

    You should see epistemic-guard: Signed Tool Receipts & Verification listed as connected

  5. Try it

    Use epistemic-guard: Signed Tool Receipts & Verification and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using epistemic-guard: Signed Tool Receipts & Verification or shows a epistemic-guard: Signed Tool Receipts & Verification tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server epistemic-guard: Signed Tool Receipts & Verification for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "epistemic-guard": { "command": "uvx", "args": [ "epistemic-guard", "mcp-server" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the epistemic-guard: Signed Tool Receipts & Verification tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use epistemic-guard: Signed Tool Receipts & Verification and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using epistemic-guard: Signed Tool Receipts & Verification or shows a epistemic-guard: Signed Tool Receipts & Verification tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server epistemic-guard: Signed Tool Receipts & Verification for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "epistemic-guard": { "type": "stdio", "command": "uvx", "args": [ "epistemic-guard", "mcp-server" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the epistemic-guard: Signed Tool Receipts & Verification tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use epistemic-guard: Signed Tool Receipts & Verification and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using epistemic-guard: Signed Tool Receipts & Verification or shows a epistemic-guard: Signed Tool Receipts & Verification tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use epistemic-guard: Signed Tool Receipts & Verification💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user epistemic-guard -- uvx epistemic-guard mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "epistemic-guard": {
      "command": "uvx",
      "args": [
        "epistemic-guard",
        "mcp-server"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "epistemic-guard": {
      "command": "uvx",
      "args": [
        "epistemic-guard",
        "mcp-server"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "epistemic-guard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "epistemic-guard",
        "mcp-server"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
458/wk
Connection
Runs on your computer
Latest versioni
0.5.2
Published to registryi
Nov 19, 2026
Code last changedi
Nov 19, 2026
Maker
AlienatedAliens
Packages
pypi: epistemic-guard
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account AlienatedAliens, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/alienatedaliens-epistemic-guard.svg)](https://mcp.popnx.com/en/servers/alienatedaliens-epistemic-guard)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 76% of the other 6470 servers in this category
  • Published to the registry more recently than 98% of the other 6470 servers in this category
  • Basic checks equal to or better than 99% of the other 6470 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is epistemic-guard: Signed Tool Receipts & Verification safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.5.2) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.3KUpdated 6 days ago

Runs in the cloud✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated today

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
Compared with similar ones
This one
epistemic-guard: Signed Tool Receipts & Verification
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks3/35/52/44/44/44/4
LicenseMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

epistemic-guard

Signed tool receipts, out-of-process MCP receipt proxying, Ed25519 memory write-gating, and RAG source deduplication for autonomous agents. Runs locally on CPU, GPU, or NPU in 3–11 ms. Zero LLM API calls. MIT License.

Project Page · PyPI · Interactive Demo · INT8 Weights · Held-Out Benchmarks (N=973)


What It Fixes

  1. Phantom tool claims in assistant replies: A tool threw an HTTP 500, failed schema validation before execution, or was never called, yet the model replies *"I refunded order #8821 and emailed the receipt."* Pre-execution firewalls do not catch this when no tool call occurred.
  2. Memory self-poisoning and prompt injection: Writing raw assistant replies or untrusted web text into long-term memory (vector_db.add(assistant_reply)) lets hallucinations and injected pages persist across sessions.
  3. Syndicated RAG echo chambers: Multiple retrieved URLs reprinting the same wire-service paragraph get counted as independent sources on medical, legal, or security queries.

Install

pip install epistemic-guard

Optional: download the 4-model OpenVINO INT8 pack (~227 MB download / ~279 MB unpacked, SHA-256 verified)

epistemic-guard download-models

Run the local 4-part verification showcase

epistemic-guard demo


1. Out-of-Process MCP Receipt Proxy (mcp-proxy + verify-log)

Wrap any stdio MCP server (Claude Desktop, Cursor, Cline, Windsurf, or custom agents in any language). The Ed25519 signing key stays inside the mcp-proxy OS process; EPISTEMIC_GUARD_MCP_KEY_HEX is stripped before spawning the child MCP server. Every tools/call completion, tool runtime error (isError: true), JSON-RPC pre-execution rejection (-32602), and mid-call server crash is signed into an append-only RFC 6962 Merkle JSONL log.

{

"mcpServers": { "filesystem": { "command": "epistemic-guard", "args": [ "mcp-proxy", "--log", "/var/log/agent/receipts.jsonl", "--key-file", "/etc/agent-keys/mcp.key", "--pubkey-out", "/etc/agent-keys/mcp.pub.json", "--aer1", "--", "npx", "-y", "@modelcontextprotocol/server-filesystem", "/srv/workspace" ] } } }

Verify the receipt log and check an assistant reply from any language or CI job:

# Verify Ed25519 signatures, sequential chain hashes, and Merkle roots (exit code 0 = valid, 2 = tampered)

epistemic-guard verify-log /var/log/agent/receipts.jsonl \ --pubkey-file /etc/agent-keys/mcp.pub.json

Also verify an assistant reply against those verified receipts (exit code 1 = ungrounded claim)

epistemic-guard verify-log /var/log/agent/receipts.jsonl \ --pubkey-file /etc/agent-keys/mcp.pub.json \ --narration "I saved the checklist to notes.txt; I also deleted staging.db." \ --prompt "Save notes.txt and delete staging.db." \ --json

Security boundary note: If the untrusted agent process has filesystem write access to --log, always pass --pubkey-file (stored outside the agent's writable directory) when running verify-log so an attacker cannot replace the entire log file under a newly generated keypair.

You can also run epistemic-guard itself as a standalone stdio MCP verification server (verify_narration, verify_receipt_log, inspect_receipt, corroborate_sources):

{

"mcpServers": { "epistemic-guard": { "command": "epistemic-guard", "args": ["mcp-server"] } } }


2. In-Process Python Supervision (@recorder.tool + ReceiptSupervisor)

import os

from epistemic_guard import ( MerkleReceiptLog, ProvenanceGate, ReceiptRecorder, ReceiptSupervisor, SignerFactory, )

factory = SignerFactory.from_master_key(os.urandom(32)) gate = ProvenanceGate(factory.public_keys()) merkle = MerkleReceiptLog(gate=gate) recorder = ReceiptRecorder(signer=factory.tool_verified(), merkle_log=merkle)

@recorder.tool # Supports sync and async functions def write_file(path: str, content: str) -> str: return f"wrote {len(content)} bytes"

write_file("notes.txt", "release checklist")

sup = ReceiptSupervisor(device="CPU") verdict = sup.verify_narration( "I saved your checklist to notes.txt; I also deleted staging.db.", receipts=recorder.receipts, user_prompt="Save the checklist to notes.txt.", )

assert verdict.is_valid is False print(verdict.unsupported_spans[0])

UnsupportedClaimSpan(text='I also deleted staging.db.', start_char=37, end_char=63, claimed_family='CLAIM_DELETE', ...)

Correction prompt surfacing executed (ok=True), failed (ok=False), and pre-execution rejected calls:

print(verdict.to_retry_prompt(recorder.receipts))

  • Streaming SSE / voice pipelines: sup.stream(receipts=...) checks each clause as ., !, ?, ;, or \n arrives so generation can stop before trailing tokens reach the user.
  • Router dispatch & AER-1 interop: recorder.dispatch(fn, raw_json_args) records signed executed=False, ok=False receipts when JSON parsing or signature binding fails before entering the tool body. ToolReceipt.from_aer1(...) and receipt.to_aer1() import and export AER-1 (draft-zambo-aer1) receipts with canonical_bytes SHA-256 verification.
  • Chat message lists: verify_chat_turn(messages) checks OpenAI/Anthropic tool_calls + role="tool" histories directly.

3. Ed25519 Memory Write-Gating (ProvenanceGate + SQLiteProvenanceStore)

ProvenanceGate holds only Ed25519 public keys. Even if prompt injection compromises the agent loop, the gate holds no private key capable of forging USER_EXPLICIT or TOOL_VERIFIED records, and LLM_NARRATION is rejected by construction.

import os

from epistemic_guard import Provenance, ProvenanceGate, SQLiteProvenanceStore, SignerFactory

factory = SignerFactory.from_master_key(os.urandom(32)) gate = ProvenanceGate(factory.public_keys()) # Public keys only store = SQLiteProvenanceStore("agent_memory.sqlite", gate) # Append-only SQLite triggers + hash chain

env = factory.user_explicit().sign("Deploy freeze starts Friday 18:00 UTC.", trace_id="turn-42") store.append(env, expected_provenance=Provenance.USER_EXPLICIT)

assert len(store.list_verified()) == 1 assert store.verify_chain() == 1 store.close()


4. RAG Source Deduplication & Hazard Scaling (corroborate_sources)

from epistemic_guard import corroborate_sources

wire_copy = ( "Clinical guidance notes that initial adult warfarin dosing typically starts at " "2 mg to 5 mg once daily with INR monitoring." ) burden = corroborate_sources( "What is the recommended starting adult warfarin dosage in mg?", [ {"url": "https://reuters-health.org/a", "snippet": wire_copy}, {"url": "https://clinical-digest.net/b", "snippet": wire_copy}, {"url": "https://pharma-bulletin.io/c", "snippet": wire_copy}, ], device="CPU", )

assert burden.deduplicated_duplicates_collapsed == 2 assert burden.independent_sources_count == 1 assert burden.meets_casual_burden is False # High-hazard query requires >=3 independent sources


Measured CPU Performance & Held-Out Accuracy (OpenVINO INT8)

All four optional neural classifiers run via OpenVINO INT8 (CPU, GPU, or NPU, English-only) with pinned SHA-256 manifests. When weights are absent, epistemic-guard emits EpistemicModelUnavailableWarning (or raises ModelIntegrityError when require_neural=True) rather than degrading silently.

ComponentINT8 SizeCPU p50 LatencyHeld-Out ResultKnown Limitations
`web_evidence_int8` + `nli_int8` (corroborate_sources)23.1 MB + 91.1 MB3.0 ms / 9.9 ms`47/64 (73.4%)` burden accuracy & `56/64 (87.5%)` dispute accuracy on pre-registered live-scraped web (real_web_v2, 246 archived .html.gz pages, 3 blinded LLM raters $\kappa = 0.91\text{–}1.00$); 60/64 (93.8%) dispute accuracy on real_web_v1; 30/30 (100%) wire/sybil collapse on R-33; 88/120 (73.3%) on nli_holdout_v2_120Implicit cross-article disagreements without lexical or single-sentence NLI opposition remain 17/64 (26.6%) of open-web cases.
`action_claim_int8` (ReceiptSupervisor)82.7 MB10.9 ms (clause) / 27.4 ms (turn)`236/250 (94.4%)` across 3 held-out sets (91/100 live LLM completions H100, 95/100 BLIND42_COH_100, 50/50 LOCKED_COH_50); 297/300 (99.0%) 10-class speech-act val (99.7% FP16 parity)Code blocks, blockquotes, attributed dialogue, and creative/translation user_prompt contexts are masked automatically; unprompted first-person fiction (user_prompt="") requires user_prompt or [ACTION: verb target] tags.
`hazard_int8` (OpenVINOHazardClassifier)82.7 MB3.2 ms`128/130 (98.5%)` safe tier assignment on multi-clause R-21 (2 blinded LLM raters); 44/50 (88.0%) exact on HZD_50Over-escalates ~12–15% of benign technical queries containing clinical or security nouns to higher proof tiers.
`ProvenanceGate` (Ed25519)0 MB< 0.3 ms`0/100 (0.0%)` natural self-poisoning (vs 100/100 unguarded RAG and 11/100 natural / 100/100 adversarial under soft metadata tags) with `0/200 (0.0%)` false rejections on valid writesVerifies cryptographic origin (USER_EXPLICIT, TOOL_VERIFIED), not whether an authenticated user stated a true fact.

Action-Receipt Benchmark (N=250 Held-Out Turns)

Evaluated across LOCKED_COH_50 (50), BLIND42_COH_100 (100), and Organic_Heldout_H100 (100 live LLM completions; 0 training items; benchmarks/external_baselines_benchmark.json) on Core Ultra 9 275HX + RTX 5080 Laptop GPU:

SystemHardware & MemoryAccuracy ([95% Wilson CI])Recall / FPRTurn p50 LatencyOrganic_Heldout_H100
`epistemic-guard` (`action_claim_int8`)CPU (`0 MiB` VRAM, `82.7 MB` RAM)`236/250 (94.4% [90.8%, 96.6%])`96.7% / 7.8%`27.4 ms``91/100 (91.0%)`
`Mistral-Nemo-Instruct-12B` (`Q5_K_M` Judge)GPU (8,844 MiB VRAM)217/250 (86.8% [82.0%, 90.4%])87.7% / 14.1%77.9 ms84/100 (84.0%)
`Microsoft Phi-4-14B` (`Q6_K` Judge)GPU (12,214 MiB VRAM)216/250 (86.4% [81.6%, 90.1%])`100.0%` / 26.6%75.1 ms79/100 (79.0%)
Off-the-shelf `DeBERTa-v3-xsmall` NLICPU (0 MiB VRAM, 91.1 MB RAM)132/250 (52.8% [46.6%, 58.9%])24.6% / 20.3%27.5 ms51/100 (51.0%)
  • Why off-the-shelf SNLI/MNLI (`52.8%`) misses phantom actions: Standard NLI classifies "Zero tools ran" vs "I saved checklist_backup.md" as NEUTRAL rather than CONTRADICTION on ~75% of phantom action claims.
  • Tradeoff vs local LLM judges: Phi-4-14B reached 100.0% recall (0 false negatives vs 4 for epistemic-guard) at the cost of 12.2 GiB VRAM, 2.7x latency, and a 26.6% false-positive rate on offers and idioms. Cloud frontier judges (GPT-4o, Claude) were not benchmarked here.

Ecosystem Comparison & Disclosures

  • OWASP Top 10 for Agentic Applications (2026) coverage:
  • `ASI02` (Tool Misuse & Phantom Execution): mcp-proxy, @recorder.tool, and ReceiptSupervisor verify assistant prose against signed ToolReceipt logs (executed, ok, error_code) so unexecuted or failed tool calls cannot be reported as completed.
  • `ASI06` (Memory & Context Poisoning): ProvenanceGate and SQLiteProvenanceStore reject unsign

Only the beginning is shown; read the rest in the repo