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

LLM Guardrails Python Packages

Python packages with the GitHub topic llm-guardrails. Sorted by monthly downloads, with stars and forks.
confident-ai
deepteam

DeepTeam is a framework to red team LLMs and AI agents.

108K 3K 514
ninadphalak
llm-shield-proxy

Streaming privacy for LLM apps: pii-leak-benchmark (does your gateway leak PII in streams?), chunk-invariance (one-line test for split-boundary leaks), mcp-ssrf-check, and a self-hosted redacting gateway.

4K 20 5
nseney1
aegis-guardrails

Project rules for AI coding agents. An MCP server gives Claude Code, Codex CLI and Antigravity the rules for the files they are about to edit; AST checks run in a git pre-commit hook and in CI (aegis check). Zero dependencies, Python 3.9+, Apache-2.0.

3K 5 2
nseney1
soma-governance

Project rules for AI coding agents. An MCP server gives Claude Code, Codex CLI and Antigravity the rules for the files they are about to edit; AST checks run in a git pre-commit hook and in CI (aegis check). Zero dependencies, Python 3.9+, Apache-2.0.

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

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

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

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

2K 52 6
tuliplabs-ai
tulip-agents

The agent framework where the model never holds the trigger โ€” every consequential action clears your policy first, waits for a human when it matters, and lands on a record you can verify. Build on it, or put it around the agent you already have.

2K 1 1
92kareeem
sentinel-proof-mcp

Stop RAG hallucinations: deterministic citation and number checking for LLM answers (citebound on PyPI), plus a self-healing agentic RAG platform.

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

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

2K 52 6
92kareeem
sentinel-proof

Stop RAG hallucinations: deterministic citation and number checking for LLM answers (citebound on PyPI), plus a self-healing agentic RAG platform.

2K 2 0
msoedov
agentic-security

Agentic LLM Vulnerability Scanner / AI red teaming kit ๐Ÿงช

1K 2K 322
szl-holdings
szl-guardrail-receipt

Wrap any LLM guardrail (Llama-Guard / NeMo / guardrails-ai / your callable) and emit a signed, hash-chained DSSE decision receipt โ€” aligned with governed-receipt-spec. UNSIGNED-honest fallback; never fabricates a signature, energy joule, or a ฮ› 'proven'.

1K 1 0
0xsl1m
shadowshield

Unified open-source security shield for agentic AI systems โ€” defense-in-depth prompt-injection protection (canary tokens, agent-trace alignment audit, tool-call guarding, PII/secret scanning).

1K 0 1
ninadphalak
pii-leak-benchmark

Streaming privacy for LLM apps: pii-leak-benchmark (does your gateway leak PII in streams?), chunk-invariance (one-line test for split-boundary leaks), mcp-ssrf-check, and a self-hosted redacting gateway.

1K 20 5
e-choness
aegis-gateway-pack-llm-guard

Aegis is an open-source, plugin-first AI gateway framework written in Python. It sits between applications and LLM providers, applying governance rules to every request and response. Demo: https://huggingface.co/spaces/echoness/aegis-server

1K 0 0
e-choness
aegis-gateway-pack-pii

Aegis is an open-source, plugin-first AI gateway framework written in Python. It sits between applications and LLM providers, applying governance rules to every request and response. Demo: https://huggingface.co/spaces/echoness/aegis-server

882 0 0
e-choness
aegis-gateway-pack-classification

Aegis is an open-source, plugin-first AI gateway framework written in Python. It sits between applications and LLM providers, applying governance rules to every request and response. Demo: https://huggingface.co/spaces/echoness/aegis-server

875 0 0
patronus-protect
decision-model-guard

Guardrails for decision models: stop text inside the content from steering classifiers, Jev-like models and LLM judges. LLM Guard for decision models.

869 5 0
e-choness
aegis-gateway-cli

Aegis is an open-source, plugin-first AI gateway framework written in Python. It sits between applications and LLM providers, applying governance rules to every request and response. Demo: https://huggingface.co/spaces/echoness/aegis-server

867 0 0
e-choness
aegis-gateway-core

Aegis is an open-source, plugin-first AI gateway framework written in Python. It sits between applications and LLM providers, applying governance rules to every request and response. Demo: https://huggingface.co/spaces/echoness/aegis-server

846 0 0
e-choness
aegis-gateway-sdk

Aegis is an open-source, plugin-first AI gateway framework written in Python. It sits between applications and LLM providers, applying governance rules to every request and response. Demo: https://huggingface.co/spaces/echoness/aegis-server

823 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology