policy-as-code repositories

Trending repositories tagged policy-as-code, ranked by trending score. Updated daily.

  1. 1
    kyverno/kyverno

    Unified Policy as Code

    GitHub · Go · 8,365 stars · 1,748 forks · +4 stars in 24 hours · Trending score 1.97

  2. 2
    AndrewDryga/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.

    GitHub · Elixir · 481 stars · 26 forks · +7 stars in 24 hours · Trending score 1.97

  3. 3
    octelium/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.

    GitHub · Go · 4,198 stars · 163 forks · +9 stars in 24 hours · Trending score 1.82

  4. 4
    cerbos/cerbos

    Cerbos is an open-core authorization management platform for authorizing every identity and governing every action across applications, gateways, workloads, and AI agents.

    GitHub · Go · 4,665 stars · 221 forks · +2 stars in 24 hours · Trending score 1.10

  5. 5
    sipyourdrink-ltd/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

    GitHub · Python · 1,217 stars · 185 forks · +1 stars in 24 hours · Trending score 1.04

  6. 6
    Juneo-Lab/decision-forge

    Compile organizational policy into verifiable decision training data.

    GitHub · Python · 352 stars · 25 forks · −3 stars in 24 hours · Trending score 0.88

  7. 7
    microsoft/regorus

    Regorus - A fast, lightweight Rego (OPA policy language) interpreter written in Rust.

    GitHub · Rust · 374 stars · 82 forks · 0 stars in 24 hours · Trending score 0.73

  8. 8
    darklordVirtual/REMORA-research

    Policy-Gated Governance for Operational AI Agents

    GitHub · Python · 8 stars · 2 forks · +1 stars in 24 hours · Trending score 0.66

  9. 9
    miniforge-ai/miniforge

    miniforge is an autonomous software development system designed to behave like a factory, not a chatbot

    GitHub · Clojure · 60 stars · 3 forks · 0 stars in 24 hours · Trending score 0.62

  10. 10
    christopherkarani/rv

    Fail-closed policy gate for AI coding agents. Blocks destructive shell commands and secret-file access before they run 95 rule packs, MCP gateway, secrets placeholders, tamper-evident audit. macOS & Linux.

    GitHub · Swift · 8 stars · 0 forks · +1 stars in 24 hours · Trending score 0.56

  11. 11
    gravion-ux/iamosiac

    IAMosaic — offline cloud-IAM policy review and permission-relationship visualization data.

    GitHub · Python · 12 stars · 2 forks · +1 stars in 24 hours · Trending score 0.51

  12. 12
    kptdev/kpt

    Automate Kubernetes Configuration Editing

    GitHub · Go · 1,912 stars · 278 forks · 0 stars in 24 hours · Trending score 0.46

  13. 13
    ThalesGroup/oss-analyzer

    Open Source security and compliance gate for GitLab CI and GitHub Actions: SBOM, dependency vulnerabilities, SAST, secrets, IaC and licenses, under one versioned policy and one verdict. No SaaS, no code sent to a third party.

    GitHub · Python · 13 stars · 0 forks · 0 stars in 24 hours · Trending score 0.42

  14. 14
    chainloop-dev/chainloop

    Agentic SDLC infrastructure. Define guardrails. Collect signals. Enforce continuously. Signed records of what your AI coding agents and CI/CD pipelines did, checked against policies as code, with the loop closed in CI/CD. AI sessions, SBOMs, VEX, SARIF and SLSA provenance, built on Sigstore and in-toto. Apache 2.0.

    GitHub · Go · 615 stars · 66 forks · −1 stars in 24 hours · Trending score 0.39

  15. 15
    affinidi-ai/agent-gateway

    The control layer for agentic AI. A protocol-aware proxy that applies identity, policy, trust and payment controls to A2A, MCP and DIDComm traffic between callers and agents.

    GitHub · Rust · 21 stars · 8 forks · 0 stars in 24 hours · Trending score 0.33

  16. 16
    safedep/vet

    Protect against malicious open source packages 🤖

    GitHub · Go · 1,126 stars · 116 forks · 0 stars in 24 hours · Trending score 0.32

  17. 17
    aws-cloudformation/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

    GitHub · Rust · 1,395 stars · 201 forks · −1 stars in 24 hours · Trending score 0.25

  18. 18
    mondoohq/cnspec

    An open source, cloud-native security to protect everything from build to runtime

    GitHub · Go · 449 stars · 43 forks · −1 stars in 24 hours · Trending score 0.24

  19. 19
    ThreeMoonsLab/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.

    GitHub · Python · 87 stars · 9 forks · 0 stars in 24 hours · Trending score 0.24

  20. 20
    tchellomello/guardbee

    Test NetworkPolicy changes against real cluster traffic before they merge, using Cilium's own policy engine.

    GitHub · TypeScript · 7 stars · 0 forks · 0 stars in 24 hours · Trending score 0.22

  21. 21
    doronp/jevc

    Compile agent policy prose into deterministic verdict programs: narrow evidence questions for the model, the verdict computed in code. Install: npm i -g jev-compiler

    GitHub · TypeScript · 9 stars · 0 forks · 0 stars in 24 hours · Trending score 0.21

  22. 22
    mattrobinsonsre/terrapod

    Self-hosted, open-source platform for OpenTofu, Terraform, Pulumi and Ansible — a Terraform Enterprise and Ansible Tower replacement, with Terragrunt support, OPA policy-as-code and label-based RBAC.

    GitHub · Python · 267 stars · 25 forks · 0 stars in 24 hours · Trending score 0.20

  23. 23
    kubewarden/runtime-enforcer

    A runtime enforcement solution for your Kubernetes cluster

    GitHub · Go · 12 stars · 12 forks · 0 stars in 24 hours · Trending score 0.19

  24. 24
    writer/cerebro

    Cerebro turns security, identity, cloud, SaaS, workflow, policy, and compliance data into evidence-backed context for people, coding agents, and automation.

    GitHub · Go · 16 stars · 5 forks · 0 stars in 24 hours · Trending score 0.10