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

Policy As Code Python Packages

Python packages with the GitHub topic policy-as-code. Sorted by monthly downloads, with stars and forks.
pulumi
pulumi-policy

Pulumi's Policy as Code SDK, CrossGuard. Define infrastructure checks in code to enforce security, compliance, cost, and other practices, enforced at deployment time.

247K 45 11
Rul1an
assay-it

Open evidence profile for MCP tool actions. Enforce configured tool-call policies and record decisions and observations in offline-verifiable bundles. Optional Linux kernel controls. No hosted backend required.

12K 12 3
mcp-hangar
mcp-hangar

MCP policy enforcement plane — deterministic policy on every Model Context Protocol call: identity, RFC 8707 audience binding, tool schema digest pinning, full audit trail. Python, self-hosted, MIT.

9K 18 10
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
lucashgrifoni
oss-policy-kit

Policy-as-code starter kit for OSS repository governance and CI/CD hygiene across GitHub, GitLab, Azure, and AWS.

7K 3 1
shipsolid
repo-policy

Declarative GitHub repository governance — audit, plan, or apply a policy.yml for branch protection, rulesets, and repo-level security settings.

6K 1 0
moneytool
aegis-devops

Aegis: provenance-backed, authority-aware policy verifier that blocks context-poisoned and drifted AI agent actions (kubectl/terraform) before they hit infrastructure

6K 1 0
amiable-dev
stdtel

Telemetry for standards-as-skills — attribute token cost and outcomes to individual skills across Claude Code and GitHub Copilot, so keep/refine/deprecate decisions rest on measurement. Metadata only.

5K 0 0
Chimera-Protocol
csl-core

Find, prove and control the AI agents on your machines: discovers every agent and what it can reach, proves policies with Z3 + TLA+, enforces them deterministically outside the model.

4K 26 13
groundlens-dev
groundlens

GroundLens is an execution verification runtime for AI systems and agents. It turns observable AI execution into deterministic, policy-governed evidence that can be independently verified.

4K 7 4
permitio
opal-common

Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)

3K 6K 301
Reeflex-io
reeflex-claude

A seatbelt for the AI acting on your systems — deterministic, open-source governance gate for AI-agent actions

3K 0 0
permitio
opal-client

Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)

3K 6K 301
watchlight-ai-beacon
watchlight

Watchlight Developer Edition for Agent Runtime Governance - AI Security - AI Agent Security

3K 1 2
lucashgrifoni
appsec-rules-pack

Engine-agnostic AppSec baseline rules pack: a JSON-Schema rule contract, a Python CLI validator, and per-rule OWASP ASVS 5.0 / API Top 10 / CWE / NIST SSDF mappings for security review and CI evidence. Validates and exports rules; it does not execute them.

2K 0 1
getactra
actra

Actra - control what runs before it runs, controls what actions are allowed before they execute. Evaluate policies across APIs, workflows and AI agents in real time.

2K 2 0
BambooGap
skills-orchestrator

Govern, audit, and ship AI-agent skills with policy checks, evidence, SBOM, and MCP.

2K 4 0
permitio
opal-server

Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)

2K 6K 301
yunaremaia
diff-contract

Deterministic guardrails for AI-generated diffs — define what files can change, block violations.

2K 1 4
maida-ai
maida-ai

Pre-merge behavioral regression gate for AI agents. Check agent changes, inspect regressions, and block broken behavior before merge. Local-first.

2K 31 8
Reeflex-io
reeflex-litellm

A seatbelt for the AI acting on your systems — deterministic, open-source governance gate for AI-agent actions

2K 0 0
manav8498
shadow-diff

Behavior contracts for AI agents

2K 9 0
VamsiSudhakaran1
release-gate

🚪 Governance gate for AI agents. Enforce policies before deployment: request contracts, operational safeguards, identity boundaries, action budgets. CLI tool with YAML config, JSON/text output, CI/CD integration.

2K 3 1
Shalimov04
mcp-airlock

Stateless governance proxy for MCP (2026-07-28): policy, dry-run, human confirmation, audit, tracing

2K 18 7
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology