Back to profile

Insight · Sovereign AI

Sovereign AI Architecture for Regulated Organizations

A reference architecture for organizations that cannot export their data — six layers, three deployment patterns, one worked example — and where a hybrid setup still makes sense.

Every month I hear the same sentence from banks, ministries and healthcare organizations: “We can’t use AI — our data can’t leave the country.” The instinct is right. The conclusion is wrong.

Sovereign AI is not the absence of cloud. It is an architecture in which the organization decides — and can prove — where its models run, where its data goes, who can access what, and what an AI system did with every input it received. For governments, financial institutions and regulated industries, that control is becoming a critical design requirement. Privacy, data-governance and cross-border transfer requirements in jurisdictions such as Québec, Saudi Arabia and the UAE increasingly require organizations to understand and control where sensitive information is processed. An AI capability that cannot answer those questions will not survive an audit — or a procurement committee.

What “sovereign” actually has to mean

In architecture reviews, I use four testable properties to evaluate whether a sovereign-AI claim is technically meaningful:

  1. Residency. Models and data stay inside a defined boundary — a device, a data center, a private cloud region in the jurisdiction.
  2. Isolation. Inference happens without calls to third-party APIs; the only outbound connections are the ones you designed.
  3. Model governance. Model versions, fine-tuning, prompts, retrieval sources and updates are controlled, traceable and executed within the organization’s authorized environment.
  4. Accountability. Every action is traceable to an input, a model version and a decision — and a human approves where the cost of an error is real.

If a proposal cannot show these four properties on a diagram, I treat the sovereignty claim as unproven — a slogan rather than an architecture.

The reference architecture

Residency boundary
  1. Users & channels
    • Employees, applications
    • SSO, MFA, roles
  2. Enterprise systems
    • ERP, CRM, DMS, identity
    • Systems of record
  3. AI gateway
    • Policy, filtering, redaction
    • Routing, quotas, logging
  4. Private models / RAG
    • Versioned, governed models
    • Retrieval over internal indexes
  5. Data layer
    • Classified, encrypted
    • Vector indexes inside the boundary
Governance & audit
  • Encoded guardrails
  • Audit trail
  • Human approvals
  • Model registry & evaluation
Reference architecture — every request crosses the gateway; governance and audit apply to all layers.

Users and channels

Employees, applications and, sometimes, citizens or customers — always through the organization’s identity provider (SSO, MFA) and role-based access. The AI never has more rights than the person or system asking.

Enterprise systems

ERP, CRM, document management, ticketing, identity governance. These remain the systems of record. AI reads from them and writes back through their own APIs and permissions — never around them. This is the layer that makes agentic workflows safe: an agent acts inside the system, with the system’s controls.

AI gateway

The single door. It authenticates the caller, applies policy (which use cases, which data classes, which models), filters and redacts sensitive content on the way in and on the way out, routes each request to an approved model, enforces quotas and logs everything. Nothing reaches a model without passing through it. This is also where a hybrid strategy becomes safe rather than risky — more on that below.

Private models and RAG

Open-weight or internally adapted models served inside the boundary — on a dedicated machine, an on-premises cluster or a private cloud in the jurisdiction — plus retrieval over internal indexes, so that answers are grounded in the organization’s documents rather than in the model’s memory. Model versions, fine-tuning and prompts are registered and evaluated before any promotion.

Data layer

Classified, encrypted, retention-governed data and the vector indexes derived from it — all inside the residency boundary. Derived data (embeddings, extracted entities, logs) is treated as sensitive as its source.

Governance and audit

Cross-cutting: guardrails encoded in policy (what an agent can never do), full audit trails, human approval points, a model registry with evaluation results, and the evidence pack a regulator or an internal security team will ask for.

Three deployment patterns

Pattern Where it runs Best for Trade-offs
On-device / appliance A dedicated machine inside the network Small, well-defined workloads on highly sensitive data: classification, extraction, detection Limited model size; simple operations; scaling by adding machines
On-premises cluster GPU servers in the organization’s data center Broad internal assistants, RAG at scale, agents over systems of record Capital cost and operations skills; capacity planning
Private cloud in jurisdiction Dedicated tenancy in a sovereign or in-country cloud region Organizations without data-center operations, national programs, elastic demand Contractual and technical verification of residency and access; exit strategy

Choosing between them is an operations decision — skills, cost, scale — not a security one. All three can satisfy the four properties, provided the gateway and the governance layer are in place.

Hybrid without leakage

Sovereign does not have to mean isolated. Most organizations also run workloads with no sensitive data at all — public documentation, marketing content, synthetic test data. The gateway is what makes a hybrid setup safe: data classification decides what may leave the boundary, routing policy decides which model may serve it, and the audit trail proves it afterwards.

The model itself is increasingly a commodity. The differentiated, defensible part of the system is the gateway, the integration with systems of record and the governance around them.

A worked example: personal-information detection under Law 25

For a Canadian professional-services firm and its document management platform, we built exactly this pattern at its smallest scale. The requirement: find personal information — social insurance numbers, health-card numbers, medical conditions, banking identifiers — across thousands of documents, without a single document leaving the client’s environment.

Pattern: on-device / appliance

The component is an autonomous service installed on a dedicated machine inside the client’s network. It reads the platform’s document queue, runs four detectors in parallel — two named-entity-recognition models (CamemBERT for French, a multilingual DistilBERT) compiled to run on the machine’s neural engine, entity dictionaries and 79 pattern rules — reconciles the results in three stages with algorithmic checks (Luhn, RAMQ, MRZ, IBAN), and writes its findings back. It detects 42 categories of personal information.

No cloud, no external API, no LLM. The models are frozen and never trained on client data. The single outbound connection is to the client’s own database. The component is currently under independent security review by the client’s IT team, with a full architecture and code dossier delivered for it.

It is deliberately small. That is the point: sovereignty is a set of verifiable properties, and the simplest architecture that satisfies them is usually the right one.

Before you sign off: a CIO’s checklist

  1. Can we draw the residency boundary and name everything that crosses it?
  2. Does every model call pass through a gateway we control?
  3. Are model versions, fine-tuning, prompts and retrieval sources controlled, traceable and evaluated before promotion?
  4. Is derived data — embeddings, extractions, logs — classified like its source?
  5. Who controls the encryption keys?
  6. Can the infrastructure or model provider access customer data administratively?
  7. Under which jurisdiction and contractual framework does the provider operate?
  8. Do agents act through the permissions of systems of record, never around them?
  9. Which actions require human approval, and is that encoded rather than merely documented?
  10. Can we reproduce, for any output, the input, the model version and the decision path?
  11. Who operates this at 3 a.m.?
  12. Can the organization export its data, prompts, embeddings and model-related assets if it changes provider — and what is the exit strategy for every vendor in the chain?
  13. Has an independent team reviewed the architecture and the code?

Sovereign AI is becoming a critical architecture option for regulated organizations — not because the cloud is bad, but because control, residency and auditability are what allow these organizations to deploy AI at all. Build the gateway and the governance first; the models will keep getting better, and cheaper, on their own.