AI governance and audit trails
AI governance is how an organization decides which AI systems it may build and use, under what controls, and how it proves those controls work. The policy side belongs to risk, legal and compliance teams. The architecture side is what makes the policy enforceable: an inventory of systems, controlled access to models and data, a record of every consequential output, and the ability to reconstruct a decision months later.
This page covers AI systems your organization builds or runs. For how architects themselves use AI tools safely, see guardrails and governance.
Diagram
Section titled “Diagram”- Every AI system is registered with an owner, purpose and risk tier.
- Systems are reviewed before they are built and when they change, with controls set by risk tier.
- Controls such as approved models and data rules are enforced in shared infrastructure, not left to each team.
- Every consequential call is recorded with the versions that produced it.
- The record answers audits, regulator questions and incident investigations.
The AI system inventory
Section titled “The AI system inventory”You can’t govern what you can’t list. For each AI system record:
- Owner, purpose and users, and the decisions it influences.
- Risk tier, set by impact: an internal search assistant is low; a system that recommends credit decisions is high.
- Models and versions, providers, and where data is processed.
- Data used for training, fine-tuning or retrieval, and its classification.
- Evaluation results, known limitations, and the date of the last review.
Many organizations keep a “model card” or “system card” per system. Make the gateway and deployment pipeline report into the inventory, so it doesn’t depend on teams remembering to update a spreadsheet.
Controls proportional to risk
Section titled “Controls proportional to risk”| Risk tier | Typical controls |
|---|---|
| Low (internal productivity) | Approved tools and models only; no restricted data; basic logging |
| Medium (customer-facing content) | Evaluation before release, output filters, monitoring, incident process |
| High (decisions about people, money or safety) | Formal risk assessment, human oversight, explanation of decisions, full audit trail, periodic independent review |
Enforce the shared controls in infrastructure. A model gateway can restrict which models each system uses, keep restricted data in approved regions, and log every call, without each team implementing it.
The audit trail
Section titled “The audit trail”For any consequential output, you should be able to answer months later: what went in, what produced it, what came out, and who acted on it. Record:
- The request and its context (or a reference to it, where storing it would create privacy risk)
- Versions: model, prompt template, retrieval index, configuration
- The retrieved sources, for RAG systems
- The output, and any automatic check results
- The human decision, reviewer and edits, where there was one
- Timestamps and correlation IDs linking it to the business transaction
Store it append-only, with retention set by regulation and privacy policy, and with access controlled as tightly as the data in it. Test it: pick a decision from three months ago and try to reconstruct it.
Frameworks and regulation
Section titled “Frameworks and regulation”- NIST AI Risk Management Framework (opens in a new tab) (AI RMF 1.0): a voluntary framework organized around Govern, Map, Measure and Manage.
- ISO/IEC 42001:2023 (opens in a new tab): a certifiable standard for an AI management system.
- EU AI Act (opens in a new tab): in force since August 2024, with obligations phased in over several years and the heaviest ones for high-risk systems. Check current dates and whether your systems are in scope.
- Sector rules still apply: model risk management in banking, medical device rules in healthcare, fair lending and anti-discrimination law for credit decisions.
Regulations change quickly; involve your legal and compliance teams rather than relying on a summary.
- Leadership knows what AI the organization runs and where the risk is.
- Audits and regulator questions can be answered with evidence, quickly.
- Incidents can be investigated and their scope measured.
- Inventory, reviews and audit storage take ongoing effort.
- Heavy process for low-risk uses pushes people to unapproved tools. Keep controls proportional.
Common pitfalls
Section titled “Common pitfalls”- Governance as a document with no enforcement in infrastructure.
- Logs without versions, so you know what the system said but not which model or prompt said it.
- Logging everything forever, creating a privacy problem larger than the one governance was meant to solve.
- One process for every risk level, so low-risk tools take months to approve.
Related patterns
Section titled “Related patterns”- Model gateways and routing
- MLOps and LLMOps
- Human-in-the-loop approval
- Guardrails and governance for architects using AI
Further reading
Section titled “Further reading”Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.