PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Hallucination Detection Python Packages

Python packages with the GitHub topic hallucination-detection. Sorted by monthly downloads, with stars and forks.
QWED-AI
qwed

Open-source AI verification infrastructure for deterministic verification of LLM outputs, tool calls, code, schemas, and agent state before production execution.

18K 60 13
lenzhq
lenz-io

Official Python SDK + CLI for the Lenz fact-checking API — extract claims from AI output, assess or verify them, and get sourced verdicts with citations.

15K 0 0
juyterman1000
entroly-core

Cut AI context cost without trusting the compressor. Every reduction is reversible, byte-exact recoverable, and carries an auditable receipt. Local-first, works through proxy, MCP, SDK, or agent wrapper.

10K 474 72
alizahidraja
isnad

Grade every agent, scraper and model in a claim's chain — provenance, trust scoring and audit evidence for LLM pipelines

10K 51 10
juyterman1000
entroly

Cut AI context cost without trusting the compressor. Every reduction is reversible, byte-exact recoverable, and carries an auditable receipt. Local-first, works through proxy, MCP, SDK, or agent wrapper.

5K 474 72
fathom-lab
styxx

Verification for the agent era. Your coding agent's PR summary cannot lie about its diff - one CI line. Plus the research: the first map of which AI minds can read each other. Every claim machine-verified against committed receipts, negatives included. pip install styxx

5K 15 2
groundlens-dev
groundlens

GroundLens is an execution verification runtime for AI systems and agents. It turns observable AI execution into deterministic, policy-governed evidence that can be independently verified.

4K 7 4
krlabsorg
lettucedetect

Span-level grounding verification for RAG, code, and tool-grounded AI outputs.

4K 615 60
2akouwu
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

3K 1K 240
multivon-ai
multivon-eval

Practical LLM evaluation for teams that ship to production. Deterministic + LLM-as-judge evaluators, dataset support, CI/CD integration.

3K 26 0
cvs-health
uqlm

[JMLR 2026] UQLM: A Python package for LLM hallucination detection using uncertainty quantification

2K 1K 135
FixProve
fixprove

Proves AI-generated code before it merges — every import, symbol, and API call verified against your real installed dependencies. Zero LLM tokens.

2K 0 0
ozcinax-star
verinoda

Evidence-first code intelligence for AI coding agents: verified claims with evidence, honest unknowns, a name check for Python and Java (invented APIs, Mixin targets), PDF/Office documents and screenshots in the index. CLI + MCP server. pip/uv/pipx install verinoda, or npx verinoda.

2K 3 0
tjromack
spancheck

Score a grounded-answer system on citation accuracy, abstention correctness, hallucination rate, cost and latency — with an audit log a compliance reviewer can read. Source-available.

2K 0 0
anulum
director-ai

Real-time LLM hallucination guardrail — NLI + RAG fact-checking with opt-in claim-level streaming contradiction halt. Drop-in for any LLM backend.

2K 2 0
ifixai-ai
ifixai

Independent Auditing of AI Agents. Run by human or the agent itself, to answer the most crucial question in the AI Agent Economy. Is the agent doing what is supposed to do? With iFixAi you can have this answer in less than 120 seconds.

2K 24K 1K
uptrain-ai
uptrain

UpTrain is an open-source unified platform to evaluate and improve Generative AI applications. We provide grades for 20+ preconfigured checks (covering language, code, embedding use-cases), perform root cause analysis on failure cases and give insights on how to resolve them.

1K 2K 206
komplexai
halu

Python SDK for Komplex AI — a hallucination detector for LLM output. Score any response for hallucination risk in one call. Includes an MCP server.

1K 0 0
Adarshent
spnda

Zero-cost epistemic uncertainty quantification & hallucination detection for LLMs (90,000x faster than Semantic Entropy)

1K 33 3
MigoXLab
dingo-python

Dingo: A Comprehensive AI Data, Model and Application Quality Evaluation Tool

1K 757 77
myfjin
whypass

A claim-discipline linter for text — catch assertions that outrun their evidence, and claims that contradict your record. Not a lie detector.

1K 1 0
igorsaevets
krokai

Your AI quoted a law. Is the quote real? KrokAI Law checks every quotation in your documents against the actual source text on your own disk, then sends the same question to several models and runs their quotations through the same check. Offline, no API key.

1K 0 0
ProofAgent-ai
proofagent-harness

Open-source test harness for AI agents. Stress-test production agents with adversarial multi-turn scenarios in CI

1K 30 10
mattijsmoens
sovereign-shield

Deterministic AI defense framework: immutable input filtering, n-model cryptographic hash consensus, and self-learning adaptive rules. Zero dependencies. Hardware-sealed.

996 21 6
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology