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

Guardrails Python Packages

Python packages with the GitHub topic guardrails. Sorted by monthly downloads, with stars and forks.
data-privacy-stack
presidio-analyzer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

5.3M 11K 1K
data-privacy-stack
presidio-anonymizer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

3.5M 11K 1K
NVIDIA-NeMo
nemoguardrails

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

536K 7K 866
BoundaryML
baml-py

The programming language for agents

466K 9K 496
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.

302K 94 11
data-privacy-stack
presidio-image-redactor

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

88K 11K 1K
data-privacy-stack
presidio-structured

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

87K 11K 1K
datafog
datafog

Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.

47K 77 15
responsibleai
agent-hooks-sdk

Framework-neutral control contract for AI agents: eight interception points, three verdicts, and a conformance kit.

30K 19 4
i-ops-hq
assurance-budget

Your AI agent says it's done. Assurance tells you what it didn't check.

17K 7 2
mauhpr
agentlint

Guardrails for AI coding agents (Claude Code, Codex, Cursor, Gemini, …): blocks dangerous writes and commands before they run.

17K 36 2
i-ops-hq
assurance

Your AI agent says it's done. Assurance tells you what it didn't check.

16K 7 2
2796gaurav
shad0wllm

System 0 for your LLM: learns the fixed-choice answers your LLM gives (intents, routing, moderation) and serves the repeats in microseconds from a small CPU table, at most 5% disagreement, certified. Zero-code proxy for the OpenAI Decisions API, System One and chat models.

15K 0 0
i-ops-hq
assurance-cli

Your AI agent says it's done. Assurance tells you what it didn't check.

15K 7 2
r28ai
charter-ai

Agent tools you declare instead of implement.

14K 2 0
batrapulkit
squidbrake

Brakes for your AI agents: every tool call is checked against your rules, held for human approval when risky, and recorded in a tamper-evident audit trail. Works with Claude Code and any MCP app.

14K 14 15
cuga-project
cuga

CUGA is an open-source generalist agent harness for the enterprise, supporting complex task execution on web and APIs, OpenAPI/MCP integrations, composable architecture, reasoning modes, and policy-aware features.

12K 896 171
i-ops-hq
assurance-mcp

Your AI agent says it's done. Assurance tells you what it didn't check.

11K 7 2
samvardani
guardmeter

GuardMeter — benchmark, compare, and gate AI safety guards. pip install guardmeter

10K 0 0
rapiddweller
archkeel

Archkeel checks architecture boundaries and declared changes in AI-assisted code.

9K 8 1
openlayer-ai
jevals

Agent evals and guardrails as Jev decisions: one request per trace, a fraction of a cent, fast enough for the agent loop. Runs locally with Kev or Laya.

9K 103 10
bhargavamin
contexer

Contexer keeps the important engineering decisions behind your software current and available to every coding agent.

8K 9 0
i-ops-hq
assurance-core

Your AI agent says it's done. Assurance tells you what it didn't check.

8K 7 2
open-coder-ai
chock

Governance-as-code for AI coding agents: author a policy once, enforce it on every agent (Claude, Copilot, Cursor, Codex) via git hooks, CI, and native controls.

8K 9 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology