AI Governance Framework: Guardrails Inside the Pipeline

Paweł Szczepanik
Paweł Szczepanik
September 15, 2026
8 min read
Loading the Elevenlabs Text to Speech AudioNative Player...

An AI governance framework usually spells out what an organization has to control and says little about when each control runs. If the answer is "at a meeting before release," the framework is a queue. If the answer is "on every commit, every model version and every request," it is part of the delivery pipeline and stops costing speed.

There is data on what the meeting costs, though not from AI. DORA's 2019 State of DevOps research surveyed almost 1,000 software delivery professionals: respondents whose organizations required approval from an external body, such as a change advisory board, were 2.6 times more likely to be low performers, and the researchers found no evidence that this approval lowered change fail rates. It is a survey of software delivery in general, not AI, and it shows correlation, not cause. Still, model, prompt and filter settings each change on their own schedule, so a queue in front of an AI release gets more expensive.

What an AI Governance Framework Looks Like Inside a Pipeline

In delivery terms, an AI governance framework is the set of checks every change to an AI system must pass on its way to production, and every request must pass once it is there, each with a named owner, a defined outcome (block, warn or escalate to a human) and a stored record of the result.

Standards such as NIST AI RMF and ISO/IEC 42001 tell an organization what to manage, not which pipeline job runs the check. NIST AI 600-1, the Generative AI Profile from July 2024, points the same way: suggested action GV-1.3-002 is to set minimum performance or assurance thresholds and review them as part of go/no-go deployment approval. That is a pipeline gate under another name.

This article is about governance as a set of controls the delivery pipeline runs on every change: which checks block a release, which only warn, which need a named human, and what evidence each one leaves behind. It does not cover whether the EU AI Act applies to your system and how to classify its risk, it does not cover how to govern data, catalogs and lineage, and it does not explain how to evaluate model quality. Governance is the second building block of the operating model these controls belong to.

Why Review Boards Slow Releases Without Reducing Risk

The same 2019 DORA report, still about software delivery rather than AI, tested whether more approval produces a slower process, larger batches of changes and higher risk, and found that hypothesis "supported in the data." Its advice: peer review during development plus automated detection of bad changes. Respondents with a clear change process were 1.8 times more likely to be elite performers, so predictability helped before anything was automated.

Responsible AI research points the same way. Rakova and colleagues ran 26 semi-structured interviews with practitioners from 19 organizations on 4 continents (CSCW 2021). In this qualitative study the most commonly described practice was reactive: organizations "act only when pushed by external forces," such as media or regulators. Pipeline governance runs on every change instead. A review held once per release cannot keep up with a system whose prompt, model version and filter settings can each change several times between releases.

From Policy to Pipeline Stages: Where Each Control Runs

An AI governance framework becomes executable once every policy line gets a stage, a gate type and a piece of evidence. That is policy as code: responsible AI controls expressed as pipeline steps.

At commit and pull request, peer review provides segregation of duties, with approvals "captured in the team's development platform," as DORA's guidance on streamlining change approval puts it. At deployment, the pipeline ships the tested version and verifies the artifact; NIST SP 800-218A lists cryptographic hashes, digital signatures and multi-party authorization among protections for model weights.

Stage-by-stage documentation predates ML pipelines. Raji and colleagues (FAT* 2020) proposed SMACTR, an internal audit framework in which each of five stages "yields a set of documents." There an audit team writes the documents; in a pipeline, the build does. The table below is our recommendation.

Pipeline stageControlGate typeEvidence left behind
Commit and pull requestPeer review and secret scan; prompts and filter settings reviewed as codeBlockingReview record in the development platform
Data and training inputsOnly approved sources enter trainingBlockingSource list stored with the training run
EvaluationScore checked against an agreed thresholdBlocking (advisory during calibration)Results attached to the model version
Registration and approvalNamed approver where the risk level requires oneHuman, as a pipeline stepApproval status and approver stored with the version
DeploymentOnly the tested version ships; artifact integrity verifiedBlockingArtifact hash and deployment record
RuntimeInput and output filters on every requestBlocking per requestVersioned guardrail configuration and filter logs

Blocking, Advisory, Human: Three Kinds of Gates

Our rule for an AI governance framework that does not slow releases: block only when the check is automated and the threshold was agreed in advance, warn when the signal is useful but still noisy, and ask a human only when the decision needs judgment the pipeline cannot encode.

A blocking gate is a test, a scan or an evaluation threshold. It waits for no one, so it never becomes a queue. An advisory gate posts its result on the pull request while the release continues. New controls should start there and turn blocking once the team trusts the threshold.

A human gate is a pipeline step, not a meeting. In Databricks MLflow 3 deployment jobs, three tasks (evaluation, approval, deployment) "trigger automatically whenever a new model version is created," and approval passes when a privileged user sets a Unity Catalog tag to Approved. In the Amazon SageMaker Model Registry, a version carries one of three approval statuses (PendingManualApproval, Approved, Rejected), and setting Approved "can initiate CI/CD deployment for the model." Either way, the approver judges one version with its results, and the decision stays with the artifact.

Risk level decides which gates are switched on; every system still has gates. A low-risk internal assistant may pass on automated gates alone, while a high-risk system adds a human gate before every promotion.

Runtime Guardrails: Policy That Runs on Every Request

A release gate decides whether a version may ship. A runtime guardrail decides whether a single input or output may pass. A governance program needs both, driven by one pipeline.

The OWASP Top 10 for LLM Applications 2025 names threats these checks address, including LLM01:2025 Prompt Injection, LLM02:2025 Sensitive Information Disclosure and LLM05:2025 Improper Output Handling. In our reading of cloud documentation, filter categories line up closely across providers. Amazon Bedrock Guardrails lists six safeguards, among them denied topics and sensitive information filters. Google Cloud Model Armor screens prompts and responses for injection, jailbreaks and sensitive data, and Azure AI Content Safety offers Prompt Shields and groundedness detection.

A guardrail is also a release artifact. AWS documents that after testing "you can create a version of the guardrail," and that the ApplyGuardrail API works "without invoking the foundation models." A new filter threshold changes system behavior, so the configuration should pass the same stages and ship pinned to the model and prompt it was tested with.

A guardrail judges one request as it is served; following trends over time is monitoring, a different job. For LLM workloads, guardrails and CI/CD gates for production LLMs carry most daily governance work.

Evidence as a Build Artifact, Not an Audit Project

When controls run in the pipeline, evidence is a by-product of the build and an audit becomes a query. The MLflow Model Registry links each version to the run that produced it, "enabling full reproducibility," and treats an alias as a "mutable, named reference," so a promotion is a recorded alias move. SageMaker's registry stores approval status with each version.

Security guidance treats AI components as code. NIST SP 800-218A, published in July 2024, recommends that secure code storage include AI models, model weights, pipelines and reward models, which makes their change history evidence in its own right.

A model card generated from results the evaluation gate already stored cannot drift from production. Organizations building an AI management system to ISO/IEC 42001 need proof that controls operate, and a pipeline produces it on every run. If assembling audit evidence takes weeks, the controls ran somewhere other than the pipeline.

Five Signs Your AI Governance Framework Adds Friction

Frictionless governance can be tested with five questions.

  1. Waiting time: how long does a release wait for a person versus automated checks? People should be waited on only at human gates.
  2. Controls outside the pipeline: does any policy line lack a stage? Each one is a meeting in disguise.
  3. Ungated changes: does a prompt edit or filter change pass the same stages as a new model version? It should.
  4. Evidence on demand: can you pull the evaluation result, approval decision and guardrail version of any production version from the registry, without asking anyone?
  5. New use cases: does the next one inherit gates from the pipeline template or negotiate them from scratch? How those templates become a shared platform is a separate question.

An AI governance framework is only as fast as its slowest gate. At DS Stream we build those gates into delivery pipelines, and our service page describes the AI governance and compliance building block as an "ISO/IEC 42001-aligned AI Management System covering risk tiering, AI-DLC stage gates, per-jurisdiction compliance, and immutable audit trails." If your model releases wait on a committee, talk to our delivery engineers.

Frequently Asked Questions

What is an AI governance framework?

An AI governance framework is the set of controls every change to an AI system passes on its way to production, and every request passes in production, each with an owner, an outcome (block, warn or escalate) and a stored record. Standards such as ISO/IEC 42001 describe what to control; the pipeline decides when.

Does AI governance slow down deployment?

It does not have to. Approval outside the pipeline slows delivery: DORA's 2019 survey of software delivery, not AI, linked formal external approval with being 2.6 times more likely to be a low performer, with no evidence of lower change fail rates. An AI governance framework built from automated gates and human approval as a pipeline step removes the queue.

What is the difference between AI guardrails and release gates?

A release gate decides whether a version may reach production, while a runtime guardrail decides whether one input or output may pass. Both configurations are versioned and move through the same pipeline.

Which AI changes should require human approval?

Changes where the decision needs judgment the pipeline cannot encode, and promotions in systems whose risk level calls for it. The approver reviews a specific version and its evaluation results through a registry approval status, so the decision is stored with the artifact.

Sources

  1. DORA, Accelerate: State of DevOps 2019.
  2. DORA, Streamlining change approval.
  3. NIST, AI 600-1: Generative Artificial Intelligence Profile.
  4. NIST, SP 800-218A: Secure Software Development Practices for Generative AI.
  5. Raji I. D. et al., Closing the AI Accountability Gap, FAT* 2020.
  6. Rakova B. et al., Where Responsible AI meets Reality, CSCW 2021.
  7. OWASP, Top 10 for LLM Applications 2025.
  8. AWS, Amazon Bedrock Guardrails.
  9. AWS, Update the Approval Status of a Model.
  10. Databricks, MLflow 3 deployment jobs.
  11. Google Cloud, Model Armor overview.
  12. Microsoft, What is Azure AI Content Safety?
  13. MLflow, Model Registry.
Share this post
Artificial Intelligence
Paweł Szczepanik
MORE POSTS BY THIS AUTHOR
Paweł Szczepanik

Curious how we can support your business?

TALK TO US