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

Safety Python Packages

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

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

296K 6K 679
contextforge-org
cpex

A composable enforcement framework for AI agents and toolchains

21K 9 7
twu
skjold

Security audit Python project dependencies against security advisory databases.

8K 67 13
viddexa
safetext

Fast profanity word, curse word, swear word, bad word filtering tool for English, Spanish, Chinese, Turkish and more.

7K 53 8
Harikrishnareddyl
cato-cli-py

Portable sandbox for AI agents and untrusted commands. One config, any process, anywhere.

7K 2 0
dislovelhl
acgs-lite

Constitutional governance infrastructure for AI agents — the missing safety layer between your LLM and production

5K 2 0
shadowauditlabs
shadowaudit

Runtime governance for AI agents — deterministic fail-closed enforcement. Wraps any agent tool and blocks dangerous calls before execution. Zero LLM calls, zero cloud dependencies, works offline.

3K 1 0
kongusen
loom-agent

Python agent framework with AgentHarness: planner → generator ⇄ evaluator loops for long-running tasks—plus sessions, tool/safety policies, and Claude, GPT, or Gemini.

3K 22 1
Kubenew
turboprivate-ai

Private AI / On-Premise AI Infrastructure

3K 1 0
Nireus79
socratic-morality

Constitutional AI governance framework for ethical decision-making in agent systems

3K 0 0
git-afsantos
rigel-hpl

High-Level Property Specification Language

2K 3 0
jimmy058910
jmo-security

JMo Security Suite - Terminal-first security audit toolkit with many tools, multi-target scanning, & compliance

2K 6 6
capfencelabs
capfence

Runtime governance for AI agents — deterministic fail-closed enforcement. Wraps any agent tool and blocks dangerous calls before execution. Zero LLM calls, zero cloud dependencies, works offline.

2K 4 0
mnemom
agent-integrity-proto

Agent Integrity Protocol — real-time thinking block analysis for AI agent alignment

1K 7 0
DeadpxlStudio
model-action-protocol

MAP (Model Action Protocol) — verifiable provenance, self-healing critique, and state rollback for autonomous AI agents

1K 2 1
ankitlade12
agentarmor

The full-stack safety layer for AI agents. Budget limits, prompt injection shields, PII filtering, output firewalls, and hooks — in 2 lines of code.

1K 3 0
git-afsantos
hpl-specs

High-Level Property Specification Language

1K 3 0
halvrenofviryel
phionyx-core

Deterministic AI runtime governance for LLM agents — treating model output as measurement, not authority. Python SDK with 46-block pipeline, signed audit trail, kill switch, ethics gates. PyPI: phionyx-core. AGPL-3.0.

1K 3 3
joemunene-by
ghostloop

The agent loop, embodied. Tool-using runtime + fail-closed safety pipeline + sim-first execution + statistically-rigorous bench harness + post-hoc analysis (counterfactual replay, causal attribution, LLM judge, property mining) for embodied AI. Sister project to GhostLM.

1K 0 0
aryanbhosale
sh-guard

Semantic shell command safety classifier — AST-based risk scoring for AI coding agents

1K 18 2
nasa
fmdtools

System resilience modelling, simulation, and assessment in Python

956 57 16
THU-BPM
markdiffusion

MarkDiffusion: An Open-Source Toolkit for Generative Watermarking of Latent Diffusion Models

939 316 19
camgitt
proofagent

pytest for AI agents — test safety, accuracy, tool use, and cost

931 0 0
FHPythonUtils
simplesecurity

Combine multiple popular python security tools and generate reports or output into different formats

893 11 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery