lakshmi-chakradhar-vijayarao avatar

Credence — Epistemic Guard

lakshmi-chakradhar-vijayarao/credence-ai

Epistemic guard that hooks into transformer hidden states to classify whether the model is recalling training data, using context, or confabulating. Exposes a probe layer trained on Fisher geometry (AUROC 0.9944 validated on Qwen2.5) that fires before token commitment. Blocks file writes and code commits when confidence drops below threshold. The symbolic layer tracks uncertain values across inference steps, so if a variable assignment gets flagged as confabulation risk, downstream operations using it stay blocked until verification. Reach for this when you're letting an agent write code or modify files and need circuit-breaker semantics tied to the model's actual epistemic state rather than parsing output text for hedging language.

tool
1
transport
STDIO
last updated
May 6, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

credence_constraintsUse credence_constraints to see all pending unverified constraints.

Use credence_constraints to see all pending unverified constraints.

No parameter schema in public metadata yet.

Sponsors

Readme

Credence

AI doesn't remember what it wasn't sure about. Credence does.

PyPI CI Python License: Apache 2.0

pip install credence-guard
credence demo   # 30-second smoke test, no API key required

[mcp] adds the FastMCP server for Claude Code. Core package has zero hard dependencies.


The problem

You say: "The rate limit is probably around 50 — I haven't confirmed it yet."

Fifteen turns later, Claude writes:

RATE_LIMIT = 50   # no warning. no flag. shipped.

The API rejects every request at 2am. The real limit was 10. Claude forgot you weren't sure.


View the full README on GitHub

Details

Repository
github.com/lakshmi-chakradhar-vijayarao/credence-ai
Package
credence-guard
Transport
STDIO
Registry
MCP registry, active