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

AI Safety Python Packages

Python packages with the GitHub topic ai-safety. Sorted by monthly downloads, with stars and forks.
vstorm-co
pydantic-ai-shields

Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.

244K 94 11
microsoft
agent-governance-toolkit

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

114K 7K 1K
Tencent
aig-skill-scan

A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.

54K 8K 812
CIRISAI
ciris-verify

Hardware-rooted license verification module for CIRIS ecosystem

47K 2 0
microsoft
agent-governance-toolkit-core

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

45K 7K 1K
microsoft
agent-governance-toolkit-cli

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

28K 7K 1K
microsoft
agent-governance-toolkit-integrations

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

26K 7K 1K
microsoft
agent-governance-toolkit-protocols

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

26K 7K 1K
gautamvarmadatla
mcpsafetywarden

MCP servers expose tools with no information about what they actually do at runtime. mcpsafetywarden sits between your agent and any MCP server, profiling tool behavior, blocking destructive calls, and running active security audits before you trust them in a workflow.

23K 9 2
Sahil170595
quantfit

Quantize an LLM and check it still refuses what it should — a GPU-aware quantization CLI that measures the safety drift of the quantization it just performed.

20K 1 0
microsoft
agent-os-kernel

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

19K 7K 1K
PrismorSec
prismor

Self-hosted runtime control plane for AI agents. Observe or HITL approve or Block rogue tool calls before it executes: secret leaks, prompt injection, supply chain etc in a local dashboard. Agent agnostic (Claude, codex, langchain etc.)

19K 679 73
PrismorSec
immunity-agent

Self-hosted runtime control plane for AI agents. Observe or HITL approve or Block rogue tool calls before it executes: secret leaks, prompt injection, supply chain etc in a local dashboard. Agent agnostic (Claude, codex, langchain etc.)

18K 679 73
b7n0de
proofbundle

Portable evidence for AI work, verifiable offline. Integrity, not truth

17K 3 3
shcherbak-ai
tethered

Runtime network egress control for Python. One function call to restrict which hosts your code can connect to.

15K 11 0
CIRISAI
ciris-agent

CIRIS: an open-source AI assistant with a conscience you can check. Signed, auditable reasoning on every decision, a human-held halt, 29 languages. AGPL-3.0.

15K 58 18
datacrate360
agent-countercheck

Agent Countercheck: proof that AI agents' work really happened. Re-runs your checks in a clean copy the agent can't edit, and writes a sealed receipt.

14K 1 1
sattyamjjain
agent-audit-kit

Static scanner for MCP-connected AI agent pipelines. 562 rules across 14 categories, 14 compliance frameworks, OWASP Agentic 10/10 + MCP 10/10, GitHub Action, SARIF, public CVE-to-rule ledger.

14K 12 1
sunglasses-dev
sunglasses

Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,569 patterns across 117 categories and reports findings and incomplete scans. A Claude Code hook blocks secret material in tool calls and the paths and hosts your policy lists before tools run.

13K 11 3
technickai
heart-centered-prompts

Heart-centered system prompts for AI that foster compassion and interconnection. Multiple versions available with easy integration for Claude, ChatGPT, and Python applications.

12K 8 2
MemTether
memtether

Cross-client memory hub for AI agents — one physical memory, many clients

11K 1 0
batrapulkit
squidbrake

Agents propose. People approve. Change control for AI agents: everyday work runs on its own, anything an agent can't take back waits for a teammate's sign-off, every action on a tamper-evident record. Open source.

11K 19 35
guardana
guardana-core

Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.

11K 232 21
OWASP
agent-memory-guard

Runtime defense against memory poisoning in AI agents (OWASP ASI06). Drop-in for LangChain, OpenAI Agents, AutoGen, CrewAI and mem0.

10K 214 65
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology