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

Llm Safety Python Packages

Python packages with the GitHub topic llm-safety. Sorted by monthly downloads, with stars and forks.
NVIDIA-NeMo
nemoguardrails

NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.

536K 7K 866
confident-ai
deepteam

DeepTeam is a framework to red team LLMs and AI agents.

78K 3K 492
sattyamjjain
agent-airlock

A type-checker and contract layer for AI agent tool calls, deny-by-default, in-process, Pydantic-only. Strict argument validation, ghost-argument stripping, and self-healing retries for MCP servers and agent frameworks.

19K 16 4
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
HeadyZhang
agent-audit

Static security scanner for LLM agents β€” prompt injection, MCP config auditing, taint analysis. 51 rules mapped to OWASP Agentic Top 10 (2026). Works with LangChain, CrewAI, AutoGen.

4K 237 28
Chimera-Protocol
csl-core

Find, prove and control the AI agents on your machines: discovers every agent and what it can reach, proves policies with Z3 + TLA+, enforces them deterministically outside the model.

4K 26 13
cvs-health
uqlm

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

2K 1K 135
MyPatric69
agentguard-governance

Governance layer for autonomous AI agents β€” pre-flight checks, runtime monitoring, and post-session reporting.

2K 1 0
QWED-AI
qwed-finance

Deterministic verification layer for AI-generated financial decisions. Verifies math (NPV, IRR, Black-Scholes, YTM, VaR), compliance (AML/KYC via Z3), and banking schemas (ISO 20022, SWIFT) β€” fail-closed, proof-backed. Not execution. Verification.

1K 3 4
QWED-AI
qwed-legal

πŸ›οΈ Deterministic rejection layer for computational legal claims. Verifies dates, amounts, and structured constraints; blocks unproven legal outputs.

763 4 4
h0j5bz0adh0-stack
jev-pilot

Fast System-1 Decision, Arbitration & Safety Engine for Autonomous AI Agents (Powered by TypeSafe Jev)

755 6 0
AetherLabCo
aetherlab

Official Python SDK for AetherLab - AI guardrails, LLM safety, and content moderation API

735 2 0
doofzoff
simurg

Zero-leak online detection of LLM decoding corruption and Free Web Search for your AI agents! Catch repetition loops, language drift and garbage mid-stream, before the user sees a bad token. Works with any OpenAI-compatible API.

632 101 15
binaydhakal
agentbarrier

Deterministic approval, rejection, cancellation, timeout, replay, and side-effect safety tests for AI agentsβ€”no API keys required.

604 2 0
theDoc001
fivedrisk

Per-action AI agent risk scoring and governance. Deterministic 5D scoring, HITL gating, FinOps, Agent Cost Management, Markov drift, audit log. Apache-2.0.

568 2 0
HowieHwong
trustllm

[ICML 2024] TrustLLM: LLM trustworthiness evaluation across truthfulness, safety, fairness, robustness, privacy and ethics. Python/CLI toolkit for local models, compatible APIs and AI agent orchestration.

367 632 68
QWED-AI
qwed-tax

The Verification Gate for AI-Generated Tax Decisions. Deterministic tax verification layer powered by Z3 and Decimal math β€” sits between AI agents and execution systems. Not a calculator, not a filing platform.

361 1 2
zunoworks
gateguard-ai

A fact-forcing hook gate for Claude Code. Makes the AI pause and investigate before editing.

338 8 1
AaditPani-RVU
neurosym-ai

Neuro-symbolic guardrails for LLMs β€” injection detection, harm filters, output guards, streaming safety, and action-plan validation.

336 2 0
flipperspectives-crypto
slimeflow

Python SDK for Slime Flow β€” biomimetic swarm intelligence coordination layer

328 1 0
vpdeva
blackwall-llm-shield-python

Blackwall LLM Shield is an open-source AI security toolkit for JavaScript and Python that protects LLM apps from prompt injection, sensitive data leaks, unsafe tool calls, and hostile RAG content with prompt sanitization, PII masking, output inspection, policy enforcement, and audit trails.

323 1 0
FortifyRoot
fortifyroot-ocelle

The core FortifyRoot LLMOps SDK for Python.

310 0 0
Serhii2009
brix-protocol

Runtime Reliability Infrastructure for LLM Pipelines β€” enforce deterministic rules, measure the Balance Index, and audit every decision.

297 7 0
MoleCare
molecare-privacy-gate

Keep sensitive prompts local: a 1,024-weight head on bge-m3 that catches health data, credentials and PII written as plain English, which regex and entity tools miss. A second gate for LLM routers and guardrails. Not a medical device.

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