policy-as-code
octelium
A next-gen FOSS self-hosted unified zero trust secure access platform that can operate as a remote access VPN, a ZTNA platform, API/AI/MCP gateway, a PaaS, an ngrok-alternative and a homelab infrastructure.
- 4.2k
- Go
- AGPL-3.0
- 6 h ago
cloudformation-guard
Guard offers a policy-as-code domain-specific language (DSL) to write rules and validate JSON- and YAML-formatted data such as CloudFormation Templates, K8s configurations, and Terraform JSON plans/configurations against those rules. Take this survey to provide feedback about cfn-guard: https://amazonmr.au1.qualtrics.com/jfe/form/SV_bpyzpfoYGGuuUl0
- 1.4k
- Rust
- Apache-2.0
- 2 d ago
bernstein
Open-source AI agent governance. Write the rules declaratively, Bernstein enforces them and produces the verifiable, replayable record. Free, Apache-2.0. https://bernstein.run
- 1.2k
- Python
- Apache-2.0
- 8 h ago
agent-safe-pipeline
Open-source gateway that puts authorization in front of every action your AI agents, workflows and pipelines take, before it commits: payments, trades, price changes, deployments and API calls run once on a single-use grant, wait for a person, or are refused, as Decionis decides, with chained evidence. Homebrew, Linux, Docker, Helm.
- 672
- TypeScript
- Apache-2.0
- 2 d ago
Cambium
Governance standard and reference toolset for LLM-maintained knowledge corpora
- 664
- Python
- 2 mo ago
emisar
Let AI agents investigate and operate infrastructure through declared actions, bounded by policy and host-side checks. Approvals when required, with an audit trail.
- 472
- Elixir
- 1 d ago
regal
Regal is a linter and language server for Rego, bringing your policy development experience to the next level!
- 417
- Go
- Apache-2.0
- 2 d ago
decision-forge
Compile organizational policy into verifiable decision training data.
- 388
- Python
- Apache-2.0
- 5 d ago
govern
Govern: one Decionis verdict before a workflow step runs — a deploy, a migration, an infrastructure change, an agent's action — with a signed Decision Dossier of it. GitHub Actions, GitLab CI, Jenkins; shadow or enforce; no local policy engine.
- 246
- Apache-2.0
- 2 mo ago
purposemesh
Purpose-bound authorization reference: RBAC + ABAC + ReBAC, row/field controls, fidelity gates, lifecycle governance, and a tested 100K synthetic-data path.
- 214
- TypeScript
- Apache-2.0
- 5 d ago
awesome-policy-as-code
A curated list of policy-as-code resources like blogs, videos, and tools to practice on for learning Policy-as-Code.
- 211
- CC0-1.0
- 3 y ago
gitmesh
GitMesh: Policy-as-Code Engine for Open Source AI Agent Orchestration
- 145
- TypeScript
- Apache-2.0
- 2 wk ago
awesome-terraform-compliance
Awesome Terraform Compliance - tools, frameworks, and resources for implementing compliance, security, and governance controls in Terraform and OpenTofu infrastructure.
- 150
- CC0-1.0
- 2 wk ago
vscode-opa
An extension for VS Code which provides support for OPA and the Rego policy language
- 137
- TypeScript
- Apache-2.0
- 4 d ago
preloop
The open-source AI agent control plane and software factory: govern every tool and model call.
- 96
- Python
- Apache-2.0
- 2 d ago
cookstyle
A linting tool that helps you to write better Chef Infra cookbooks and InSpec profiles by detecting and automatically correcting style, syntax, and logic mistakes in your code.
- 113
- Ruby
- Apache-2.0
- 5 d ago
agents-shipgate
The deterministic merge gate for AI-generated agent capability changes — a local-first, static Tool-Use Readiness review for MCP, OpenAPI, and SDK tool surfaces. Open-source CLI + GitHub Action.
- 87
- Python
- Apache-2.0
- 3 d ago
maida
Pre-merge behavioral regression gate for AI agents. Check agent changes, inspect regressions, and block broken behavior before merge. Local-first.
- 32
- Python
- Apache-2.0
- 7 d ago
gnt
Checks every AI agent action against your company's real rules before it runs. Git-native, PR-reviewed.
- 30
- TypeScript
- Apache-2.0
- 12 min ago
opa-springboot
A driver to connect Spring Boot applications to Open Policy Agent (OPA) deployments.
- 26
- Java
- Apache-2.0
- 5 mo ago
rego_policy_libraries
An open library of executable compliance policy in OPA Rego v1: CIS Benchmarks, DISA STIGs, NIST, ISO 27001, SOC 2, PCI DSS, HIPAA, GDPR, EU AI Act, NERC-CIP and APAC regulators, each with a uniform compliance_report entrypoint that fails closed. Apache 2.0. Current size: docs/HOW_BIG.md
- 23
- Open Policy Agent
- Apache-2.0
- 1 d ago
terrascan-rego-editor
Visual Studio Code extension for writing Terrascan Rego policies
- 23
- TypeScript
- Apache-2.0
- 2 y ago
ergo
Define what compliance means in plain data, and get a report of every check that passed or failed. A lightweight library for OPA.
- 22
- Rust
- Apache-2.0
- 22 h ago
zed-rego
Zed extension for the Rego policy language from Open Policy Agent (OPA)
- 22
- Rust
- Apache-2.0
- 7 wk ago
rv
rv blocks destructive shell commands from autonomous agents — 95 rule packs, on-device Laya-model judge, secrets & MCP governance, tamper-evident audit. Fail-closed. Never asks the agent.
- 8
- Swift
- Apache-2.0
- 1 d ago
asqav-compliance
CI/CD compliance scanner for AI agents. EU AI Act, DORA, ISO 42001. GitHub Action for automated compliance checks on every PR.
- 9
- TypeScript
- 8 d ago
agentbreeder
Open-source preview: deploy existing agent containers to local Docker behind a deploy-time identity gate (Entra, Keycloak, Okta, AWS), with Cedar/OPA policy, second-person approval, a kill switch and a hash-chained audit log.
- 4
- Python
- Apache-2.0
- 2 d ago
api-gateway-governance
Policy-as-code framework for governing heterogeneous API gateway estates (Kong, AWS, Envoy). Companion code for IEEE TEMSCON Global 2026 paper. 65 tests. SLSA pipeline. SPIFFE workload identity.
- 4
- Python
- MIT
- 8 wk ago
policybind
PolicyBind is an AI Policy-as-Code platform that enables organizations to govern AI usage through a unified model registry, real-time token-based access control, and automated compliance reporting for frameworks like the EU AI Act and NIST AI RMF.
- 4
- Python
- MIT
- 10 mo ago















