PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Guardrails Python Packages

Python packages with the GitHub topic guardrails. Sorted by relevance, with stars and monthly downloads.
Microsoft
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.

4.7M 8K 1K
Microsoft
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.4M 8K 1K
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.

438K 713 126
BoundaryML
baml-py

The AI framework that adds the engineering to prompt engineering (Python/TS/Ruby/Java/C#/Rust/Go compatible)

413K 8K 415
NVIDIA-NeMo
nemoguardrails

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

263K 6K 666
vstorm-co
pydantic-ai-middleware

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.

146K 59 8
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.

106K 59 8
Microsoft
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.

41K 8K 1K
fathom-lab
styxx

Cognitive observability for LLM agents. Nine calibrated cognometric instruments — pure-Python, MIT, no LLM required. 9-for-9 on K=1 phase transition. Every Mind Leaves Vitals (DOI 10.5281/zenodo.19777921).

29K 5 1
manav8498
shadow-diff

Behavior contracts for AI agents

24K 4 0
microsoft
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.

14K 8K 1K
arthur-ai
arthur-observability-sdk

Make AI work for Everyone - Monitoring and governing for your AI/ML

11K 78 10
deepsense-ai
ragbits-document-search

Building blocks for rapid development of GenAI applications

10K 2K 136
mauhpr
agentlint

Real-time guardrails for AI coding agents. 68 rules across 8 packs covering code quality, security, and infrastructure safety. Inline ignore directives, path exemptions, hook timing, and session summaries.

10K 19 1
deepsense-ai
ragbits-evaluate

Building blocks for rapid development of GenAI applications

10K 2K 136
deepsense-ai
ragbits-core

Building blocks for rapid development of GenAI applications

9K 2K 136
Microsoft
presidio

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.

7K 8K 1K
deepsense-ai
ragbits

Building blocks for rapid development of GenAI applications

7K 2K 136
deepsense-ai
ragbits-cli

Building blocks for rapid development of GenAI applications

7K 2K 136
MaxMLang
pytector

Easy to use LLM Prompt Injection Detection and Prompt Input Sanitization / Detector Python Package with support for local models, API-based safeguards, and LangChain guardrails.

6K 40 23
deepsense-ai
ragbits-guardrails

Building blocks for rapid development of GenAI applications

6K 2K 136
deepsense-ai
ragbits-chat

Building blocks for rapid development of GenAI applications

6K 2K 136
johnnichev
selectools

Production-ready Python framework for AI agents with built-in guardrails, audit logging, cost tracking, and hybrid RAG. Supports OpenAI, Anthropic, Gemini, Ollama. By NichevLabs.

6K 9 1
deepsense-ai
ragbits-agents

Building blocks for rapid development of GenAI applications

5K 2K 136
    • Data from PyPI, GitHub, ClickHouse, and BigQuery