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

Ai Guardrails Python Packages

Python packages with the GitHub topic ai-guardrails. 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.

302K 94 11
nseney1
soma-governance

Deterministic governance and guardrails for autonomous AI coding agents. Features AST verification, evidence-based rule execution, and native MCP support for Antigravity and Claude Code.

20K 2 1
PyModel
jev-judge-mcp

Typed judgment tools for MCP agents. TypeSafe's Jev model as verify, screen, find, classify, rerank, decide, compare, extract, review, gate, and score: the model judges, policy decides auto, review, or escalate.

6K 72 5
ProvablyAI
sourcerykit

Python SDK for accurate and verifiable agent tool use. Agents verify that answers came from the right source and were not changed. Downstream agents detect 100% of errors and retry to achieve a 50% jump in answer accuracy.

3K 21 1
explainableaixai
aiagentallowlist

AI Agent Allow List API client: page-type verdicts (allow, deny, flag) before an AI agent opens a URL

3K 0 0
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.

2K 95 11
MatthewTracy
yagami

Self-hosted LLM gateway and AI context firewall for PII/PHI containment, prompt-injection defense, and governed agent tools.

1K 1 0
InditexTech
cerbia-cli

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

902 24 4
InditexTech
cerbia

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

891 24 4
Jaycubic
toolboundary

Local runtime security and policy enforcement for AI agents and LLM tool calls, with permissions, guardrails, rate limits, approvals, auditing, and an emergency kill switch.

833 2 5
InditexTech
cerbia-core

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

779 24 4
InditexTech
cerbia-ml

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

770 24 4
InditexTech
cerbia-protectai

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

748 24 4
AetherLabCo
aetherlab

Official Python SDK for AetherLab - AI guardrails, LLM safety, and content moderation API

735 2 0
InditexTech
cerbia-presidio

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

714 24 4
lelu-ai
lelu-agent-auth-sdk

Open source authorization engine for AI agents. Confidence-aware gating · Human-in-the-loop review · Policy-as-code · Full audit trail

660 68 17
arieradle
shekel

LLM budget control and cost governance for AI agents. Python library for token budgets, usage limits and guardrails for OpenAI, Anthropic, LangChain, LangGraph and agentic systems.

461 18 1
bradglenn6
zerolabz-sentinel

Sub-millisecond stateless AI guardrail reverse proxy and inference security middleware. Intercepts prompt injections, jailbreaks, and credential leaks in <0.4ms.

426 1 0
ai-2070
ai2070-l0

L0: The Missing Reliability Substrate for AI. Streaming-first. Reliable. Replayable. Deterministic. Multimodal. Retries. Continuation. Fallbacks (provider & model). Consensus. Parallelization. Guardrails. Atomic event logs. Byte-for-byte replays.

421 4 1
Skull-boy
scyvera

The missing governance layer for AI agents. Declare what your agent can do, what requires human approval, and what it can never do - before it runs. Runtime enforced via scyvera, not just documented.

271 22 6
open-bias
openbias

Open Source policy enforcement proxy: Make your agents follow rules.

141 143 6
open-sentinel
opensentinel

Open Source policy enforcement proxy: Make your agents follow rules.

127 143 6
VictorVVedtion
ouro-loop

Give AI coding agents (Claude Code, Cursor, Aider, Codex) a structured autonomous loop with guardrails — boundaries, 5 verification gates, 3-layer self-reflection, and autonomous remediation. pip install ouro-loop. Zero dependencies.

92 19 5
ai-2070
reliable-ai-streams-py

L0: The Missing Reliability Substrate for AI. Streaming-first. Reliable. Replayable. Deterministic. Multimodal. Retries. Continuation. Fallbacks (provider & model). Consensus. Parallelization. Guardrails. Atomic event logs. Byte-for-byte replays.

71 3 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology