Governance that runs after deployment is not governance — it is post-mortem. By the time an audit surfaces a control gap in a model already serving customers, the question has shifted from "how do we prevent this" to "how do we explain it to the regulator." The Zytra SDK exists to move that checkpoint into the pipeline, where failures can be caught before they reach production.
The problem with governance as a separate workstream
Most AI governance today runs in parallel to engineering. A model gets developed, validated, and deployed. Then — separately — governance teams document controls, compliance teams map policies, and risk teams update registers. This structure has two predictable failure modes.
First, evidence is reconstructed after the fact. Someone pulls logs, traces validation runs, and writes up a narrative. This takes weeks and is always incomplete. Second, the gap between what was actually tested and what was documented grows with every release cycle. By the time an OCC examiner or RBI inspector asks for an evidence trail, the team is assembling something that was never designed to be assembled.
SR 11-7 is explicit about this. Model risk management requires ongoing monitoring and a documented validation process — not a one-time exercise and not a document created in response to an examination request. "Ongoing" means every deployment, every material change, every material drift event.
Policy-as-code: what it actually means
The SDK lets you express governance policy as code that runs in your CI/CD pipeline. A policy might specify: this model must pass a minimum benchmark threshold before promotion, must be tested against the FinProof Tier 1 calibration set, and must have an assigned risk owner documented in the governance registry.
from zytra import Governance
gov = Governance(tenant="acme-bank")
result = gov.check(
model="loan-assistant:v4",
policy="sr-11-7-high-risk",
)
assert result.passed, result.findings
When the check runs, it does two things simultaneously: it enforces the policy gate (failing the build if requirements aren't met) and it writes a hash-chained evidence record to the signed ledger. The evidence is a by-product of the pipeline, not a separate task.
Evidence as a by-product, not a project
The distinction matters. If evidence collection is a separate project, it competes with engineering time and usually loses. If it is a by-product of a process that already runs — the CI/CD pipeline — it happens on every build with zero marginal effort.
Each SDK check produces a timestamped, hash-chained record: what policy was evaluated, what the model version was, what the result was, and who triggered the check. These records accumulate into an evidence ledger that can be exported in PDF or OSCAL format for regulatory review, or surfaced directly in the Zytra governance dashboard.
What it doesn't do
The SDK doesn't replace human judgment on high-risk decisions. It enforces the policy gates your risk committee has already defined — it doesn't define them. A model that passes every policy check is still subject to the same model risk management oversight your SR 11-7 framework requires. The SDK makes that oversight faster and more evidence-rich, not optional.
It also doesn't replace integration testing or domain-specific validation. Policy compliance and functional correctness are separate checks. The SDK runs alongside your existing test suite, not in place of it.
Getting started
SDK access is available on Professional and Enterprise tiers. Pre-built policy templates exist for SR 11-7, EU AI Act high-risk, RBI 2024 AI Circular, and NIST AI RMF. Custom policies can be expressed in YAML and version-controlled alongside your model code.