Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Hallucination Mitigation Python Packages

Python packages with the GitHub topic hallucination-mitigation. Sorted by monthly downloads, with stars and forks.
cvs-health
uqlm

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

3K 1K 141
layer1labs
specsmith

Lean governance for AI-assisted development: requirements tracking, test enforcement, epistemic context compression, auditable evidence, Grace local REPL, and coding-agent integrations.

3K 9 1
FastBuilderAI
fastmemory

FastMemory is a topological representation of text data using concepts as the primary input. It helps in improving the RAG(by replacing embedding and vectors entirely), AI memory and LLM queries by upto 100% as in the huggingface benchmarks(22+ SOTA)

2K 57 6
saineshnakra
automated-data-analyst

The math arm for LLMs: compute and check numbers from CSV and Excel data with pandas, SciPy and statsmodels, each with its calculation. Tool calling for Claude, Codex and local models (Ollama, vLLM, llama.cpp, LM Studio), Kaggle-style AutoML with --explain, and paper tables and figures.

1K 36 14
zydo
agent-readable

A lightweight Python protocol for agent-oriented documentation

650 6 0
xiaweiyi713
citationguard

证伪优先的引用核验:论文存在性 / 元数据 / 论点支撑三重检查,可被 Claude Code、Codex、Cursor 以 MCP 调用 · Skeptical citation auditor for agent writing workflows · PyPI: citationguard

501 2 1
zjunlp
deco-mllm

[ICLR 2025] MLLM can see? Dynamic Correction Decoding for Hallucination Mitigation

377 152 15
ProfessionalQwerty
optimcp

Stop shipping hallucinated numbers. OptiMCP verifies your agent's math and logic against your rules — deterministically, with zero LLM in the loop — and names the exact rule that broke.

252 6 0
Kernel-Dirichlet
cotarag

Cognitive Thought and Retrieval Augmented Generation - An advanced AI agent framework combining CoTAEngine and AcceleRAG

192 9 0
Maverick0351a
ais-client

Python client for AI Immune System (AIS): JSON firewall + guarded LLM fallback.

177 1 0
dwehrmann
pairl

PAIRL enforces efficient, cost-trackable communication between agents. It uses dual channels to avoid context errors and hallucinations.

176 6 0
Telsho
extrai-workflow

Structured data extraction with LLM majority vote

174 7 0
Mmorgan-ML
phase-slip-sampler

Phase-Slip is a stochastic intervention architecture that operates on the Key-Value Cache of the model. Phase-Slip gently rotates the semantic vectors of the context window, asking the model: "How would you finish this sentence if you looked at it from a slightly different perspective?"

148 8 0
Maverick0351a
oscillink

Oscillink Lattice — Short-Term Coherence SDK (physics-inspired memory for generative models)

144 15 2
ali1051
anchorcite

Anchor AI-generated claims to the exact supporting sentences in their cited sources, with offsets and entailment scores.

140 3 0
lovettsendit
hedgemony

Find what an AI made up: invented packages, methods and calls, and code that contradicts its own stated examples.

95 4 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology