Epistemic Guard: Out-of-process MCP receipt proxy, post-turn text supervision, and provenance-gated memory for tool-using autonomous agentsEpistemic Guard: Out-of-Process MCP Receipt Proxying, Post-Turn Prose Supervision, and Provenance-Gated Memory for Tool-Using Autonomous Agents
The paper proposes epistemic-guard (v0.5.2), an open-source Python library and out-of-process stdio MCP receipt proxy, targeting three types of runtime verification gaps in MCP agents: textual narration after tool calls failing or side effects not being executed, unverified text mixing into persistent memory, and mirrored web pages causing a single source to satisfy multi-source corroboration. The system isolates Ed25519 signing keys out of process and writes an RFC 6962 Merkle log, uses an OpenVINO INT8 encoder on CPU to check post-turn text, gates SQLite writes by 7 source domains, and does not occupy GPU memory. On N=250 frozen benchmark trajectories it achieves 93.2% accuracy and 17.9 ms warm-start median CPU latency, 6.4-6.8 percentage points higher than 12B-14B GPU judges with 4.26-4.5 times lower latency; consistency tests reject all 200 tampered receipts and block all 100 unauthorized memory writes.