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

Safety Python Packages

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

NeMo Guardrails is an open-source library for applying programmable safety and security controls to LLM and agentic applications.

459K 8K 917
contextforge-org
cpex

A policy enforcement runtime for AI agents

80K 16 12
sepinetam
stata-mcp

Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design.

14K 285 36
dotdevdotdev
damage-control-dev

Damage control for AI coding agents: a PreToolUse guard that blocks or asks before destructive commands and protected-path writes (Claude Code). A seatbelt, not a sandbox.

9K 2 0
acgs-ai
acgs-lite

Constitutional governance membrane between agent reasoning and side effects. No valid Decision Receipt, no side effect. Apache-2.0, Beta. Not an agent framework.

5K 9 0
simulamet
simpleaudit

Allows to red-team your AI systems through adversarial probing. It is simple, effective, and requires minimal setup.

5K 34 12
viddexa
safetext

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

5K 59 9
twu
skjold

Security audit Python project dependencies against security advisory databases.

5K 67 13
codesbykhairannoor
corvin

A Cognitive Boundary & Grudge-Memory Engine for Sovereign AI Agents. Affective dynamics (EMA) & Game Theory (CTFT).

4K 1 0
liuzuxin
dsrl

🔥 Datasets and env wrappers for offline safe reinforcement learning

4K 141 8
ixchio
ai-agent-vcr

Ctrl+Z for AI coding agents: undo anything Claude Code, Codex, Gemini CLI or Cursor did — even rm -rf. Snapshots, bisect, MCP, Agent CI.

3K 6 1
nasa
fmdtools

System Resilience Modelling, Simulation, and Assessment in Python

2K 61 20
krivonosoff161
agentic-security-harness

Test whether AI agents keep repo text, tools, memory, and audit trails inside their authority boundaries; outputs traces, scorecards, and remediation reports.

2K 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.

2K 25 1
git-afsantos
hpl-specs

High-Level Property Specification Language

1K 3 0
mnemom
agent-integrity-proto

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

1K 9 0
alexar76
aimarket-provenance

15 AIMarket hub plugins — TEE escrow, channels, reputation, safety, and more.

1K 2 0
Medxpert-org
lgd-engine

Five-regime medical-device change gate (510(k), post-market, PCCP, EU MDR, NMPA). 60 rules, each citing its clause or declaring doctrine; 30 pinned cases; 60 assertions and a 20-check external evaluator in public CI. Deterministic, offline, publishes the 9 laws it deliberately does not encode.

1K 0 0
ankitlade12
agentarmor

Local-first runtime controls for Python LLM apps and agents: budget circuit breakers, PII/secrets redaction, tool-call policy checks, rate limits, and audit traces — in 2 lines, no hosted proxy.

1K 3 0
tajamul-wani
git-secret-sentinel

Secret Sentinel is a lightweight local secret scanner for Git repositories. It helps catch hardcoded secrets before they are committed, using built-in pattern checks and entropy-based detection. It is designed to work without requiring a cloud API or environment variables for normal usage.

1K 0 0
ilyautov
schema-mcp-core

Ядро для MCP-серверов из каталога эндпоинтов: поиск методов, классы доступа, HTTP-клиент, хранилище ключей | Core for schema-driven MCP servers: method search, access classes, HTTP client, key storage.

1K 1 0
THU-BPM
markdiffusion

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

928 336 20
Nireus79
socratic-morality

Rule-based governance checks for AI agents, inspired by Socratic philosophy

894 0 0
jimmy058910
jmo-security

JMo Security Audit Suite (terminal-first, multi-tool, unified outputs, multi-target scanning)

795 7 8
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology