A model registry tells you which model files exist and which one production loads; it cannot tell you which agents are using them, as whom, or with what access. Many teams already run a model registry for their machine learning lifecycle and assume it doubles as their AI inventory. It does not: a model registry records artefacts, while an agent registry records actors with owners, identities, tools and permissions. This guide explains what each registry is for, where their threat models differ, which fields belong where, how to link the two so an auditor can trace any agent action back to a verified model file, and what to do if you only have one of them today. It extends the AI Agent Registry vs CMDB vs IGA comparison by adding the model registry as a fourth system of record, and is written for AI platform, MLOps, identity and governance teams.
Key takeaways
- Short answer: you need both, joined by a reference. The model registry is the system of record for model artefacts and versions; the agent registry is the system of record for agents as accountable actors. Each agent record points at the model it is approved to use.
- Models are artefacts, agents are identities. A model version is a file set with a digest and lineage; an agent has an owner, a runtime identity, credentials, tools and a scope of action. Different questions, different controls.
- An alias is a pointer, not evidence. Model registries let teams move a mutable alias (such as a champion or production alias) between versions; an agent record should store the resolved version and file digest it was approved against, not only the alias.
- Hosted models are not in your model registry. Agents built on a provider's hosted foundation model never register a file with you, so the agent registry must record provider, model identifier and version string itself.
- Audit evidence lives at the join. The question auditors and incident responders ask is "which agents were running on the compromised or withdrawn model, and what did they do?". Only a linked pair of registries answers it.
What each registry is
Model registry
A model registry is the MLOps system that stores and versions trained models and tracks their promotion towards production. Across the major platforms the core concepts are consistent (platforms are listed alphabetically; the order is not a ranking):
| Platform | Unit and versioning | Promotion and pointers | Lineage and metadata |
|---|---|---|---|
| Amazon SageMaker Model Registry | Model package groups holding model versions | Model approval status gates progression to deployment | Lineage to training data, code and pipeline runs; metrics and SageMaker Model Cards |
| Azure Machine Learning | Registered models identified by name and version; re-registering a name increments the version | Tags for search; lifecycle events published to Azure Event Grid | Job history snapshots code, data and compute; registration captures training experiment and deployment targets |
| Google Cloud Model Registry | Models with multiple versions | Aliases, including a default alias, point at versions | Labels, model evaluation, deployment to endpoints, import of BigQuery ML models |
| MLflow Model Registry | Registered models with incrementing versions | Mutable aliases such as models:/MyModel@champion; key-value tags on models and versions | Each version linked to the run, logged model or notebook that produced it; Markdown annotations |
The common pattern: a named model, numbered immutable versions, mutable pointers or approval states that decide what gets deployed, and lineage back to the training run. The registry's users are data scientists, ML engineers and deployment pipelines. Its security concern is integrity: is the file production loads the file that was evaluated and approved? The If your model registry is compromised playbook covers what happens when that fails.
AI agent registry
An agent registry is the authoritative record of each approved agent as an actor: purpose, accountable owner, autonomy level, runtime identity, credential type and expiry, tools and MCP servers it may call, data classes it touches, risk tier, approval status and links to its AI register entry. Its users are governance teams, identity providers, gateways that admit or refuse agent traffic, and the SOC. Its security concern is authority: is this agent approved, owned and acting within the access it was granted? See the AI agent registry guide for the full data model.
Side-by-side comparison
| Dimension | Model registry | AI agent registry |
|---|---|---|
| Unit of record | Model and model version (a set of files) | Agent definition and deployed instance |
| Nature of the thing | Passive artefact; does nothing until loaded | Active actor; holds credentials and takes actions |
| Question answered | Which model version is approved, where did it come from, which one is deployed? | Which agents exist, who owns them, what can they do and as whom? |
| Primary users | Data scientists, ML engineers, deployment pipelines | AI governance, identity team, gateways, SOC, audit |
| Change trigger | New training run, evaluation, promotion | New agent, new tool, new scope, model change, owner change, retirement |
| Identity content | Who registered or promoted a version | The agent's own workload identity, delegator, credentials and entitlements |
| Core integrity evidence | File digests, signatures, lineage to a training run | Approval record, verified agent card, identity and scope reconciliation |
| Typical blind spot | Hosted foundation models, prompts, tools, who uses a model | Whether the model file behind the agent is the one that was evaluated |
| Enforcement point | Deployment pipelines deploy only approved versions | Credential issuance and gateway admission require an active record |
| Framework anchor | NIST SP 800-53 CM-8, SR-4, SI-7 | NIST AI RMF GOVERN 1.6; SP 800-53 CM-8, AC-2, IA-4 |
Threat model: the model registry
Architecture in words: training jobs register versions; evaluation results and tags are attached; a promotion step (alias move, approval status change or stage change) marks a version for production; serving platforms resolve the pointer and pull the files from an artefact store.
What goes wrong:
- Pointer swap: an identity with promotion rights moves the production alias to an unapproved version. Serving endpoints still request a trusted name.
- Artefact tampering: files are overwritten in object storage outside the registry's audit trail, or a backdoored upstream model enters through import (ATLAS AML.T0010.003 Model Repository, under AML.T0010 Supply Chain Compromise; AML.T0018.000 Poison AI Model).
- Credential concentration: pipeline push tokens, serving pull credentials and storage keys sit around the registry and are often long-lived.
- Lineage gaps: versions registered by hand from a notebook, with no link to a training run or dataset.
Controls: sign models and verify signatures at load (the OpenSSF model signing project, hosted at sigstore/model-transparency, signs an in-toto statement whose subjects are file path and digest pairs, and verification recomputes every file hash); two-person approval for production promotion; read-only, per-environment pull identities; no human write access to the artefact store; deployment manifests that pin a digest. See the Model Signing and OpenSSF Model Signing Guide and the Model registry health check.
Threat model: the agent registry
Architecture in words: an agent is requested and approved; the registry issues an immutable agent ID; identity governance creates the workload identity and credentials with that ID as a correlation attribute; gateways admit the agent's traffic only while its record is active; discovery feeds reconciliation.
What goes wrong:
- Unregistered agents with live access: an agent obtains credentials without a record, so nobody owns it and incident scoping misses it.
- Scope creep: new tools, MCP servers or data sources are attached after approval (ATLAS AML.T0081 Modify AI Agent Configuration describes an attacker doing the same deliberately).
- Silent model change: the builder or provider swaps the underlying model, changing behaviour without any change to the agent's identity or permissions.
- Orphaned credentials: the owner leaves and the agent's OAuth grants and keys remain valid.
Controls: gate credential issuance and gateway admission on an active record, reconcile against discovery, treat model and tool changes as change requests, and cascade retirement to identity revocation. Tool permissions map to ATLAS AML.M0028 Enforce Access Controls for AI Agent Tools.
The two threat models meet at one point: silent model change is invisible to the agent registry unless it records the model reference precisely, and invisible to the model registry because the model registry does not know the agent exists.
Where each field lives
Extending the attribute allocation in the CMDB and IGA comparison, the model registry becomes authoritative for model facts, and the agent registry holds a reference plus the approval context.
| Attribute | Authoritative system | Copied to | Why |
|---|---|---|---|
| Model name, version number, files | Model registry | Agent registry (reference) | Versions are created by training and registration, not by governance |
| File digests and signature verification result | Model registry (or signing service) | Agent registry (approved digest) | The agent record keeps the digest it was approved against, so drift is detectable |
| Training run, dataset references, evaluation reports | Model registry and experiment tracker | AI register (summary) | Lineage is an MLOps fact |
| Promotion state (alias, approval status, stage) | Model registry | None | Changes too often to copy; resolve it at check time |
| Hosted model provider, model identifier, version string | Agent registry | AI register | No file exists in your model registry for a provider-hosted model |
| System prompt and agent configuration version | Agent registry (by reference to source control) | None | Behaviour-defining configuration of the actor, not of the model |
| Agent ID, purpose, owner, autonomy, risk tier | Agent registry | IGA, CMDB | Governance attributes of the actor |
| Workload identity, credentials, entitlements | IGA and identity provider | Agent registry (summary) | Access lifecycle belongs to identity governance |
| Tools and MCP servers approved | Agent registry | Gateways, policy engine | Approved capability of the actor |
| Model consumers (which agents use a version) | Derived from agent registry | Model registry (as a tag or annotation) | Lets ML teams see the blast radius before promoting or withdrawing a version |
Two rules. First, store a resolved version and digest in the agent record, never only an alias such as @champion, because the alias can move without the agent record changing. Second, never copy secrets into either registry; record credential identifiers and expiry only.
Linking the two registries
- Define the model reference format: for self-hosted models, registry URI plus model name, version and primary file digest; for hosted models, provider, model identifier and version string as the provider publishes it; for fine-tuned hosted models, both the base model and the tuned model identifier.
- Require the reference at agent approval: no agent reaches approved status without a model reference that resolves, and for self-hosted models a verified signature or recorded digest.
- Write back the consumer link: when an agent is approved, tag the model version with the agent ID (registries support tags or labels on versions), so the model owner sees which agents depend on it.
- Subscribe to promotion events: use the platform's lifecycle events or poll its API for promotion, approval and archive changes. When a version an agent depends on is superseded, archived or rejected, open a change task on each consuming agent.
- Reconcile at run time: compare what the serving platform actually loaded (digest from the deployment manifest or serving logs) with the agent record's approved digest. A mismatch is drift.
- Record AI-BOM output: where you produce a CycloneDX ML-BOM, which covers models, datasets, their dependencies and dataset provenance, attach it to the model version and reference it from the agent record. See the AI Supply Chain and AI-BOM Guide and AI BOM vs Model Card vs Datasheet.
Audit evidence: what each registry proves
NIST's AI RMF asks at GOVERN 1.6 that "Mechanisms are in place to inventory AI systems and are resourced according to organizational risk priorities", and the Playbook suggests inventory attributes such as documentation, links to source code, incident response plans, data dictionaries and contacts for relevant AI actors. GOVERN 1.7 asks for processes to decommission AI systems safely, including upstream and downstream dependencies and preservation of artefacts for later investigation. Neither registry alone covers this.
| Audit question | Model registry evidence | Agent registry evidence | Joined evidence |
|---|---|---|---|
| Is the AI inventory complete? | All registered models and versions | All approved agents, reconciled against discovery | Agents with no model reference; models with no consumer |
| Was this model evaluated before use? | Evaluation report linked to the version | Approval record naming the version | Approved digest equals evaluated digest |
| Who is accountable? | Model owner, who promoted the version | Agent business and technical owner | Both named for every production agent |
| What changed and who approved it? | Promotion history | Change history for tools, scopes, model reference | Every model change on an agent has a matching change request |
| What was affected by a bad model? | Versions and deployments | Agents, identities, actions logged under each agent ID | Agent actions during the window the bad version was loaded |
| Was retirement safe? | Archived version and preserved artefacts | Retired record, revoked credentials | No active agent still references an archived version |
Worked scenario: withdrawing a model version
A security review finds that version 14 of an internally fine-tuned summarisation model was trained on a dataset that included restricted customer records. It must be withdrawn.
- With only a model registry: the ML team moves the production alias back to version 13. They can see two serving endpoints used version 14. They cannot see that a support agent, a sales-assistant agent and a scheduled reporting agent all called those endpoints, that the reporting agent cached summaries in a shared drive, or who owns any of them.
- With only an agent registry: governance knows the three agents and their owners, but the records say "summariser (champion)", an alias. Nobody can say which agents ran on version 14 or for how long.
- With linked registries: the model version carries consumer tags for all three agent IDs. Each agent record holds the approved digest, and run-time reconciliation logs show when each agent's endpoint switched to version 14. The SOC queries agent activity by agent ID for that window, the reporting agent's outputs are located and purged, owners confirm, and each agent record is updated to version 13's digest through a change request. Under GOVERN 1.7, version 14's artefacts are preserved in a restricted location rather than deleted.
When one is enough, and when you need both
- Model registry alone is enough when: models are used only by deterministic applications (a fraud score in a batch job) and no agent takes autonomous actions with them. The model registry plus the CMDB covers the inventory.
- Agent registry alone is acceptable when: every agent runs on a provider-hosted model and you train nothing. The agent registry must then record provider, model identifier and version string carefully, and track provider deprecation notices.
- Both are needed when: any agent uses a self-hosted or fine-tuned model, or several agents share one model.
- Small organisations: a single register can hold both, provided agent rows and model rows are separate record types joined by reference, and the model rows store digests.
- Large organisations: keep the model registry with the ML platform team, the agent registry with AI governance or identity, and integrate by events and reconciliation, as described in AI Agent Registry vs CMDB vs IGA.
Where identity fits
The model registry has identities around it rather than in it: training pipelines that push versions, serving platforms that pull them, and people who promote. These are high-value non-human identities; scope them per environment and per model namespace, and prefer workload identity federation over long-lived tokens. The agent registry is itself an identity system: each agent should run under its own identity, never a person's credentials or a shared service account. See the Agent Identity and Access Guide.
Detection and measurement
| Metric | What it shows | Target |
|---|---|---|
| Agents with a resolved model reference | Share of active agents whose record holds a version and digest or a hosted model identifier, not just an alias | 100% |
| Model drift events | Loaded digest differs from the agent's approved digest | Zero unexplained |
| Production versions with signatures verified | Self-hosted versions loaded by agents with a verified signature | 100% for high-risk tiers |
| Consumer coverage | Production model versions tagged with every consuming agent ID | 100% |
| Orphan models | Deployed versions with no consuming agent or application on record | Falling each quarter |
Log alias and approval-status changes, artefact store writes and model loads in the model platform, and model reference changes in the agent registry, and correlate on agent ID and digest in the SIEM.
Common failure patterns
- Treating the model registry as the AI inventory: it lists files, not actors, and misses every agent on a hosted model.
- Recording an alias in the agent record: the alias moves, the agent's behaviour changes, and the approval record still looks valid.
- No consumer link: the ML team withdraws or promotes a version without knowing which agents depend on it.
- Prompts and tools forgotten: neither registry versions the system prompt or tool set, although both change behaviour as much as a new model.
- Deleting withdrawn versions: evidence needed for investigation disappears, contrary to the decommissioning practice in GOVERN 1.7.
Framework mapping
| Requirement | Model registry role | Agent registry role |
|---|---|---|
| NIST AI RMF GOVERN 1.6 (inventory) | Model artefacts and lineage | AI systems as deployed agents with owners |
| NIST AI RMF GOVERN 1.7 (decommissioning) | Preserve archived versions | Retire agent, revoke credentials, record dependencies |
| NIST SP 800-53 CM-8 System Component Inventory | Models as components | Agents as components |
| NIST SP 800-53 CM-3 Configuration Change Control | Promotion approvals | Model, tool and scope changes |
| NIST SP 800-53 SR-4 Provenance and SI-7 Integrity | Lineage, digests, signatures | Approved digest reference |
| NIST SP 800-53 AC-2 Account Management and IA-4 Identifier Management | Pipeline and serving identities | Agent identity and immutable agent ID |
| NIST CSF 2.0 ID.AM-02 and ID.AM-08 | Inventory and life cycle of models | Inventory and life cycle of agents |
Practitioner checklist
- Decide the system of record for each attribute: model facts in the model registry, actor facts in the agent registry, access in IGA.
- Define one model reference format covering self-hosted, fine-tuned and provider-hosted models.
- Store resolved version and digest in every agent record; never an alias alone.
- Block agent approval without a resolvable model reference and, for self-hosted models, a verified signature or recorded digest.
- Tag model versions with consuming agent IDs and keep the tags current.
- Subscribe to model promotion and archive events and open change tasks on consuming agents.
- Reconcile loaded digests against approved digests and alert on drift.
- Version system prompts and tool sets alongside the model reference.
- Preserve withdrawn model versions in a restricted location with their lineage.
Standards and references
- NIST: AI RMF Playbook, GOVERN function
- OpenSSF and Sigstore: Model signing (model-transparency)
- CycloneDX: Machine Learning Bill of Materials (ML-BOM)
- AWS: Amazon SageMaker Model Registry
- Microsoft Learn: Azure Machine Learning model management and deployment
- Google Cloud: Model Registry introduction
- MLflow: Model Registry
Related NHI Mgmt Group resources: AI agent registry · AI Agent Registry vs CMDB vs IGA · If your model registry is compromised · AI Register and AI Inventory Template