
Sovereign AI
AI Governance Policies for Teams That Run Their Own Models
A policy that leans on a vendor DPA and SOC 2 report has nothing behind it once you serve the model. The clauses for pinning, logs and exceptions.
A governance committee can approve an AI policy document in an afternoon. The hard part starts the next morning, on the GPU nodes, when somebody has to decide what the sentence "approved models only" means for a vLLM pod that loads whatever the main branch of a model repository happens to contain today.
Policy language lifted from a SaaS vendor's trust page, or from a template built for consumption, was written for a different reader: an organisation that consumes AI through somebody else's API. That reader can discharge a hard clause by pointing at the vendor. A team running its own inference cannot, and the clauses that relied on the vendor do not fail loudly; they just stop being backed by anything. Below: which clauses go empty, the shape a replacement needs, and four clauses in full.
What the templates in search results are written for
One widely circulated shape of AI governance policy is the employee-use policy. It lists approved tools, says what data staff may paste into a chat window and requires human review of output. That is a legitimate document. It governs consumption: people in the organisation using models that someone else operates.
It also maps onto real obligations. The EU AI Act's Article 4, in its amended form on the Commission's AI Act Service Desk, says "Providers and deployers of AI systems shall take measures to support the development of AI literacy of their staff and other persons dealing with the operation and use of AI systems on their behalf…" and adds that the obligation "does not require providers or deployers to guarantee any specific level of AI literacy of any individual." Measures, not a guaranteed outcome — an employee-use policy plus training is a reasonable way to show them.
The NIST AI Risk Management Framework asks for something broader. GOVERN 1.4 reads: "The risk management process and its outcomes are established through transparent policies, procedures, and other controls based on organizational risk priorities." GOVERN 1.2 wants the characteristics of trustworthy AI "integrated into organizational policies, processes, procedures, and practices." "Other controls" and "practices" matter: the policy document is one layer in a stack that has to reach something that operates.
For a consumer, the operating layer belongs to the vendor. For a team serving its own models it belongs to the team, and an employee-use template has no clauses for it.
Clauses that go empty when you serve the model
Read a policy written for SaaS consumption as the operator. This is this article's analysis of a template pattern, not a survey: any clause that discharges an obligation by pointing at the model vendor loses its referent once there is no model vendor.
- "Personal data is processed under the vendor's data processing agreement." GDPR Article 28(3) opens: "Processing by a processor shall be governed by a contract or other legal act under Union or Member State law, that is binding on the processor with regard to the controller and that sets out the subject-matter and duration of the processing…" A DPA is that contract. Serve the model yourself and no processor handles the prompts at the model layer; the obligations the DPA placed on someone else are now your own operational controls.
- "The vendor maintains a SOC 2 report." A SOC 2 report attests to the vendor's controls. It says nothing about yours, and you have no vendor at the inference layer to hold one.
- "The vendor retains prompts for N days and does not train on customer data." Retention is now a setting on a log store you run; training is a question about your own fine-tuning pipelines.
- "The vendor notifies us of security incidents." You would have sent that notice. The clause becomes an internal incident path.
- "The vendor announces model deprecations in advance." Nobody announces anything. A model changes when an engineer edits a reference, or when an unpinned one moves underneath the deployment.
One qualification: self-hosting does not remove every vendor. Cloud, colocation, GPU and support providers may still supply DPAs and SOC 2 reports for the infrastructure layer, and those remain useful evidence. The gap is at the model and inference layer, which is what the template's AI clauses were about. The data processing agreement walkthrough treats the infrastructure-layer contracts in detail.
A worked rewrite. The inherited clause: "Prompts are retained by the provider for no longer than 30 days." As the operator, ask four questions. What enforces this? A retention setting on a specific log stream. What proves it? The setting, and a sample showing nothing older survives. Who owns it? A named role, not "IT". What happens when an endpoint cannot comply? An exception entry with an end date. The rewritten clause states the decision, then points at all four.
The shape of a clause that can be enforced
Every clause in an operator's policy needs the same five fields. Drop one and the clause becomes an aspiration.
- Statement — the decision, in one or two sentences a non-engineer can read.
- Enforcement point — the specific configuration, flag, gate or process step where the decision is made true or false.
- Evidence — what that enforcement point leaves behind that a third party can inspect.
- Owner — a named role accountable for the clause. NIST's GOVERN 2.1 asks that "Roles and responsibilities and lines of communication related to mapping, measuring, and managing AI risks are documented and are clear to individuals and teams throughout the organization." A clause with no owner fails that test on its face.
- Exception path — where a justified deviation goes, so that deviations are recorded rather than improvised.
The register below is a complete policy in that shape: plain YAML, not a Kubernetes object, read by people, a review job and an auditor. Owners are roles so the file survives turnover; the review frequency sits at the top because NIST's GOVERN 1.5 asks for "determining the frequency of periodic review." Each clause's exceptions field points at the one exception_register list at the bottom.
# policy-register.yaml — the AI governance policy, as data.
# Every clause carries the same five fields. Owners are roles, not people.
version: 3
approved_by: ai-risk-committee
approved_on: "2026-11-20"
review_frequency: quarterly
clauses:
- id: AIGP-01
statement: Weights are pinned to a full-length commit id; images by digest.
enforcement_point: Endpoint launch arguments and the deployment manifest.
evidence: [manifest in git, approved merge request per change]
owner: platform-lead
exceptions: exception_register
- id: AIGP-02
statement: >-
Every endpoint emits request records. Prompt bodies are not kept
without an approved use case. Retention is set per endpoint here.
enforcement_point: Request-logging flags; log store retention per stream.
evidence: [endpoint config, retention setting, sample of records]
owner: data-protection-officer
exceptions: exception_register
- id: AIGP-03
statement: >-
An inference path without request records is registered with an
owner, a compensating control and an expiry before it serves traffic.
enforcement_point: exception_register, checked by a scheduled job.
evidence: [git history of exception_register, expiry-check output]
owner: ai-risk-lead
exceptions: none
- id: AIGP-04
statement: >-
Endpoint users are bound by the upstream model's acceptable use
policy, acknowledged at access and re-read on every model change.
enforcement_point: Access request; model change review.
evidence: [acknowledgements per endpoint, model change records]
owner: legal-counsel
exceptions: exception_register
exception_register:
- id: EXC-0007
clause: AIGP-02
path: Ollama on a single-user workstation, 127.0.0.1:11434
owner: research-engineering-lead
compensating_control: Synthetic data only; weekly /api/tags digest check
approved_by: ai-risk-lead
expires: "2026-12-15"
- id: EXC-0008
clause: AIGP-02
path: Nightly batch evaluation calling vLLM directly
owner: ml-platform-lead
compensating_control: Job writes a per-run manifest of inputs and outputs
approved_by: ai-risk-lead
expires: "2026-11-30"
AIGP-03 lists exceptions: none deliberately: a stale register is a finding, not a deviation.
Clause one: model versions are pinned at the endpoint
The pinning clause replaces the vendor's deprecation notice. It rests on two facts. vLLM's engine arguments describe --revision as "The specific model version to use. It can be a branch name, a tag name, or a commit id. If unspecified, will use the default version." The Hugging Face Hub download guide says that by default "the latest version from the main branch is downloaded", and that a commit hash "must be the full-length hash instead of a 7-character commit hash." A branch or tag can move. Only the full commit id pins weights.
The serving image has the same property. The Kubernetes images documentation is direct: "Digests are hashes of the image's content, and are immutable. Tags can be moved to point to different images, but digests are fixed." So the clause names both values, and the evidence is the manifest that carries them:
# excerpt: container spec only — values are illustrative
containers:
- name: vllm
image: vllm/vllm-openai@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
command: ["vllm", "serve"]
args:
- meta-llama/Llama-3.3-70B-Instruct
- --revision
- 0123456789abcdef0123456789abcdef01234567
The clause stops there on purpose. Served names, resolving what is resident on a node and diffing it against a declared inventory are covered in AI governance best practices: inventory what is running. Who holds the keys to the admission gate that enforces a change is the subject of who owns the model-swap gate.
Clause two: which inference paths are logged, and for how long
The logging clause replaces the vendor's retention promise, and it is a decision, not a default. At the time of writing, vLLM's request logging defaults to off; when enabled it records request IDs and parameters at INFO and prompt inputs only at DEBUG, and request bodies have their own separate log-level setting. The AI governance frameworks article walks through those flags. The policy needs to settle three things the flags cannot.
- Required level. Every governed endpoint emits request records. Whether prompt text is captured is a separate, explicit choice, because prompts are where personal data lives.
- Where prompt bodies are not kept. Say so in the clause. A log pipeline that happens to run at DEBUG is a retention decision nobody made.
- Who sets retention. A named owner, because the period is a reconciliation, not a constant.
For deployers of high-risk systems, Article 26(6) requires keeping automatically generated logs under their control "for a period appropriate to the intended purpose of the high-risk AI system, of at least six months, unless provided otherwise in applicable Union or national law, in particular in Union law on the protection of personal data." The floor binds high-risk deployers only; after the 2026 amendments, Article 113 applies the high-risk chapters, Article 26 included, from 2 December 2027 for Annex III systems and 2 August 2028 for Annex I. And the same sentence defers to data-protection law, which pushes the other way. The EU AI Act deployer summary covers scope; the records retention article covers proving disposal happened.
Clause three: the exception register for paths that skip the log
A logging clause that claims full coverage tends to be wrong on the day it is approved, because some inference paths never pass the logged endpoint. Three recur:
- A local Ollama instance. Ollama's FAQ says it "binds 127.0.0.1 port 11434 by default" and that
OLLAMA_HOSTchanges the bind address; its authentication page says "The local API athttp://localhost:11434does not require authentication." Loopback-only is a reasonable default for a workstation. PointOLLAMA_HOSTat a routable address and the same unauthenticated API is reachable from the network, outside every gateway. - An engine started without request logging. Logging is off by default, so a pod launched without the flag is silent.
- Batch jobs that call the engine directly, skipping the gateway where request IDs and logging are applied.
Finding these is an inventory problem, and the inventory article's discovery sweep does it; NIST's GOVERN 1.6 asks for exactly such "Mechanisms… to inventory AI systems". The policy's job begins once a path is found: either route it through a logged endpoint or record why it cannot be, yet.
Each entry in exception_register carries the path, the clause it deviates from, an owner, a compensating control, an approver and an expiry date. The compensating control should be checkable. For the Ollama entry it is synthetic data only plus a weekly comparison of the digest field that Ollama's `/api/tags` reports — a "SHA256 digest identifier of the model contents" — against the model register. That comparison detects a model changing; it does not make Ollama serve by digest.
Expiry makes the register a control, not a list. The script below prints every entry expired or due within a window and exits non-zero on any expired entry, so a scheduled job fails visibly. It is read-only and makes no network calls.
#!/usr/bin/env bash
# check-exceptions.sh — read-only. Flags exception_register entries that
# have expired or expire within the warning window. Needs yq v4 and GNU date.
# Usage: ./check-exceptions.sh [policy-register.yaml] [window-days]
set -euo pipefail
register="${1:-policy-register.yaml}"
window_days="${2:-14}"
if [[ ! -r "${register}" ]]; then
echo "cannot read ${register}" >&2
exit 2
fi
today="$(date -u +%Y-%m-%d)"
horizon="$(date -u -d "${today} + ${window_days} days" +%Y-%m-%d)"
entries="$(yq '.exception_register // [] | .[] | [.id, .owner, .expires, .compensating_control] | @tsv' "${register}")"
expired=0
while IFS=$'\t' read -r id owner expires control; do
[[ -z "${id}" ]] && continue
if [[ "${expires}" < "${today}" ]]; then
status="EXPIRED"
expired=$((expired + 1))
elif [[ ! "${expires}" > "${horizon}" ]]; then
status="DUE"
else
continue
fi
printf '%-8s %s expires=%s owner=%s\n control: %s\n' \
"${status}" "${id}" "${expires}" "${owner}" "${control}"
done <<< "${entries}"
if (( expired > 0 )); then
echo "${expired} expired exception(s): close or re-approve before the next review" >&2
exit 1
fi
Dates are quoted so they stay ISO strings, which plain string comparison orders correctly. What happens at expiry is policy, not script: at each review, every flagged entry is either closed, with the path routed through a logged endpoint and the entry removed in git, or renewed with fresh approval, a new expiry and a re-checked control. Nothing rolls over by default. Exceptions to an admission policy belong to whoever owns that gate, not to this register.
Clause four: upstream licence terms flow down
The last clause has no SaaS equivalent, because a SaaS vendor absorbs it. Some open-weight licences carry acceptable-use terms that bind whoever uses the model — including colleagues calling an endpoint you run.
Take Llama 3.3 as one example. Its licence says use of the Llama Materials must "adhere to the Acceptable Use Policy for the Llama Materials… which is hereby incorporated by reference into this Agreement." The Acceptable Use Policy opens: "If you access or use Llama 3.3, you agree to this Acceptable Use Policy", and its prohibitions are framed as "You agree you will not use, or allow others to use, Llama 3.3 to:" — followed by the prohibited purposes.
NIST frames the same concern from the risk side. GOVERN 6.1 asks for "Policies and procedures… that address AI risks associated with third-party entities, including risks of infringement of a third-party's intellectual property or other rights"; GOVERN 6.2 for "Contingency processes… to handle failures or incidents in third-party data or AI systems deemed to be high-risk." An upstream model is a third-party AI system even when every weight sits on your own disks.
AIGP-04 makes it concrete: users see and acknowledge the upstream AUP when they request access to an endpoint, and the model change review re-reads the licence and AUP whenever an endpoint's model changes, recording the version reviewed. A model swap is a policy event, not only a deployment. Redistribution obligations — passing licence copies on when you ship weights — are a separate question, covered in the inventory article's licence fields.
What the auditor is shown, and the exit ramp
Because every clause names its evidence, an audit becomes a walk through the register rather than an interview: manifests and merge requests for AIGP-01, endpoint configuration, retention settings and a record sample for AIGP-02, the register's git history and expiry-check output for AIGP-03, acknowledgements and model change records for AIGP-04.
The register is also the exit ramp. A policy inside a governance platform's database is portable only as far as its export. A YAML file in git is diffable, signable and readable by any tool a decade from now. When a SOC 2 auditor, an ISO/IEC 42001 certification body or an AI Act assessment asks for the same evidence in a different template, the mapping is a new view over the same file, not a rewrite. The SOC 2 evidence article shows that pattern for infrastructure controls; the vLLM versus Ollama comparison covers the serving choices these clauses sit on top of.
The long game
Committees get renamed. Frameworks get amended — the AI Act's own application dates moved during 2026. Models behind an endpoint get swapped. A clause that names a mechanism, the evidence it leaves and an accountable role survives all three, because each of those can be checked by someone who was not in the room when the policy was approved. A clause that names a vendor's promise survives only as long as the vendor relationship it described — and for a team that serves its own models, that relationship ended the day the first pod started.
§FAQ/Common questions
Frequently asked
What should AI governance policies include for self-hosted models?
At minimum, four operator clauses that a consumption-focused template lacks: model versions pinned at the serving endpoint (weights to a full-length commit id, the serving image by digest); a logging decision covering which request data is recorded, where prompt bodies are not kept, and who sets retention; an exception register for inference paths that skip the log, with owners, compensating controls and expiry dates; and flow-down of the upstream model's acceptable-use policy to internal users. Each clause should name its statement, enforcement point, evidence, owner and exception path.
Can I reuse a SaaS AI acceptable use policy template?
For employee use of external tools, largely yes. For a model you serve, any clause that points at the vendor — its data processing agreement, its SOC 2 report, its retention or no-training promise, its deprecation notices — loses its referent at the model layer. Infrastructure providers may still supply their own DPAs and SOC 2 reports, but the AI-specific clauses have to be rewritten as controls you operate.
How long must inference logs be kept?
There is no single universal figure. Under EU AI Act Article 26(6), deployers of high-risk AI systems keep logs under their control for a period appropriate to the intended purpose and of at least six months, unless Union or national law — in particular data-protection law — provides otherwise. After the 2026 amendments, that obligation applies from 2 December 2027 for Annex III systems and 2 August 2028 for Annex I systems. For systems outside that scope, retention is a decision the policy's named owner makes and records.
What is an exception register in an AI governance policy?
A list, kept alongside the policy, of known deviations — here, inference paths that do not emit request records, such as a local Ollama instance or a batch job that bypasses the gateway. Each entry names the clause it deviates from, an owner, a compensating control, an approver and an expiry date. A scheduled check flags expired entries, and at each review every flagged entry is either closed or renewed with fresh approval.
Does an open-weight model licence affect my internal AI policy?
It can. The Llama 3.3 licence incorporates Meta's Acceptable Use Policy by reference, and that policy binds anyone who accesses or uses the model, including an agreement not to use or allow others to use it for prohibited purposes. An operator exposing such an endpoint internally should carry those prohibitions to its users and re-check them whenever the model changes. Other model families have different terms, so read the licence of the model you actually serve.
Further reading
- AI Governance Frameworks: What to Build, Not Which to Pick
- AI Governance Best Practices: Inventory What Is Running
- AI Governance Models: Who Owns the Model-Swap Gate
- EU AI Act Summary: What Actually Binds a Deployer
- The Data Processing Agreement Is an Architecture Decision
- Records Retention Policy: Delete the Data or Destroy the Key
- vLLM vs Ollama: Run Both, and Draw the Concurrency Line
- SOC 2 on Self-Hosted Kubernetes: Own the Evidence
Executive Briefing
Thirty minutes to clarify your infrastructure risk
Walk us through your vendor footprint and regulatory constraints. We will tell you honestly where sovereignty creates leverage — and where it does not. No pitch deck. No obligation.