policy-as-code repositories

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

  1. 1
    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 · +106 stars in 24 hours · Trending score 3.16

  2. 2
    kyverno/kyverno

    Unified Policy as Code

    GitHub · Go · 8,364 stars · 1,747 forks · +9 stars in 24 hours · Trending score 2.28

  3. 3
    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 · +6 stars in 24 hours · Trending score 1.51

  4. 4
    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 · +3 stars in 24 hours · Trending score 1.27

  5. 5
    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,664 stars · 221 forks · +3 stars in 24 hours · Trending score 1.22

  6. 6
    Juneo-Lab/decision-forge

    Compile organizational policy into verifiable decision training data.

    GitHub · Python · 388 stars · 37 forks · 0 stars in 24 hours · Trending score 1.19

  7. 7
    microsoft/regorus

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

    GitHub · Rust · 375 stars · 82 forks · +1 stars in 24 hours · Trending score 1.06

  8. 8
    mondoohq/cnspec

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

    GitHub · Go · 449 stars · 42 forks · +1 stars in 24 hours · Trending score 0.68

  9. 9
    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 · 0 stars in 24 hours · Trending score 0.61

  10. 10
    christopherkarani/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.

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

  11. 11
    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 · 0 stars in 24 hours · Trending score 0.47

  12. 12
    kptdev/kpt

    Automate Kubernetes Configuration Editing

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

  13. 13
    preloop/preloop

    The open-source AI agent control plane and software factory: govern every tool and model call.

    GitHub · Python · 95 stars · 24 forks · −1 stars in 24 hours · Trending score 0.38

  14. 14
    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 · 7 forks · 0 stars in 24 hours · Trending score 0.33

  15. 15
    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.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.33

  17. 17
    dvarahq/dvara

    Open-source AI gateway for LLM calls: OpenAI-compatible, 14 providers, policy, PII redaction, guardrails and a tamper-evident audit log.

    GitHub · Java · 9 stars · 0 forks · 0 stars in 24 hours · Trending score 0.30

  18. 18
    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

  19. 19
    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.23

  20. 20
    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.22

  21. 21
    kosli-dev/ergo

    Define what compliance means in plain data, and get a report of every check that passed or failed. A lightweight library for OPA.

    GitHub · Rust · 22 stars · 1 forks · 0 stars in 24 hours · Trending score 0.22

  22. 22
    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.20

  23. 23
    GRCEngClub/claude-grc-engineering

    Open-source GRC toolkit from the GRC Engineering Club. Claude Code plugins for evidence collection, SCF crosswalks, multi-framework gap reports, OSCAL workflows.

    GitHub · JavaScript · 433 stars · 105 forks · 0 stars in 24 hours · Trending score 0.19

  24. 24
    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.10